org.apache.xerces.impl.xpath

Class XPath.Step

Enclosing Class:
XPath
Implemented Interfaces:
Cloneable

public static class XPath.Step
extends java.lang.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

Step(XPath.Axis axis, XPath.NodeTest nodeTest)
Constructs a step from an axis and node test.
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.

Field Details

axis

public XPath.Axis axis
Axis.

nodeTest

public XPath.NodeTest nodeTest
Node test.

Constructor Details

Step

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

Step

protected Step(XPath.Step step)
Copy constructor.

Method Details

clone

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

toString

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

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.