|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.planx.xpath.expr.axis.Axis
org.planx.xpath.expr.axis.AncestorAxis
public class AncestorAxis
Ancestor axis and ancestor-or-self axis.
| Constructor Summary | |
|---|---|
AncestorAxis()
Create an ancestor axis. |
|
AncestorAxis(boolean includeSelf)
If includeSelf is true create
an ancestor-or-self axis. |
|
| Method Summary | |
|---|---|
int |
getPrincipalNodeType()
The principal node type of this axis is Navigator.ELEMENT. |
boolean |
isReverse()
Returns true if this axis is a reverse axis. |
AxisIterator |
iterator(Object contextNode,
Navigator navigator)
Return an iterator over the nodes of this axis. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AncestorAxis()
public AncestorAxis(boolean includeSelf)
includeSelf is true create
an ancestor-or-self axis.
If includeSelf is false create
an ancestor axis.
| Method Detail |
|---|
public AxisIterator iterator(Object contextNode,
Navigator navigator)
throws XPathException
Axis
iterator in class AxisXPathExceptionpublic int getPrincipalNodeType()
Navigator.ELEMENT.
getPrincipalNodeType in class Axispublic boolean isReverse()
Axistrue if this axis is a reverse axis.
I.e. returns nodes in reverse document order.
isReverse in class Axispublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||