|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.sun.rave.faces.component.EncodingComponent
public class EncodingComponent
JavaServer Faces component that enables an application to dynamically
adjust the character encoding of a response, based on the current view's
Locale
setting.
Field Summary |
---|
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
EncodingComponent()
Create a new EncodingComponent with default properties. |
Method Summary | |
---|---|
java.lang.String |
getFamily()
Return the component family to which this component belongs. |
java.lang.String |
getValue()
Return the character encoding value to be used for this response. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
Restore the state of this component from the specified object. |
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
Return an object representing the saved state of this component. |
void |
setValue(java.lang.String value)
Set the character encoding value to use for this response. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingComponent()
Create a new EncodingComponent
with default properties.
Method Detail |
---|
public java.lang.String getFamily()
Return the component family to which this component belongs.
getFamily
in class javax.faces.component.UIComponent
public java.lang.String getValue()
Return the character encoding value to be used for this response.
public void setValue(java.lang.String value)
Set the character encoding value to use for this response.
value
- New character encoding valuepublic void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
Restore the state of this component from the specified object.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
context
- FacesContext
for the current requeststate
- State object from which to restore our statepublic java.lang.Object saveState(javax.faces.context.FacesContext context)
Return an object representing the saved state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
context
- FacesContext
for the current request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |