HyperlinkCollector

Inheritance: java.lang.Object

public class HyperlinkCollector

De klasse biedt het verzamelen van hyperlinked XPS-elementen van de huidige pagina van een XPS-document.

Methoden

MethodeBeschrijving
collectHyperlinks(XpsDocument document, Class cls)Verzamelt XPS‑elementen met hyperlinks van een bepaald type.
collectHyperlinks(XpsDocument document)Verzamelt XPS‑elementen met hyperlinks van alle 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)

Verzamelt XPS‑elementen met hyperlinks van een bepaald type.

Parameters:

ParameterTypeBeschrijving
documentXpsDocumentHet XPS‑document.
clsjava.lang.ClassHet klasse‑object dat overeenkomt met het hyperlink‑doeltype om uit te filteren.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - De collectie die hyperlinked XPS‑elementen bevat.

public static Collection<XpsHyperlinkElement> collectHyperlinks(XpsDocument document)

Verzamelt XPS‑elementen met hyperlinks van alle typen.

Parameters:

ParameterTypeBeschrijving
documentXpsDocumentHet XPS‑document.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - De collectie die hyperlinked XPS‑elementen bevat.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeBeschrijving
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:

ParameterTypeBeschrijving
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeBeschrijving
arg0long
arg1int