Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class ForwardStep



public class ForwardStep
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.Step
Class for Forward stepping support for Step operations.

Field Summary

public static intAT_SYM
     Set internal value for AT_SYM.
public static intATTRIBUTE
     Set internal value for ATTRIBUTE.
public static intCHILD
     Set internal value for CHILD.
public static intDESCENDANT
     Set internal value for DESCENDANT.
public static intDESCENDANT_OR_SELF
     Set internal value for DESCENDANT_OR_SELF.
public static intFOLLOWING
     Set internal value for FOLLOWING.
public static intFOLLOWING_SIBLING
     Set internal value for FOLLOWING_SIBLING.
public static intNAMESPACE
     Set internal value for NAMESPACE.
public static intNONE
     Set internal value for NONE.
public static intSELF
     Set internal value for SELF.

Constructor Summary

ForwardStep(int axis , org.eclipse.wst.xml.xpath2.processor.internal.ast.NodeTest node_test)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public intaxis()
     Support for Axis interface.
public org.eclipse.wst.xml.xpath2.processor.internal.ForwardAxisiterator()
     Support for Iterator interface.
public voidset_axis(int axis)
     Set Axis to current.

Field Detail

AT_SYM

public static int AT_SYM

Set internal value for AT_SYM.

ATTRIBUTE

public static int ATTRIBUTE

Set internal value for ATTRIBUTE.

CHILD

public static int CHILD

Set internal value for CHILD.

DESCENDANT

public static int DESCENDANT

Set internal value for DESCENDANT.

DESCENDANT_OR_SELF

public static int DESCENDANT_OR_SELF

Set internal value for DESCENDANT_OR_SELF.

FOLLOWING

public static int FOLLOWING

Set internal value for FOLLOWING.

FOLLOWING_SIBLING

public static int FOLLOWING_SIBLING

Set internal value for FOLLOWING_SIBLING.

NAMESPACE

public static int NAMESPACE

Set internal value for NAMESPACE.

NONE

public static int NONE

Set internal value for NONE.

SELF

public static int SELF

Set internal value for SELF.

Constructor Detail

ForwardStep

public ForwardStep(int axis , org.eclipse.wst.xml.xpath2.processor.internal.ast.NodeTest node_test)

Constructor for ForwardStep.


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


axis

public int axis()

Support for Axis interface.

Returns

int - Result of Axis operation.


iterator

public org.eclipse.wst.xml.xpath2.processor.internal.ForwardAxis iterator()

Support for Iterator interface.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ForwardAxis - Result of Iterator operation.


set_axis

public void set_axis(int axis)

Set Axis to current.

Parameters

axis - Axis to set.