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