Skip navigation links

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

E12907-03


oracle.irm.engine.types.content.source
Class Source

java.lang.Object
  extended by oracle.irm.engine.types.content.source.Source

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BufferSource, FileSource, ResourceSource, URLSource

public abstract class Source
extends Object
implements Serializable

Source type. When content is sealed the sealing algorithms need to know the format/type of the content and, if possible, the size of the content. A source provides these details. Various forms of source are available depending on how the content is to be provided to the sealing algorithms. For example, if a file is to be sealed a FileSource can be used.

XML Serialization

Source instances can be serialized as an XML document. This XML document can also be used to recreate a Source object. The following XML document shows an example Source in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<content:BufferSource xmlns:content="http://xmlns.oracle.com/irm/content">
    <buffer>VW5pdCBUZXN0aW5n</buffer>
    <mimeType>text/plain</mimeType>
</content:BufferSource>

See Also:
SealingOperations, Serialized Form

Constructor Summary
Source()
          No argument constructor.

 

Method Summary

 

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

 

Constructor Detail

Source

public Source()
No argument constructor.

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.