org.planx.xpath.expr.axis
Class Axis

java.lang.Object
  extended by org.planx.xpath.expr.axis.Axis
Direct Known Subclasses:
AncestorAxis, AttributeAxis, ChildAxis, DescendantAxis, FollowingSiblingAxis, ParentAxis, PrecedingSiblingAxis, SelfAxis

public abstract class Axis
extends Object

An XPath axis.


Constructor Summary
Axis()
           
 
Method Summary
abstract  int getPrincipalNodeType()
          Returns the principal node type of the axis as specified in Navigator.
abstract  boolean isReverse()
          Returns true if this axis is a reverse axis.
abstract  AxisIterator iterator(Object contextNode, Navigator navigator)
          Return an iterator over the nodes of this axis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Axis

public Axis()
Method Detail

iterator

public abstract AxisIterator iterator(Object contextNode,
                                      Navigator navigator)
                               throws XPathException
Return an iterator over the nodes of this axis.

Throws:
XPathException

getPrincipalNodeType

public abstract int getPrincipalNodeType()
Returns the principal node type of the axis as specified in Navigator.


isReverse

public abstract boolean isReverse()
Returns true if this axis is a reverse axis. I.e. returns nodes in reverse document order.



Copyright © 2010. All Rights Reserved.