|
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 Feature
An operation that can be performed on content, such as opening or printing.
Instances of Feature objects can be created using the following factory style method(s).
Feature object = createFeature(id);
Feature object = createFeature(
id,
use,
record);
Collections for Feature objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing Feature elements.
Collection<Feature> object =createFeatures();
Consult the Id property for more information on how this property can relate to Feature collections.
Feature instances can be serialized as an XML document. This XML document can also be used to recreate a Feature object. The following XML document shows an example Feature in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:Feature xmlns:core="http://xmlns.oracle.com/irm/core">
<id>oracle.irm.generic.Open</id>
<use>IMMEDIATE</use>
<record>true</record>
</core:Feature>
| Nested Class Summary | |
|---|---|
static class |
Feature.SupportFeature support. |
static class |
Feature.UseHow this feature's usage is advertised to the user. |
| Method Summary | |
|---|---|
String |
getId()The feature identity. |
boolean |
getRecord()Whether use of this feature is recorded. |
Feature.Use |
getUse()How this feature is obtained. |
| Method Detail |
|---|
String getId()
getFeatureById.Feature.Use getUse()
boolean getRecord()
JournalEntry
|
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 | |||||||||