BrightSide Workbench Full Report + Source Code
org.turro.zkoss.filter.FilterNamePath Class Reference
Inheritance diagram for org.turro.zkoss.filter.FilterNamePath:
Collaboration diagram for org.turro.zkoss.filter.FilterNamePath:

Public Member Functions

 FilterNamePath ()
 
void delFilter (String name) throws JDOMException
 
- Public Member Functions inherited from org.turro.configuration.Path
 Path (String path)
 
 Path (String[] nodes)
 
Document getDoc ()
 
void setDoc (Document doc)
 
Element getNode (boolean create) throws JDOMException
 
void delNode (String path) throws JDOMException
 
List< String > getChildrenValue (String element, String name) throws JDOMException
 
List< String[]> getChildrenValues (String element, String names[]) throws JDOMException
 
String getNodeValue (String name) throws JDOMException
 
String[] getNodeValues (String names[]) throws JDOMException
 
void setChildrenValue (String element, String name, List< String > values) throws JDOMException
 
void setChildrenValues (String element, String names[], List< String[]> values) throws JDOMException
 
void setNodeValue (String name, String value) throws JDOMException
 
void setNodeValues (String names[], String[] values) throws JDOMException
 

Protected Member Functions

Element createNode (Element root, String path, int index)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.configuration.Path
String nodes []
 
Document doc
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file FilterNamePath.java.

Constructor & Destructor Documentation

◆ FilterNamePath()

org.turro.zkoss.filter.FilterNamePath.FilterNamePath ( )

Definition at line 30 of file FilterNamePath.java.

30  {
31  super("/filters");
32  }

Member Function Documentation

◆ createNode()

Element org.turro.zkoss.filter.FilterNamePath.createNode ( Element  root,
String  path,
int  index 
)
protected

Reimplemented from org.turro.configuration.Path.

Definition at line 39 of file FilterNamePath.java.

39  {
40  Element el = null;
41  if(index == 0) {
42  el = new Element("filters");
43  }
44  if(el != null) {
45  root.addContent(el);
46  }
47  return el;
48  }

◆ delFilter()

void org.turro.zkoss.filter.FilterNamePath.delFilter ( String  name) throws JDOMException

Definition at line 34 of file FilterNamePath.java.

34  {
35  delNode("filters/filter[@name='" + name + "']");
36  }
void delNode(String path)
Definition: Path.java:72
Here is the call graph for this function:

The documentation for this class was generated from the following file: