org.apache.myfaces.application.cdi
Class ConverterWrapper
java.lang.Object
org.apache.myfaces.application.cdi.ConverterWrapper
- All Implemented Interfaces:
- PartialStateHolder, StateHolder, Converter, FacesWrapper<Converter>
public class ConverterWrapper
- extends Object
- implements Converter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterWrapper
public ConverterWrapper(Converter wrapped)
getAsObject
public Object getAsObject(FacesContext facesContext,
UIComponent component,
String value)
throws ConverterException
- Specified by:
getAsObject
in interface Converter
- Throws:
ConverterException
getAsString
public String getAsString(FacesContext facesContext,
UIComponent component,
Object value)
throws ConverterException
- Specified by:
getAsString
in interface Converter
- Throws:
ConverterException
markInitialState
public void markInitialState()
- Specified by:
markInitialState
in interface PartialStateHolder
clearInitialState
public void clearInitialState()
- Specified by:
clearInitialState
in interface PartialStateHolder
initialStateMarked
public boolean initialStateMarked()
- Specified by:
initialStateMarked
in interface PartialStateHolder
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface StateHolder
getWrapped
public T getWrapped()
- Specified by:
getWrapped
in interface FacesWrapper<T>
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.