org.apache.xerces.impl.xpath

Class XPath.Axis

Enclosing Class:
XPath
Implemented Interfaces:
Cloneable

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

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

Method Summary

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

Field Details

ATTRIBUTE

public static final short ATTRIBUTE
Type: attribute.
Field Value:
2

CHILD

public static final short CHILD
Type: child.
Field Value:
1

DESCENDANT

public static final short DESCENDANT
Type: descendant.
Field Value:
4

SELF

public static final short SELF
Type: self.
Field Value:
3

type

public short type
Axis type.

Constructor Details

Axis

protected Axis(XPath.Axis axis)
Copy constructor.

Axis

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

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.