com.sun.rave.web.ui.component.util.factories
Class LocalizedStringFactory

java.lang.Object
  extended by com.sun.rave.web.ui.component.util.factories.ComponentFactoryBase
      extended by com.sun.rave.web.ui.component.util.factories.LocalizedStringFactory
All Implemented Interfaces:
ComponentFactory

public class LocalizedStringFactory
extends ComponentFactoryBase

This factory is responsible for creating a UIComponent that contains a localized message.


Field Summary
static java.lang.String BASE_NAME
          The key for the option representing the base name of the ResourceBundle.
static java.lang.String KEY
          The key for the option representing the ResourceBundle key.
static java.lang.String PARAMETERS
          The key for the option representing the ResourceBundle entries parameters.
 
Constructor Summary
LocalizedStringFactory()
           
 
Method Summary
 javax.faces.component.UIComponent create(javax.faces.context.FacesContext context, LayoutComponent descriptor, javax.faces.component.UIComponent parent)
          This is the factory method responsible for creating the UIComponent.
 
Methods inherited from class com.sun.rave.web.ui.component.util.factories.ComponentFactoryBase
addChild, getEvaluatedOption, setOptions, storeInstanceHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_NAME

public static final java.lang.String BASE_NAME
The key for the option representing the base name of the ResourceBundle.

See Also:
Constant Field Values

KEY

public static final java.lang.String KEY
The key for the option representing the ResourceBundle key.

See Also:
Constant Field Values

PARAMETERS

public static final java.lang.String PARAMETERS
The key for the option representing the ResourceBundle entries parameters.

See Also:
Constant Field Values
Constructor Detail

LocalizedStringFactory

public LocalizedStringFactory()
Method Detail

create

public javax.faces.component.UIComponent create(javax.faces.context.FacesContext context,
                                                LayoutComponent descriptor,
                                                javax.faces.component.UIComponent parent)
This is the factory method responsible for creating the UIComponent.

Parameters:
context - The FacesContext
descriptor - The LayoutComponent descriptor that is associated with the requested UIComponent.
parent - The parent UIComponent
Returns:
The newly created HtmlOutputText