import "Accessibility_Hyperlink.idl";
Public Member Functions | |
| Accessible | getObject (in long i) |
| Gets the i'th object, (where i is an integer between 0 and Hyperlink::numAnchors - 1, inclusive) associated with a Hyperlink. | |
| string | getURI (in long i) |
| Obtain a resource locator ('URI') which can be used to access the content to which this link "points" or is connected. | |
| boolean | isValid () |
| Check the hyperlink to see if a connection to its backing content can be established, or if its URI is valid. | |
Public Attributes | |
| readonly attribute short | nAnchors |
| the number of separate anchors associated with this Hyperlink | |
| readonly attribute long | startIndex |
| the starting offset within the containing Hypertext content with which this Hyperlink is associated | |
| readonly attribute long | endIndex |
| the ending offset within the containing Hypertext content with which this Hyperlink is associated; that is, the offset of the first element past the range within the Hypertext associated with this Hyperlink. | |
Hyperlinks may have multiple "anchors", where an anchor corresponds to a reference to a particular resource with a corresponding resource identified (URI). Hyperlinks may be queried for their URIs, or queried for the objects corresponding to their anchors. The objects thus obtained are instances of Accessible, and may be queried, and manipulated via the Action interface.
Definition at line 47 of file Accessibility_Hyperlink.idl.
|
|
Gets the i'th object, (where i is an integer between 0 and Hyperlink::numAnchors - 1, inclusive) associated with a Hyperlink. The objects returned are usually actionable (i.e. they should implement Accessibility::Action), and the available actions often include "open", "bookmark", "save link as", etc. They may also implement Accessibility::StreamableContent, although clients can normally use getURI to obtain a resource locator via which the object's data may be accessed.
|
|
|
Obtain a resource locator ('URI') which can be used to access the content to which this link "points" or is connected.
|
|
|
Check the hyperlink to see if a connection to its backing content can be established, or if its URI is valid.
|
|
|
the number of separate anchors associated with this Hyperlink
Definition at line 49 of file Accessibility_Hyperlink.idl. |
|
|
the starting offset within the containing Hypertext content with which this Hyperlink is associated
Definition at line 54 of file Accessibility_Hyperlink.idl. |
|
|
the ending offset within the containing Hypertext content with which this Hyperlink is associated; that is, the offset of the first element past the range within the Hypertext associated with this Hyperlink.
Definition at line 61 of file Accessibility_Hyperlink.idl. |
1.4.3