Class XPath.NodeTest

java.lang.Object
org.apache.xerces.impl.xpath.XPath.NodeTest
All Implemented Interfaces:
Cloneable
Enclosing class:
XPath

public static class XPath.NodeTest extends Object implements Cloneable
Node test.

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.
Author:
Andy Clark, IBM
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final org.apache.xerces.xni.QName
    Node qualified name.
    static final short
    Type: namespace
    static final short
    Type: node.
    static final short
    Type: qualified name.
    final short
    Node test type.
    static final short
    Type: wildcard.
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeTest(short type)
    Constructs a node test of type WILDCARD or NODE.
    NodeTest(String prefix, String uri)
    Constructs a node test of type Namespace.
    Copy constructor.
    NodeTest(org.apache.xerces.xni.QName name)
    Constructs a node test of type QName.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a clone of this object.
    Returns a string representation of this object.

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • QNAME

      public static final short QNAME
      Type: qualified name.
      See Also:
    • WILDCARD

      public static final short WILDCARD
      Type: wildcard.
      See Also:
    • NODE

      public static final short NODE
      Type: node.
      See Also:
    • NAMESPACE

      public static final short NAMESPACE
      Type: namespace
      See Also:
    • type

      public final short type
      Node test type.
    • name

      public final org.apache.xerces.xni.QName name
      Node qualified name.
  • Constructor Details

    • 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(String prefix, String uri)
      Constructs a node test of type Namespace.
    • NodeTest

      public NodeTest(XPath.NodeTest nodeTest)
      Copy constructor.
  • Method Details

    • 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