Class SelectorImpl

    • Method Detail

      • getNodeTypeQName

        public Name getNodeTypeQName()
        Gets the name of the required node type.
        Returns:
        the node type name; non-null
      • getSelectorQName

        public Name getSelectorQName()
        Gets the selector name.

        A selector's name can be used elsewhere in the query to identify the selector.

        Returns:
        the selector name; non-null
      • getNodeTypeName

        public java.lang.String getNodeTypeName()
        Gets the name of the required node type.
        Specified by:
        getNodeTypeName in interface Selector
        Returns:
        the node type name; non-null
      • getSelectorName

        public java.lang.String getSelectorName()
        Gets the selector name.

        A selector's name can be used elsewhere in the query to identify the selector.

        Specified by:
        getSelectorName in interface Selector
        Returns:
        the selector name; non-null
      • accept

        public java.lang.Object accept​(QOMTreeVisitor visitor,
                                       java.lang.Object data)
                                throws java.lang.Exception
        Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.
        Specified by:
        accept in class AbstractQOMNode
        Parameters:
        visitor - the visitor.
        data - user defined data, which is passed to the visit method.
        Throws:
        java.lang.Exception
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object