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
      • 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
      • getLastPosition

        public int getLastPosition()
        Get the last position, that is the number of nodes in the enumeration