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 Validator
ValidatorException
public void markInitialState()
markInitialState
in interface PartialStateHolder
public void clearInitialState()
clearInitialState
in interface PartialStateHolder
public boolean initialStateMarked()
initialStateMarked
in interface PartialStateHolder
public Object saveState(FacesContext context)
saveState
in interface StateHolder
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
public boolean isTransient()
isTransient
in interface StateHolder
public void setTransient(boolean newTransientValue)
setTransient
in interface StateHolder
public T getWrapped()
getWrapped
in interface FacesWrapper<T>
Copyright © 2020 The Apache Software Foundation. All rights reserved.