XpsElement

Inheritance: java.lang.Object, com.aspose.xps.XpsObject

All Implemented Interfaces: java.lang.Iterable

public abstract class XpsElement extends XpsObject implements Iterable<XpsContentElement>

封装通用 XPS 元素特性的类。

方法

方法描述
equals(Object arg0)
get(int i)提供通过索引 i 访问元素子项的功能。
getClass()
hashCode()
iterator()实现 Iterable 接口。
notify()
notifyAll()
size()返回子元素的数量。
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

get(int i)

public XpsContentElement get(int i)

提供通过索引 i 访问元素子项的功能。

Parameters:

参数类型描述
iint子元素的索引。

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()

实现 Iterable 接口。

Returns: java.util.Iterator<com.aspose.xps.XpsContentElement> - 返回列表的枚举器。

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

size()

public int size()

返回子元素的数量。

Returns: int - 子元素的数量。

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

参数类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

参数类型描述
arg0long
arg1int