|
||||||||||
| 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(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()
|
| 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)
pointer - to addpublic void add(NodeSet nodeSet)
nodeSet - to addpublic void remove(Pointer pointer)
pointer - to removepublic List getPointers()
NodeSet
getPointers in interface NodeSetpublic List getNodes()
NodeSet
getNodes in interface NodeSetpublic List getValues()
NodeSet
getValues in interface NodeSetpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||