org.ucl.xpath.ast
Class ReverseStep

java.lang.Object
  extended byorg.ucl.xpath.ast.XPathNode
      extended byorg.ucl.xpath.ast.Step
          extended byorg.ucl.xpath.ast.ReverseStep

public class ReverseStep
extends Step

Class for Reverse stepping support for Step operations.


Field Summary
static int ANCESTOR
          Set internal value for ANCESTOR.
static int ANCESTOR_OR_SELF
          Set internal value for ANCESTOR_OR_SELF.
static int DOTDOT
          Set internal value for DOTDOT.
static int PARENT
          Set internal value for PARENT.
static int PRECEDING
          Set internal value for PRECEDING.
static int PRECEDING_SIBLING
          Set internal value for PRECEDING_SIBLING.
 
Constructor Summary
ReverseStep(int axis, NodeTest node_test)
          Constructor for ReverseStep.
 
Method Summary
 java.lang.Object accept(XPathVisitor v)
          Support for Visitor interface.
 int axis()
          Support for Axis interface.
 ReverseAxis iterator()
          Support for Iterator interface.
 
Methods inherited from class org.ucl.xpath.ast.Step
node_test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARENT

public static final int PARENT
Set internal value for PARENT.

See Also:
Constant Field Values

ANCESTOR

public static final int ANCESTOR
Set internal value for ANCESTOR.

See Also:
Constant Field Values

PRECEDING_SIBLING

public static final int PRECEDING_SIBLING
Set internal value for PRECEDING_SIBLING.

See Also:
Constant Field Values

PRECEDING

public static final int PRECEDING
Set internal value for PRECEDING.

See Also:
Constant Field Values

ANCESTOR_OR_SELF

public static final int ANCESTOR_OR_SELF
Set internal value for ANCESTOR_OR_SELF.

See Also:
Constant Field Values

DOTDOT

public static final int DOTDOT
Set internal value for DOTDOT.

See Also:
Constant Field Values
Constructor Detail

ReverseStep

public ReverseStep(int axis,
                   NodeTest node_test)
Constructor for ReverseStep.

Parameters:
axis - Axis number.
node_test - Node test.
Method Detail

accept

public java.lang.Object accept(XPathVisitor v)
Support for Visitor interface.

Specified by:
accept in class XPathNode
Returns:
Result of Visitor operation.

axis

public int axis()
Support for Axis interface.

Returns:
Result of Axis operation.

iterator

public ReverseAxis iterator()
Support for Iterator interface.

Returns:
Result of Iterator operation.