org.apache.myfaces.application.cdi
Class ValidatorWrapper
java.lang.Object
org.apache.myfaces.application.cdi.ValidatorWrapper
- All Implemented Interfaces:
- EventListener, PartialStateHolder, StateHolder, FacesWrapper<Validator>, Validator
public class ValidatorWrapper
- extends Object
- implements Validator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidatorWrapper
public ValidatorWrapper(Validator wrapped)
validate
public void validate(FacesContext context,
UIComponent component,
Object value)
throws ValidatorException
- Specified by:
validate
in interface Validator
- Throws:
ValidatorException
markInitialState
public void markInitialState()
- Specified by:
markInitialState
in interface PartialStateHolder
clearInitialState
public void clearInitialState()
- Specified by:
clearInitialState
in interface PartialStateHolder
initialStateMarked
public boolean initialStateMarked()
- Specified by:
initialStateMarked
in interface PartialStateHolder
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
restoreState
public void restoreState(FacesContext context,
Object state)
- Specified by:
restoreState
in interface StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface StateHolder
setTransient
public void setTransient(boolean newTransientValue)
- Specified by:
setTransient
in interface StateHolder
getWrapped
public T getWrapped()
- Specified by:
getWrapped
in interface FacesWrapper<T>
Copyright © 2015 The Apache Software Foundation. All rights reserved.