org.enhydra.apache.xerces.validators.schema.identity
Class XPath.Axis

java.lang.Object
  |
  +--org.enhydra.apache.xerces.validators.schema.identity.XPath.Axis
All Implemented Interfaces:
Cloneable
Enclosing class:
XPath

public static class XPath.Axis
extends Object
implements Cloneable

Axis.

Author:
Andy Clark, IBM

Field Summary
static short ATTRIBUTE
          Type: attribute.
static short CHILD
          Type: child.
static short DESCENDANT
          Type: descendant.
static short SELF
          Type: self.
 short type
          Axis type.
 
Constructor Summary
  XPath.Axis(short type)
          Constructs an axis with the specified type.
protected XPath.Axis(XPath.Axis axis)
          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

CHILD

public static final short CHILD
Type: child.

ATTRIBUTE

public static final short ATTRIBUTE
Type: attribute.

SELF

public static final short SELF
Type: self.

DESCENDANT

public static final short DESCENDANT
Type: descendant.

type

public short type
Axis type.
Constructor Detail

XPath.Axis

public XPath.Axis(short type)
Constructs an axis with the specified type.

XPath.Axis

protected XPath.Axis(XPath.Axis axis)
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 © 1999 The Apache Software Foundation. All Rights reserved.