java.lang.Object
com.sun.faces.cdi.CdiConverter
- 
Field SummaryFields inherited from interface jakarta.faces.convert.ConverterDATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE_PARAM_NAME
- 
Constructor SummaryConstructorsConstructorDescriptionConstructor.CdiConverter(String converterId, Class forClass, Converter delegate) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptiongetAsObject(FacesContext facesContext, UIComponent component, String value) Get the object.getAsString(FacesContext facesContext, UIComponent component, Object value) Get the string representation.booleanIs the converter transient.voidrestoreState(FacesContext facesContext, Object state) Restore the state.saveState(FacesContext facesContext) Save the state.voidsetTransient(boolean transientValue) Set the converter to transient.
- 
Constructor Details- 
CdiConverterpublic CdiConverter()Constructor.
- 
CdiConverter
 
- 
- 
Method Details- 
getAsObjectGet the object.- Specified by:
- getAsObjectin interface- Converter
- Parameters:
- facesContext- the Faces context.
- component- the UI component.
- value- the value.
- Returns:
- the object.
 
- 
getAsStringGet the string representation.- Specified by:
- getAsStringin interface- Converter
- Parameters:
- facesContext- the Faces context.
- component- the UI component.
- value- the value.
- Returns:
- the string.
 
- 
saveStateSave the state.- Specified by:
- saveStatein interface- StateHolder
- Parameters:
- facesContext- the Faces context.
- Returns:
- the saved object.
 
- 
restoreStateRestore the state.- Specified by:
- restoreStatein interface- StateHolder
- Parameters:
- facesContext- the Faces context.
- state- the state.
 
- 
isTransientpublic boolean isTransient()Is the converter transient.- Specified by:
- isTransientin interface- StateHolder
- Returns:
- false
 
- 
setTransientpublic void setTransient(boolean transientValue) Set the converter to transient.We ignore the call as our proxy is always non-transient. - Specified by:
- setTransientin interface- StateHolder
- Parameters:
- transientValue- whether converter should be set to transient
 
 
-