|
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 ContentSchema
Schema version information for sealed content. When content is sealed, it is sealed against a schema. This schema defines the format of the sealed content. The desktop will support opening content for all the schemas it is aware of. If tries to open content for a schema it does not support it will prompt the user to upgrade their desktop installation. The content schema stores the schema number and the minimum desktop version required to work with that schema version.
Instances of Content Schema objects can be created using the following factory style method(s).
ContentSchema object = createContentSchema
(schemaVersion);
ContentSchema object = createContentSchema
(
schemaVersion,
productVersion);
Collections for ContentSchema
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing ContentSchema
elements.
Collection
<ContentSchema
> object =createContentSchemas
();
Consult the SchemaVersion
property for more information on how this property can relate to ContentSchema
collections.
Content Schema instances can be serialized as an XML document. This XML document can also be used to recreate a Content Schema object. The following XML document shows an example Content Schema in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:ContentSchema xmlns:content="http://xmlns.oracle.com/irm/content">
<schemaVersion>
<version>6.0</version>
</schemaVersion>
</content:ContentSchema>
Method Summary | |
---|---|
ProductVersion |
getProductVersion() Minimum desktop version that must be installed locally in order to seal or unseal content with the corresponding schema version. |
SchemaVersion |
getSchemaVersion() Schema version. |
Method Detail |
---|
SchemaVersion getSchemaVersion()
getContentSchemaBySchemaVersion
.ProductVersion getProductVersion()
|
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 |