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

MethodDescription
equals(Object arg0)
get(int i)Provides access to element’s children by index i .
getClass()
hashCode()
iterator()Implementation of Iterable interface.
notify()
notifyAll()
size()Returns the number of child elements.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

get(int i)

public XpsContentElement get(int i)

Provides access to element’s children by index i .

Parameters:

ParameterTypeDescription
iintIndex of child element.

Returns: XpsContentElement - Child element at i position.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

iterator()

public Iterator<XpsContentElement> iterator()

Implementation of Iterable interface.

Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - Returns enumerator for the list.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

size()

public int size()

Returns the number of child elements.

Returns: int - The number of child elements.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int