HyperlinkCollector
Inheritance: java.lang.Object
public class HyperlinkCollector
The class provides collecting hyperlinked XPS elements from the current page of an XPS document.
Methods
Method | Description |
---|---|
Collects XPS elements with hyperlinks of a certain type. | |
collectHyperlinks(XpsDocument document) | Collects XPS elements with hyperlinks of all types. |
equals(Object arg0) | |
getClass() | |
hashCode() | |
notify() | |
notifyAll() | |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
collectHyperlinks(XpsDocument document, Class cls)
public static Collection<XpsHyperlinkElement> <T>collectHyperlinks(XpsDocument document, Class<T> cls)
Collects XPS elements with hyperlinks of a certain type.
Parameters:
Parameter | Type | Description |
---|---|---|
document | XpsDocument | The XPS document. |
cls | java.lang.Class | The class object corresponding to the hyperlink target type to filter out. |
Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - The collection containing hyperlinked XPS elements.
collectHyperlinks(XpsDocument document)
public static Collection<XpsHyperlinkElement> collectHyperlinks(XpsDocument document)
Collects XPS elements with hyperlinks of all types.
Parameters:
Parameter | Type | Description |
---|---|---|
document | XpsDocument | The XPS document. |
Returns: java.util.Collection<com.aspose.xps.XpsHyperlinkElement> - The collection containing hyperlinked XPS elements.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |