|
||||||||||
| 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.RootContext
EvalContext that is used to hold the root node for the path traversal.
| Field Summary | |
static java.lang.Object |
UNKNOWN_VALUE
|
| Fields inherited from class org.apache.commons.jxpath.ri.EvalContext |
parentContext, position, rootContext |
| Constructor Summary | |
RootContext(JXPathContextReferenceImpl parent,
NodePointer pointer)
|
|
| Method Summary | |
EvalContext |
getConstantContext(java.lang.Object constant)
|
NodePointer |
getCurrentNodePointer()
Returns the current context node. |
int |
getCurrentPosition()
|
Function |
getFunction(QName functionName,
java.lang.Object[] parameters)
|
JXPathContext |
getJXPathContext()
Get the JXPathContext in which this function is being evaluated. |
java.lang.Object |
getRegisteredValue(int id)
|
RootContext |
getRootContext()
Returns the root context of the path, which provides easy access to variables and functions. |
EvalContext |
getVariableContext(QName variableName)
|
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. |
int |
setRegisteredValue(java.lang.Object value)
|
java.lang.String |
toString()
|
| Methods inherited from class org.apache.commons.jxpath.ri.EvalContext |
getContextNodeList, getContextNodePointer, getDocumentOrder, getPointerList, getPosition, getSingleNodePointer, hasNext, next, remove, reset |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.Object UNKNOWN_VALUE
| Constructor Detail |
public RootContext(JXPathContextReferenceImpl parent,
NodePointer pointer)
| Method Detail |
public JXPathContext getJXPathContext()
ExpressionContext
getJXPathContext in interface ExpressionContextgetJXPathContext in class EvalContextpublic RootContext getRootContext()
EvalContext
getRootContext in class EvalContextpublic NodePointer getCurrentNodePointer()
EvalContext
getCurrentNodePointer in class EvalContextpublic int getCurrentPosition()
getCurrentPosition in class EvalContextpublic boolean nextNode()
EvalContext
nextNode in class EvalContextpublic boolean nextSet()
EvalContext
nextSet in class EvalContextpublic boolean setPosition(int position)
EvalContext
setPosition in class EvalContextpublic EvalContext getConstantContext(java.lang.Object constant)
public EvalContext getVariableContext(QName variableName)
public Function getFunction(QName functionName,
java.lang.Object[] parameters)
public java.lang.Object getRegisteredValue(int id)
public int setRegisteredValue(java.lang.Object value)
public java.lang.String toString()
toString in class EvalContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||