HyperlinkCollector

Inheritance: java.lang.Object

public class HyperlinkCollector

Die Klasse ermöglicht das Sammeln hyperverlinkter XPS‑Elemente von der aktuellen Seite eines XPS‑Dokuments.

Methoden

MethodeBeschreibung
collectHyperlinks(XpsDocument document, Class cls)Sammelt XPS-Elemente mit Hyperlinks eines bestimmten Typs.
collectHyperlinks(XpsDocument document)Sammelt XPS-Elemente mit Hyperlinks aller Typen.
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)
public static Collection<XpsHyperlinkElement> <T>collectHyperlinks(XpsDocument document, Class<T> cls)

Sammelt XPS-Elemente mit Hyperlinks eines bestimmten Typs.

Parameters:

ParameterTypBeschreibung
documentXpsDocumentDas XPS-Dokument.
clsjava.lang.ClassDas Klassenobjekt, das dem Hyperlink-Zieltyp entspricht, der herausgefiltert werden soll.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - Die Sammlung, die hyperverknüpfte XPS-Elemente enthält.

public static Collection<XpsHyperlinkElement> collectHyperlinks(XpsDocument document)

Sammelt XPS-Elemente mit Hyperlinks aller Typen.

Parameters:

ParameterTypBeschreibung
documentXpsDocumentDas XPS-Dokument.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - Die Sammlung, die hyperverknüpfte XPS-Elemente enthält.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypBeschreibung
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int