| 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 javax. |
| public String | Returns: the string.the Faces context. facesContext, UIComponent the UI component. component, Object the value. value)Implements javax. |
| private Converter | |
| public boolean | Returns: falseImplements javax. |
| public void | restoreState(FacesContext
the Faces context. facesContext, Object the state. state)Implements javax. |
| public Object | Returns: the saved object.the Faces context. facesContext)Implements javax. |
| public void | setTransient(boolean transientValue)
Implements javax. |
| 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<T> 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 javax. Get the object.
| |
| getAsString | back to summary |
|---|---|
| public String getAsString(FacesContext facesContext, UIComponent component, Object value) Implements javax. Get the string representation.
| |
| getDelegate | back to summary |
|---|---|
| private Converter Get the delegate.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements javax. Is the converter transient.
| |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext facesContext, Object state) Implements javax. Restore the state.
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext facesContext) Implements javax. Save the state.
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean transientValue) Implements javax. Set the converter to transient. We ignore the call as our proxy is always non-transient.
| |