Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.content.schema
Class ContentSchema

java.lang.Object
  extended by oracle.irm.engine.types.content.schema.ContentSchema

All Implemented Interfaces:
Serializable

public class ContentSchema
extends Object
implements Serializable

Content Schema type. 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.

XML Serialization

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>

See Also:
Serialized Form

Constructor Summary
ContentSchema()
          No argument constructor.
ContentSchema(SchemaVersion schemaVersion)
          Constructor.

 

Method Summary
 SchemaVersion getSchemaVersion()
          Schema version.
 void setSchemaVersion(SchemaVersion value)
          Schema version.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ContentSchema

public ContentSchema()
No argument constructor.

ContentSchema

public ContentSchema(SchemaVersion schemaVersion)
Constructor.

Method Detail

getSchemaVersion

public SchemaVersion getSchemaVersion()
Schema version. e.g. 5.0.0.
Returns:
the value of the property.

setSchemaVersion

public void setSchemaVersion(SchemaVersion value)
Schema version. e.g. 5.0.0.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.