| org.pnuts.lib.AggregateConfiguration pnuts.xml.XMLConfiguration
All known Subclasses: pnuts.xml.NodeEditingConfiguration,
XMLConfiguration | public class XMLConfiguration extends AggregateConfiguration (Code) | | This class provides an easier way to access NodeList.
(1) Index access to NodeList.
e.g. nodeList[i]
(2) Iterate NodeList with for/foreach statement
e.g. for (i : nodeList) ...
(3) Attributes
e.g. node["attributeName"]
(4) Navigation
e.g. document.project.target.name
|
Inner Class :static class NodeListEnum implements Enumeration | |
Method Summary | |
public Object | callMethod(Context context, Class c, String name, Object args, Class types, Object target) | static List | findNodes(Node node, String name) | static Element | getElement(NodeList nodeList, String skey) | static Element | getElement(NodeList nodeList, int idx) | public Object | getElement(Context context, Object target, Object key) | public Object | getField(Context context, Object target, String name) | static String | getText(Node node) | public void | putField(Context context, Object target, String name, Object value) | public void | setElement(Context context, Object target, Object key, Object value) | public Enumeration | toEnumeration(Object object) |
XMLConfiguration | public XMLConfiguration()(Code) | | |
Methods inherited from org.pnuts.lib.AggregateConfiguration | protected Object filter(Collection c, PnutsFunction f, Context context)(Code)(Java Doc) public Object getElement(Context context, Object target, Object key)(Code)(Java Doc) public Object getField(Context context, Object target, String name)(Code)(Java Doc) public void putField(Context context, Object target, String name, Object value)(Code)(Java Doc) public void setElement(Context context, Object target, Object key, Object value)(Code)(Java Doc)
|
|
|