HyperlinkCollector

Inheritance: java.lang.Object

public class HyperlinkCollector

La classe fournit la collecte d’éléments XPS hyperliés depuis la page actuelle d’un document XPS.

Méthodes

MéthodeDescription
collectHyperlinks(XpsDocument document, Class cls)Collecte les éléments XPS avec des hyperliens d’un certain type.
collectHyperlinks(XpsDocument document)Collecte les éléments XPS avec des hyperliens de tous les types.
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)

Collecte les éléments XPS avec des hyperliens d’un certain type.

Parameters:

ParamètreTypeDescription
documentXpsDocumentLe document XPS.
clsjava.lang.ClassL’objet de classe correspondant au type de cible d’hyperlien à exclure.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - La collection contenant les éléments XPS hyperliés.

public static Collection<XpsHyperlinkElement> collectHyperlinks(XpsDocument document)

Collecte les éléments XPS avec des hyperliens de tous les types.

Parameters:

ParamètreTypeDescription
documentXpsDocumentLe document XPS.

Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - La collection contenant les éléments XPS hyperliés.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
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:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int