|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xml.xpath.Axis
com.novell.xml.xpath.AxisElement
com.novell.xml.xpath.AxisParent
class representing XPath "parent" axis
| Nested Class Summary |
| Nested classes inherited from class com.novell.xml.xpath.Axis |
Axis.AxisMark |
| Field Summary |
| 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 | |
AxisParent()
|
|
| Method Summary | |
int |
count()
return count of nodes in axis (either 0 or 1) depending on whether context node has a parent or not |
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 |
position()
Returns position of node in axis (0 or 1 depending on whether context node has a parent or not) |
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 |
done, getContextNode, incPosition, init, order, setup, stripNode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AxisParent()
| Method Detail |
public String toString()
toString in class Axispublic Node first()
public Node next()
public int count()
count in interface ContextNodeListcount in class Axispublic int position()
position in interface ContextNodeListposition in class Axispublic 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 | |||||||||