ElementListImplementation

Inheritance: java.lang.Object, com.aspose.pdf.tagged.logicalstructure.ElementList

public class ElementListImplementation extends ElementList

Constructors

ConstructorDescription
ElementListImplementation(Element owner)

Methods

MethodDescription
getCount()
item(int index)
iterator()
addElement(Element element, boolean updatePdfDictionary)
removeElement(Element element)

ElementListImplementation(Element owner)

public ElementListImplementation(Element owner)

Parameters:

ParameterTypeDescription
ownerElement

getCount()

public int getCount()

Gets the number of elements in the ElementList.

Returns: int

item(int index)

public Element item(int index)

Retrieves a element at the given index.

Parameters:

ParameterTypeDescription
indexint

Returns: Element

iterator()

public System.Collections.Generic.IGenericEnumerator<Element> iterator()

Gets an enumerator that iterates through the collection of elements.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.pdf.tagged.logicalstructure.elements.Element>

addElement(Element element, boolean updatePdfDictionary)

public void addElement(Element element, boolean updatePdfDictionary)

Parameters:

ParameterTypeDescription
elementElement
updatePdfDictionaryboolean

removeElement(Element element)

public void removeElement(Element element)

Parameters:

ParameterTypeDescription
elementElement