|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jxpath.ri.EvalContext org.apache.commons.jxpath.ri.axes.NodeSetContext
A simple context that is based on a NodeSet.
Field Summary | |
private NodeSet |
nodeSet
|
private boolean |
startedSet
|
Fields inherited from class org.apache.commons.jxpath.ri.EvalContext |
parentContext, position, rootContext |
Constructor Summary | |
NodeSetContext(EvalContext parentContext,
NodeSet nodeSet)
|
Method Summary | |
NodePointer |
getCurrentNodePointer()
Returns the current context node. |
NodeSet |
getNodeSet()
Returns the list of all Pointers in this context for all positions of the parent contexts. |
boolean |
nextNode()
Returns true if there is another object in the current set. |
boolean |
nextSet()
Returns true if there is another sets of objects to interate over. |
boolean |
setPosition(int position)
Moves the current position to the specified index. |
Methods inherited from class org.apache.commons.jxpath.ri.EvalContext |
getContextNodeList, getContextNodePointer, getCurrentPosition, getDocumentOrder, getJXPathContext, getPosition, getRootContext, getSingleNodePointer, getValue, hasNext, isChildOrderingRequired, next, remove, reset, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private boolean startedSet
private NodeSet nodeSet
Constructor Detail |
public NodeSetContext(EvalContext parentContext, NodeSet nodeSet)
Method Detail |
public NodeSet getNodeSet()
EvalContext
getNodeSet
in class EvalContext
public NodePointer getCurrentNodePointer()
EvalContext
getCurrentNodePointer
in class EvalContext
public boolean setPosition(int position)
EvalContext
setPosition
in class EvalContext
public boolean nextSet()
EvalContext
nextSet
in class EvalContext
public boolean nextNode()
EvalContext
nextNode
in class EvalContext
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |