|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjd.xml.xpath.XPathContext
A XPath context.
Nested Class Summary | |
static class |
XPathContext.State
State represents the state information of a XPathContext. |
Constructor Summary | |
XPathContext()
Create a XPathContext. |
Method Summary | |
XPathNode |
getNode()
Return the context node. |
int |
getPosition()
Return the context position. |
int |
getSize()
Return the context size. |
XObject |
getVariable(VariableName name)
Return a variable value. |
void |
restoreState()
Restore the last state. |
void |
setNextNode(XPathNode node)
Set the context node and increase the position by 1. |
void |
setNode(XPathNode node)
Set the context node. |
void |
setPosition(int position)
Set the context position. |
void |
setSize(int size)
Set the context size. |
void |
startNewState()
Backup the current state and start a new one. |
void |
startNewState(XPathContext.State state)
Backup the current state and start a new one. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathContext()
Method Detail |
public final XPathNode getNode()
public final void setNode(XPathNode node)
public final void setNextNode(XPathNode node)
public final int getPosition()
public final void setPosition(int position)
public final int getSize()
public final void setSize(int size)
public final void startNewState()
restoreState()
public final void startNewState(XPathContext.State state)
restoreState()
public final void restoreState()
startNewState()
public XObject getVariable(VariableName name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |