public class ValidatorWrapper extends Object implements Validator
NOT_IN_RANGE_MESSAGE_ID| Constructor and Description |
|---|
ValidatorWrapper(Validator wrapped) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearInitialState() |
T |
getWrapped() |
boolean |
initialStateMarked() |
boolean |
isTransient() |
void |
markInitialState() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setTransient(boolean newTransientValue) |
void |
validate(FacesContext context,
UIComponent component,
Object value) |
public ValidatorWrapper(Validator wrapped)
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
validate in interface ValidatorValidatorExceptionpublic void markInitialState()
markInitialState in interface PartialStateHolderpublic void clearInitialState()
clearInitialState in interface PartialStateHolderpublic boolean initialStateMarked()
initialStateMarked in interface PartialStateHolderpublic Object saveState(FacesContext context)
saveState in interface StateHolderpublic void restoreState(FacesContext context, Object state)
restoreState in interface StateHolderpublic boolean isTransient()
isTransient in interface StateHolderpublic void setTransient(boolean newTransientValue)
setTransient in interface StateHolderpublic T getWrapped()
getWrapped in interface FacesWrapper<T>Copyright © 2021 The Apache Software Foundation. All rights reserved.