Package org.apache.xerces.impl.xpath
Class XPath.NodeTest
- java.lang.Object
-
- org.apache.xerces.impl.xpath.XPath.NodeTest
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- XPath
public static class XPath.NodeTest extends java.lang.Object implements java.lang.Cloneable
Node test.INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Author:
- Andy Clark, IBM
-
-
Constructor Summary
Constructors Constructor Description NodeTest(short type)
Constructs a node test of type WILDCARD or NODE.NodeTest(java.lang.String prefix, java.lang.String uri)
Constructs a node test of type Namespace.NodeTest(XPath.NodeTest nodeTest)
Copy constructor.NodeTest(org.apache.xerces.xni.QName name)
Constructs a node test of type QName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Returns a clone of this object.java.lang.String
toString()
Returns a string representation of this object.
-
-
-
Field Detail
-
QNAME
public static final short QNAME
Type: qualified name.- See Also:
- Constant Field Values
-
WILDCARD
public static final short WILDCARD
Type: wildcard.- See Also:
- Constant Field Values
-
NODE
public static final short NODE
Type: node.- See Also:
- Constant Field Values
-
NAMESPACE
public static final short NAMESPACE
Type: namespace- See Also:
- Constant Field Values
-
type
public final short type
Node test type.
-
name
public final org.apache.xerces.xni.QName name
Node qualified name.
-
-
Constructor Detail
-
NodeTest
public NodeTest(short type)
Constructs a node test of type WILDCARD or NODE.
-
NodeTest
public NodeTest(org.apache.xerces.xni.QName name)
Constructs a node test of type QName.
-
NodeTest
public NodeTest(java.lang.String prefix, java.lang.String uri)
Constructs a node test of type Namespace.
-
NodeTest
public NodeTest(XPath.NodeTest nodeTest)
Copy constructor.
-
-