|
||||||||||
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.
Field Summary | |
---|---|
private java.util.List |
nodes
|
private java.util.List |
pointers
|
private java.util.List |
readOnlyPointers
|
private java.util.List |
values
|
Constructor Summary | |
---|---|
BasicNodeSet()
|
Method Summary | |
---|---|
void |
add(NodeSet nodeSet)
Add the specified NodeSet to this NodeSet. |
void |
add(Pointer pointer)
Add a pointer to this NodeSet. |
private void |
clearCacheLists()
Clear cache list members. |
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)
Remove a pointer from this NodeSet. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.List pointers
private java.util.List readOnlyPointers
private java.util.List nodes
private java.util.List values
Constructor Detail |
---|
public BasicNodeSet()
Method Detail |
---|
public void add(Pointer pointer)
pointer
- to addpublic void add(NodeSet nodeSet)
nodeSet
- to addpublic void remove(Pointer pointer)
pointer
- to removepublic 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
private void clearCacheLists()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |