|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomData
Sealed content custom data. Sealed content can contain data that is not part of the sealed content Classification
. This data is called the custom data and can be considered a set of opaque data entries for use by sealed content integrations.
Instances of Custom Data objects can be created using the following factory style method(s).
CustomData object = createCustomData
(
uuid,
data);
Collections for CustomData
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing CustomData
elements.
Collection
<CustomData
> object =createCustomData
();
Consult the Uuid
property for more information on how this property can relate to CustomData
collections.
Custom Data instances can be serialized as an XML document. This XML document can also be used to recreate a Custom Data object. The following XML document shows an example Custom Data in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:CustomData xmlns:content="http://xmlns.oracle.com/irm/content">
<uuid>2b8cd20a-d4f5-47b6-9097-d12547f2b707</uuid>
<car>
<name>Ford</name>
<colour>Blue</colour>
</car>
</content:CustomData>
Method Summary | |
---|---|
Object |
getData() Custom data. |
UUID |
getUuid() Custom data UUID This UUID value should uniquely identify the type of custom data provided. |
Method Detail |
---|
UUID getUuid()
getCustomDataByUuid
.Object getData()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |