org.apache.xerces.impl.xpath
Class XPath.Step

java.lang.Object
  extended by org.apache.xerces.impl.xpath.XPath.Step
All Implemented Interfaces:
Cloneable
Enclosing class:
XPath

public static class XPath.Step
extends Object
implements Cloneable

A location path step comprised of an axis and node test.

Author:
Andy Clark, IBM

Field Summary
 XPath.Axis axis
          Axis.
 XPath.NodeTest nodeTest
          Node test.
 
Constructor Summary
  XPath.Step(XPath.Axis axis, XPath.NodeTest nodeTest)
          Constructs a step from an axis and node test.
protected XPath.Step(XPath.Step step)
          Copy constructor.
 
Method Summary
 Object clone()
          Returns a clone of this object.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

axis

public final XPath.Axis axis
Axis.


nodeTest

public final XPath.NodeTest nodeTest
Node test.

Constructor Detail

XPath.Step

public XPath.Step(XPath.Axis axis,
                  XPath.NodeTest nodeTest)
Constructs a step from an axis and node test.


XPath.Step

protected XPath.Step(XPath.Step step)
Copy constructor.

Method Detail

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object

clone

public Object clone()
Returns a clone of this object.

Overrides:
clone in class Object


Copyright © 2011. All Rights Reserved.