|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.BasicNodeSet
public class BasicNodeSet
A simple implementation of NodeSet that behaves as a collection of pointers.
Constructor Summary | |
---|---|
BasicNodeSet()
|
Method Summary | |
---|---|
void |
add(Pointer pointer)
|
java.util.List |
getNodes()
Returns a list of nodes. |
java.util.List |
getPointers()
Returns a list of pointers for all nodes in the set. |
java.util.List |
getValues()
Returns a list of values of all contained pointers. |
void |
remove(Pointer pointer)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BasicNodeSet()
Method Detail |
---|
public void add(Pointer pointer)
public void remove(Pointer pointer)
public java.util.List getPointers()
NodeSet
getPointers
in interface NodeSet
public java.util.List getNodes()
NodeSet
getNodes
in interface NodeSet
public java.util.List getValues()
NodeSet
getValues
in interface NodeSet
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |