Class SAX2DTM2.TypedAncestorIterator

    • Constructor Detail

      • TypedAncestorIterator

        public TypedAncestorIterator​(int type)
        Constructor TypedAncestorIterator
        Parameters:
        type - The extended type ID being requested.
    • Method Detail

      • getLast

        public int getLast()
        Returns the position of the last node within the iteration, as defined by XPath.
        Specified by:
        getLast in interface DTMAxisIterator
        Overrides:
        getLast in class DTMAxisIteratorBase
        Returns:
        The number of nodes in this iterator (forward) or 1 (reverse).