public abstract class ElementList extends Object implements com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Element>
Represents an ordered collection of elements.
Modifier and Type | Method and Description |
---|---|
void |
addElement(Element element) |
abstract void |
addElement(Element element,
boolean updatePdfDictionary) |
Element |
get_Item(int index) |
abstract int |
getCount()
Gets the number of elements in the ElementList.
|
abstract Element |
item(int index)
Retrieves a element at the given index.
|
abstract com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Element> |
iterator()
Gets an enumerator that iterates through the collection of elements.
|
abstract void |
removeElement(Element element) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public abstract int getCount()
Gets the number of elements in the ElementList.
public abstract Element item(int index)
Retrieves a element at the given index.
index
- The index into the list of elements./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.public Element get_Item(int index)
public abstract com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Element> iterator()
Gets an enumerator that iterates through the collection of elements.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Element>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<Element>
iterator
in interface Iterable<Element>
public void addElement(Element element)
public abstract void addElement(Element element, boolean updatePdfDictionary)
public abstract void removeElement(Element element)