| Modifier and Type | Field and Description |
|---|---|
| private String | converterId
Stores the converter-id (if any). |
| private transient Converter | delegate
Stores a transient reference to the CDI managed converter. |
| private Class | forClass
Stores the for-class (if any). |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CdiConverter(String
the converter id. converterId, Class<T> the for class. forClass, Converter<T> the delegate. delegate)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: the object.the Faces context. facesContext, UIComponent the UI component. component, String the value. value)Implements jakarta. Get the object. |
| public String | Returns: the string.the Faces context. facesContext, UIComponent the UI component. component, Object the value. value)Implements jakarta. Get the string representation. |
| private Converter | |
| public boolean | Returns: falseImplements jakarta. Is the converter transient. |
| public void | restoreState(FacesContext
the Faces context. facesContext, Object the state. state)Implements jakarta. Restore the state. |
| public Object | Returns: the saved object.the Faces context. facesContext)Implements jakarta. Save the state. |
| public void | setTransient(boolean
whether converter should be set to transient transientValue)Implements jakarta. Set the converter to transient. |
| converterId | back to summary |
|---|---|
| private String converterId Stores the converter-id (if any). | |
| delegate | back to summary |
|---|---|
| private transient Converter<T> delegate Stores a transient reference to the CDI managed converter. | |
| forClass | back to summary |
|---|---|
| private Class<?> forClass Stores the for-class (if any). | |
| CdiConverter | back to summary |
|---|---|
| public CdiConverter() Constructor. | |
| CdiConverter | back to summary |
|---|---|
| public CdiConverter(String converterId, Class<T> forClass, Converter<T> delegate) Constructor. | |
| getAsObject | back to summary |
|---|---|
| public Object getAsObject(FacesContext facesContext, UIComponent component, String value) Implements jakarta. Get the object.
| |
| getAsString | back to summary |
|---|---|
| public String getAsString(FacesContext facesContext, UIComponent component, Object value) Implements jakarta. Get the string representation.
| |
| getDelegate | back to summary |
|---|---|
| private Converter Get the delegate.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements jakarta. Is the converter transient.
| |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext facesContext, Object state) Implements jakarta. Restore the state.
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext facesContext) Implements jakarta. Save the state.
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean transientValue) Implements jakarta. Set the converter to transient. We ignore the call as our proxy is always non-transient.
| |