Skip navigation links

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

E12907-01


oracle.irm.engine.core.general
Class LabelFactory

java.lang.Object
  extended by oracle.irm.engine.core.general.LabelFactory


public final class LabelFactory
extends Object

Label factory. This class provides methods for creating new instances of Label objects.


Method Summary
static Label createLabel(Locale locale, String name)
          Create a label with no description.
static Label createLabel(Locale locale, String name, String description)
          Create a label with a description.

 

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

 

Method Detail

createLabel

public static Label createLabel(Locale locale,
                                String name)
Create a label with no description.
Parameters:
locale - locale for the label.
name - label name.
Returns:
a new Label instance.

createLabel

public static Label createLabel(Locale locale,
                                String name,
                                String description)
Create a label with a description.
Parameters:
locale - locale for the label.
name - label name.
description - label description. This parameter is optional, it is valid to pass null.
Returns:
a new Label instance.

Skip navigation links

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

E12907-01


Copyright © 2010, Oracle. All rights reserved.