|
|||||||||
| 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. |
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 |
| 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 NodeSetpublic java.util.List getNodes()
NodeSet
getNodes in interface NodeSetpublic java.util.List getValues()
NodeSet
getValues in interface NodeSetpublic 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 | ||||||||