public class FacesConverterCDIWrapper extends Object implements PartialStateHolder, Converter, FacesWrapper<Converter>
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
Constructor and Description |
---|
FacesConverterCDIWrapper() |
FacesConverterCDIWrapper(Class<? extends Converter> converterClass,
Class<?> forClass,
String converterId) |
Modifier and Type | Method and Description |
---|---|
void |
clearInitialState() |
Object |
getAsObject(FacesContext context,
UIComponent component,
String value) |
String |
getAsString(FacesContext context,
UIComponent component,
Object value) |
Converter |
getWrapped() |
boolean |
initialStateMarked() |
boolean |
isTransient() |
void |
markInitialState() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setTransient(boolean newTransientValue) |
public Object getAsObject(FacesContext context, UIComponent component, String value) throws ConverterException
getAsObject
in interface Converter
ConverterException
public String getAsString(FacesContext context, UIComponent component, Object value) throws ConverterException
getAsString
in interface Converter
ConverterException
public Converter getWrapped()
getWrapped
in interface FacesWrapper<Converter>
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public boolean isTransient()
isTransient
in interface StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface StateHolder
public void clearInitialState()
clearInitialState
in interface PartialStateHolder
public boolean initialStateMarked()
initialStateMarked
in interface PartialStateHolder
public void markInitialState()
markInitialState
in interface PartialStateHolder
Copyright © 2020 The Apache Software Foundation. All rights reserved.