public class CdiConverter extends Object implements Converter, StateHolder
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME| Constructor and Description |
|---|
CdiConverter()
Constructor.
|
CdiConverter(String converterId,
Class forClass,
Converter delegate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsObject(FacesContext facesContext,
UIComponent component,
String value)
Get the object.
|
String |
getAsString(FacesContext facesContext,
UIComponent component,
Object value)
Get the string representation.
|
boolean |
isTransient()
Is the converter transient.
|
void |
restoreState(FacesContext facesContext,
Object state)
Restore the state.
|
Object |
saveState(FacesContext facesContext)
Save the state.
|
void |
setTransient(boolean transientValue)
Set the converter to transient.
|
public Object getAsObject(FacesContext facesContext, UIComponent component, String value)
getAsObject in interface ConverterfacesContext - the Faces context.component - the UI component.value - the value.public String getAsString(FacesContext facesContext, UIComponent component, Object value)
getAsString in interface ConverterfacesContext - the Faces context.component - the UI component.value - the value.public Object saveState(FacesContext facesContext)
saveState in interface StateHolderfacesContext - the Faces context.public void restoreState(FacesContext facesContext, Object state)
restoreState in interface StateHolderfacesContext - the Faces context.state - the state.public boolean isTransient()
isTransient in interface StateHolderpublic void setTransient(boolean transientValue)
We ignore the call as our proxy is always non-transient.
setTransient in interface StateHoldertransientValue - Copyright © 1997–2019 Eclipse Foundation. All rights reserved.