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 void
add(NodeSet nodeSet)
Add the specified NodeSet to this NodeSet.void
add(Pointer pointer)
Add a pointer to this NodeSet.List
getNodes()
Returns a list of nodes.List
getPointers()
Returns a list of pointers for all nodes in the set.List
getValues()
Returns a list of values of all contained pointers.void
remove(Pointer pointer)
Remove a pointer from this NodeSet.String
toString()
-
-
-
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:NodeSet
Returns a list of pointers for all nodes in the set.- Specified by:
getPointers
in interfaceNodeSet
- Returns:
- List
-
getValues
public List getValues()
Description copied from interface:NodeSet
Returns a list of values of all contained pointers.
-
-