org.apache.xerces.impl.xpath

Class XPath.NodeTest

public static class XPath.NodeTest extends Object implements Cloneable

Node test.

Author: Andy Clark, IBM

UNKNOWN:

Field Summary
QNamename
Node qualified name.
static shortNAMESPACE
Type: namespace
static shortNODE
Type: node.
static shortQNAME
Type: qualified name.
shorttype
Node test type.
static shortWILDCARD
Type: wildcard.
Constructor Summary
NodeTest(short type)
Constructs a node test of type WILDCARD or NODE.
NodeTest(QName name)
Constructs a node test of type QName.
NodeTest(String prefix, String uri)
Constructs a node test of type Namespace.
NodeTest(XPath.NodeTest nodeTest)
Copy constructor.
Method Summary
Objectclone()
Returns a clone of this object.
StringtoString()
Returns a string representation of this object.

Field Detail

name

public final QName name
Node qualified name.

NAMESPACE

public static final short NAMESPACE
Type: namespace

NODE

public static final short NODE
Type: node.

QNAME

public static final short QNAME
Type: qualified name.

type

public short type
Node test type.

WILDCARD

public static final short WILDCARD
Type: wildcard.

Constructor Detail

NodeTest

public NodeTest(short type)
Constructs a node test of type WILDCARD or NODE.

NodeTest

public NodeTest(QName name)
Constructs a node test of type QName.

NodeTest

public NodeTest(String prefix, String uri)
Constructs a node test of type Namespace.

NodeTest

public NodeTest(XPath.NodeTest nodeTest)
Copy constructor.

Method Detail

clone

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

toString

public String toString()
Returns a string representation of this object.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.