|
||||||||||
| 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.PredicateContext
EvalContext that checks predicates.
| Field Summary |
| Fields inherited from class org.apache.commons.jxpath.ri.EvalContext |
parentContext, position, rootContext |
| Constructor Summary | |
PredicateContext(EvalContext parentContext,
Expression expression)
|
|
| Method Summary | |
NodePointer |
getCurrentNodePointer()
Returns the current context node. |
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. |
void |
reset()
Sets current position = 0, which is the pre-iteration state. |
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, getPointerList, getPosition, getRootContext, getSingleNodePointer, hasNext, next, remove, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PredicateContext(EvalContext parentContext,
Expression expression)
| Method Detail |
public boolean nextNode()
EvalContext
nextNode in class EvalContextpublic boolean setPosition(int position)
EvalContext
setPosition in class EvalContextpublic NodePointer getCurrentNodePointer()
EvalContext
getCurrentNodePointer in class EvalContextpublic void reset()
EvalContext
reset in class EvalContextpublic boolean nextSet()
EvalContext
nextSet in class EvalContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||