com.aspose.pdf.tagged.logicalstructure

Class ElementListImplementation

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Element>, com.aspose.ms.System.Collections.IEnumerable<Element>, Iterable<Element>


    public class ElementListImplementation
    extends ElementList
    • Constructor Detail

      • ElementListImplementation

        public ElementListImplementation(Element owner)
    • Method Detail

      • getCount

        public int getCount()
        Description copied from class: ElementList

        Gets the number of elements in the ElementList.

        Specified by:
        getCount in class ElementList
        Returns:
        int value
      • item

        public Element item(int index)
        Description copied from class: ElementList

        Retrieves a element at the given index.

        Specified by:
        item in class ElementList
        Parameters:
        index - The index into the list of elements.
        Returns:
        The /Aspose.Pdf.LogicalStructure.Element with the specified index in the collection. If index is greater than or equal to the number of elements in the list, this returns null.
      • iterator

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Element> iterator()
        Description copied from class: ElementList

        Gets an enumerator that iterates through the collection of elements.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Element>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<Element>
        Specified by:
        iterator in interface Iterable<Element>
        Specified by:
        iterator in class ElementList
        Returns:
        An enumerator used to iterate through the collection of elements.