Class PrecedingEnumeration

    • Constructor Detail

      • PrecedingEnumeration

        public PrecedingEnumeration​(NodeImpl node,
                                    NodeTest nodeTest)
    • Method Detail

      • conforms

        protected boolean conforms​(NodeImpl node)
        Special code to skip the ancestors of the start node
        Overrides:
        conforms in class TreeEnumeration
        Parameters:
        node - the node to be tested
        Returns:
        true if the node matches the requested node type and name
      • step

        protected void step()
        Description copied from class: TreeEnumeration
        Advance one step along the axis: the resulting node might not meet the required criteria for inclusion
        Specified by:
        step in class TreeEnumeration