|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xml.xpath.Axis com.novell.xml.xpath.AxisElement com.novell.xml.xpath.AxisAncestor
class representing XPath "ancestor" axis
Nested Class Summary | |
protected class |
AxisAncestor.Mark
|
Nested classes inherited from class com.novell.xml.xpath.Axis |
Axis.AxisMark |
Field Summary | |
protected Node |
ancestor
|
Fields inherited from class com.novell.xml.xpath.Axis |
stripper |
Fields inherited from interface com.novell.xml.xpath.ContextNodeList |
DOCUMENT_ORDER, REVERSE_DOCUMENT_ORDER, UNKNOWN_ORDER |
Constructor Summary | |
AxisAncestor()
|
Method Summary | |
void |
done()
stop referencing resources that are no longer needed |
Node |
first()
Return the first member of the axis in axis-defined order. |
ContextListMark |
getMark()
Return a marker to current position in this axis This marker can be used later in a call to returnToMark() to return to the marked position |
Node |
next()
Return subsequent nodes in the axis. |
int |
order()
Return order in which nodes are returned from first()-next() |
Node |
returnToMark(ContextListMark mark)
Go to a position in a ContextNodeList previously marked with getMark() |
String |
toString()
Provide a readable description of the axis for debugging. |
Methods inherited from class com.novell.xml.xpath.AxisElement |
principalNodeType |
Methods inherited from class com.novell.xml.xpath.Axis |
count, getContextNode, incPosition, init, position, setup, stripNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Node ancestor
Constructor Detail |
public AxisAncestor()
Method Detail |
public String toString()
toString
in class Axis
public void done()
done
in class Axis
public Node first()
public Node next()
public int order()
order
in interface ContextNodeList
order
in class Axis
public ContextListMark getMark()
public Node returnToMark(ContextListMark mark)
mark
- mark returned from getMark()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |