|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.component.util.event.OutputTypeManager
public class OutputTypeManager
This class provides the functionality for the OutputTypeManager. The OutputTypeManager manages the various OutputTypes that can be used. The OutputTypes are managed statically.
Field Summary | |
---|---|
static java.lang.String |
OUTPUT_TYPE_MANAGER_KEY
This constant defines the layout definition manager implementation key for initParams. |
static java.lang.String |
REQUEST_ATTRIBUTE_TYPE
|
static java.lang.String |
SESSION_ATTRIBUTE_TYPE
|
Constructor Summary | |
---|---|
protected |
OutputTypeManager()
Constructor. |
Method Summary | |
---|---|
static OutputTypeManager |
getInstance()
|
static OutputTypeManager |
getManager(javax.faces.context.FacesContext context)
This is a factory method for obtaining an OutputTypeManager instance. |
static OutputTypeManager |
getManager(java.lang.String className)
This method is a singleton factory method for obtaining an instance of a OutputTypeManager. |
OutputType |
getOutputType(java.lang.String name)
This method retrieves an OutputType. |
void |
setOutputType(java.lang.String name,
OutputType outputType)
This method sets an OutputType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OUTPUT_TYPE_MANAGER_KEY
This constant defines the layout definition manager implementation
key for initParams. The value for this initParam should be the
full class name of an OutputTypeManager
.
("outputTypeManagerImpl")
public static final java.lang.String REQUEST_ATTRIBUTE_TYPE
public static final java.lang.String SESSION_ATTRIBUTE_TYPE
Constructor Detail |
---|
protected OutputTypeManager()
Method Detail |
---|
public static OutputTypeManager getInstance()
public static OutputTypeManager getManager(javax.faces.context.FacesContext context)
This is a factory method for obtaining an OutputTypeManager
instance. This implementation uses the external context's
initParams to look for the OutputTypeManager class. If it
exists, the specified concrete OutputTypeManager class will
be used. Otherwise, the default will be used -- which is an
instance of this class. The initParam key is:
OUTPUT_TYPE_MANAGER_KEY
.
context
- The FacesContextOUTPUT_TYPE_MANAGER_KEY
public static OutputTypeManager getManager(java.lang.String className)
public OutputType getOutputType(java.lang.String name)
This method retrieves an OutputType.
name
- The name of the OutputType.
public void setOutputType(java.lang.String name, OutputType outputType)
This method sets an OutputType.
name
- The name of the OutputType.outputType
- The OutputType.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |