|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HyperLink
A hyper-link. A hyper-link contains all the information required to present a hyper link to a user - the URI, a name and an optional description.
Instances of Hyper Link objects can be created using the following factory style method(s).
HyperLink object = createHyperLink
(
label,
uri);
Collections for HyperLink
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing HyperLink
elements.
Collection
<HyperLink
> object =createHyperLinks
();
Hyper Link instances can be serialized as an XML document. This XML document can also be used to recreate a Hyper Link object. The following XML document shows an example Hyper Link in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:HyperLink xmlns:core="http://xmlns.oracle.com/irm/core">
<label>
<locale>en</locale>
<name>label</name>
<description>description</description>
</label>
<uri>http://irm.example.com/label.html</uri>
</core:HyperLink>
Method Summary | |
---|---|
Label |
getLabel() The label. |
URI |
getUri() The hyper-link URI. |
Method Detail |
---|
Label getLabel()
URI getUri()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |