org.planx.xpath.expr
Class Step

java.lang.Object
  extended by org.planx.xpath.expr.Step

public class Step
extends Object

A step consists of an Axis, NodeTest and a list of predicates which are Expression objects.


Constructor Summary
Step(Axis axis, NodeTest nodeTest)
          Construct a step with no predicates.
Step(Axis axis, NodeTest nodeTest, PredicateList predicates)
          Construct a step with the specified axis, node test and predicate list.
 
Method Summary
 Axis getAxis()
           
 NodeTest getNodeTest()
           
 PredicateList getPredicates()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Step

public Step(Axis axis,
            NodeTest nodeTest)
Construct a step with no predicates.


Step

public Step(Axis axis,
            NodeTest nodeTest,
            PredicateList predicates)
Construct a step with the specified axis, node test and predicate list.

Method Detail

getAxis

public Axis getAxis()

getNodeTest

public NodeTest getNodeTest()

getPredicates

public PredicateList getPredicates()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.