|
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 ContextCookie
Context classification system cookie. When content is sealed using the context classification system the meta-data added to sealed content is a context cookie. A context classification cookie consists of a Context
and a semi-unique ItemCode
.
Instances of Context Cookie objects can be created using the following factory style method(s).
ContextCookie object = createContextCookie
(
context,
itemCode);
Collections for ContextCookie
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing ContextCookie
elements.
Collection
<ContextCookie
> object =createContextCookies
();
Context Cookie instances can be serialized as an XML document. This XML document can also be used to recreate a Context Cookie object. The following XML document shows an example Context Cookie in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<classifications:ContextCookie xmlns:classifications="http://xmlns.oracle.com/irm/classifications">
<context>
<uuid>588403f9-9cff-4cce-88e4-e030cc57282a</uuid>
</context>
<itemCode>
<value>samples.doc</value>
<time>2007-05-10T12:00:00.000+00:00</time>
</itemCode>
</classifications:ContextCookie>
Classification
Method Summary | |
---|---|
Context |
getContext() The context. |
ItemCode |
getItemCode() The item code. |
Method Detail |
---|
Context getContext()
ItemCode getItemCode()
|
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 |