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

Public Member Functions

 FilterPath (String name)
 
- 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

Definition at line 30 of file FilterPath.java.

Constructor & Destructor Documentation

◆ FilterPath()

org.turro.zkoss.filter.FilterPath.FilterPath ( String  name)

Definition at line 34 of file FilterPath.java.

34  {
35  super("/filters/filter[@name='" + name + "']/fields");
36  this.name = name;
37  }

Member Function Documentation

◆ createNode()

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

Reimplemented from org.turro.configuration.Path.

Definition at line 40 of file FilterPath.java.

40  {
41  Element el = null;
42  if(index == 0) {
43  el = new Element("filters");
44  } else if(index == 1) {
45  el = new Element("filter");
46  el.setAttribute("name", name);
47  } else if(index == 2) {
48  el = new Element("fields");
49  }
50  if(el != null) {
51  root.addContent(el);
52  }
53  return el;
54  }

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