Package org.apache.commons.jxpath
Class BasicNodeSet
- java.lang.Object
-
- org.apache.commons.jxpath.BasicNodeSet
-
-
Constructor Summary
Constructors Constructor Description BasicNodeSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(NodeSet nodeSet)Add the specified NodeSet to this NodeSet.voidadd(Pointer pointer)Add a pointer to this NodeSet.ListgetNodes()Returns a list of nodes.ListgetPointers()Returns a list of pointers for all nodes in the set.ListgetValues()Returns a list of values of all contained pointers.voidremove(Pointer pointer)Remove a pointer from this NodeSet.StringtoString()
-
-
-
Method Detail
-
add
public void add(Pointer pointer)
Add a pointer to this NodeSet.- Parameters:
pointer- to add
-
add
public void add(NodeSet nodeSet)
Add the specified NodeSet to this NodeSet.- Parameters:
nodeSet- to add
-
remove
public void remove(Pointer pointer)
Remove a pointer from this NodeSet.- Parameters:
pointer- to remove
-
getPointers
public List getPointers()
Description copied from interface:NodeSetReturns a list of pointers for all nodes in the set.- Specified by:
getPointersin interfaceNodeSet- Returns:
- List
-
getValues
public List getValues()
Description copied from interface:NodeSetReturns a list of values of all contained pointers.
-
-