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


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



public class AxisStep
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.StepExpr
Class for AxisStep, this generates a sequence of zero or more nodes. These nodes are always returned in Document Order. This can be Forward Step or Reverse Step.

Constructor Summary

AxisStep(org.eclipse.wst.xml.xpath2.processor.internal.ast.Step step , java.util.Collection exprs)

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public java.util.Iteratoriterator()
     Interator.
public intpredicate_count()
     Determines size of expressions.
public voidset_step(org.eclipse.wst.xml.xpath2.processor.internal.ast.Step s)
     Set the step direction.
public org.eclipse.wst.xml.xpath2.processor.internal.ast.Stepstep()
     Advances to next step.

Constructor Detail

AxisStep

public AxisStep(org.eclipse.wst.xml.xpath2.processor.internal.ast.Step step , java.util.Collection exprs)

Constructor for AxisStep.


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.


iterator

public java.util.Iterator iterator()

Interator.

Returns

java.util.Iterator - Iterated expressions.


predicate_count

public int predicate_count()

Determines size of expressions.

Returns

int - Size of expressions.


set_step

public void set_step(org.eclipse.wst.xml.xpath2.processor.internal.ast.Step s)

Set the step direction.

Parameters

s


step

public org.eclipse.wst.xml.xpath2.processor.internal.ast.Step step()

Advances to next step.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.Step - Previous step.