public class ConverterWrapper extends Object implements Converter
DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
Constructor and Description |
---|
ConverterWrapper(Converter wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
clearInitialState() |
Object |
getAsObject(FacesContext facesContext,
UIComponent component,
String value) |
String |
getAsString(FacesContext facesContext,
UIComponent component,
Object value) |
T |
getWrapped() |
boolean |
initialStateMarked() |
boolean |
isTransient() |
void |
markInitialState() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setTransient(boolean newTransientValue) |
public ConverterWrapper(Converter wrapped)
public Object getAsObject(FacesContext facesContext, UIComponent component, String value) throws ConverterException
getAsObject
in interface Converter
ConverterException
public String getAsString(FacesContext facesContext, UIComponent component, Object value) throws ConverterException
getAsString
in interface Converter
ConverterException
public void markInitialState()
markInitialState
in interface PartialStateHolder
public void clearInitialState()
clearInitialState
in interface PartialStateHolder
public boolean initialStateMarked()
initialStateMarked
in interface PartialStateHolder
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 T getWrapped()
getWrapped
in interface FacesWrapper<T>
Copyright © 2020 The Apache Software Foundation. All rights reserved.