XpsElement
Inheritance: java.lang.Object, com.aspose.xps.XpsObject
All Implemented Interfaces: java.lang.Iterable
public abstract class XpsElement extends XpsObject implements Iterable<XpsContentElement>
Class incapsulating common XPS element features.
Methods
Method | Description |
---|---|
get(int i) | Provides access to element’s children by index i . |
size() | Returns the number of child elements. |
iterator() | Implementation of Iterable interface. |
get(int i)
public XpsContentElement get(int i)
Provides access to element’s children by index i .
Parameters:
Parameter | Type | Description |
---|---|---|
i | int | Index of child element. |
Returns: XpsContentElement - Child element at i position.
size()
public int size()
Returns the number of child elements.
Returns: int - The number of child elements.
iterator()
public Iterator<XpsContentElement> iterator()
Implementation of Iterable interface.
Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - Returns enumerator for the list.