Class XPath.NodeTest

  • All Implemented Interfaces:
    Cloneable
    Enclosing class:
    XPath

    public static class XPath.NodeTest
    extends Object
    implements Cloneable
    Node test.
    Author:
    Andy Clark, IBM
    • 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

      • 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