|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Label
A label for something. A label comprises of a name and a description. The label also specifies a locale.
Instances of Label objects can be created using the following factory style method(s).
Label object = createLabel
(
locale,
name);
Label object = createLabel
(
locale,
name,
description);
Collections for Label
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing Label
elements.
Collection
<Label
> object =createLabels
();
Consult the Locale
property for more information on how this property can relate to Label
collections.
Label instances can be serialized as an XML document. This XML document can also be used to recreate a Label object. The following XML document shows an example Label in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:Label xmlns:core="http://xmlns.oracle.com/irm/core">
<locale>en</locale>
<name>label</name>
<description>a description</description>
</core:Label>
Method Summary | |
---|---|
String |
getDescription() Description. |
Locale |
getLocale() Locale. |
String |
getName() Name. |
Method Detail |
---|
Locale getLocale()
getLabelByLocale
.String getName()
String getDescription()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |