Interface QueryNode

    • Method Detail

      • isLeaf

        boolean isLeaf()
        verify if a node is a Leaf node
      • containsTag

        boolean containsTag​(String tagName)
        verify if a node contains a tag
      • getTag

        Object getTag​(String tagName)
        Returns object stored under that tag name
      • setTag

        void setTag​(String tagName,
                    Object value)
        Associate the specified value with the specified tagName. If the tagName already exists, the old value is replaced. The tagName and value cannot be null. tagName will be converted to lowercase.
      • unsetTag

        void unsetTag​(String tagName)
        Unset a tag. tagName will be converted to lowercase.
      • getTagMap

        Map<String,​Object> getTagMap()
        Returns a map containing all tags attached to this query node.
        Returns:
        a map containing all tags attached to this query node
      • removeFromParent

        void removeFromParent()
        Removes this query node from its parent.
      • removeChildren

        void removeChildren​(QueryNode childNode)
        Remove a child node
        Parameters:
        childNode - Which child to remove