| Modifier and Type | Field and Description |
|---|---|
| private transient Validator | delegate
Stores a transient reference to the CDI managed converter. |
| private String | validatorId
Stores the validator-id. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Validator | |
| 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
the transient value. transientValue)Implements javax. |
| public void | validate(FacesContext
the Faces context. facesContext, UIComponent the UI component. component, Object the value. value)Implements javax. |
| delegate | back to summary |
|---|---|
| private transient Validator<T> delegate Stores a transient reference to the CDI managed converter. | |
| validatorId | back to summary |
|---|---|
| private String validatorId Stores the validator-id. | |
| CdiValidator | back to summary |
|---|---|
| public CdiValidator() Constructor. | |
| CdiValidator | back to summary |
|---|---|
| public CdiValidator(String validatorId, Validator<T> delegate) Constructor. | |
| getDelegate | back to summary |
|---|---|
| private Validator Get the delegate.
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements javax. Is the validator 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 validator to transient. We ignore the call as our proxy is always non-transient.
| |
| validate | back to summary |
|---|---|
| public void validate(FacesContext facesContext, UIComponent component, Object value) throws ValidatorException Implements javax. Validate.
| |