org.richfaces.validator
Class BeanValidator
java.lang.Object
org.richfaces.validator.ObjectValidator
org.richfaces.validator.BeanValidator
public class BeanValidator
- extends ObjectValidator
- Author:
- asmirnov
Method Summary |
protected Validator |
getValidator(javax.faces.context.FacesContext facesContext)
|
protected java.util.Collection<java.lang.String> |
validate(javax.faces.context.FacesContext facesContext,
java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Set<java.lang.String> profiles)
Validate bean property for a new value. |
java.util.Collection<java.lang.String> |
validateGraph(javax.faces.context.FacesContext context,
java.lang.Object value,
java.util.Set<java.lang.String> profiles)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validate
protected java.util.Collection<java.lang.String> validate(javax.faces.context.FacesContext facesContext,
java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Set<java.lang.String> profiles)
- Description copied from class:
ObjectValidator
- Validate bean property for a new value.
- Specified by:
validate
in class ObjectValidator
- Parameters:
facesContext
- TODObase
- - beanproperty
- - bean property name.value
- new value.profiles
- TODO
- Returns:
- null for a valid value, array of the validation messages
othervise.
validateGraph
public java.util.Collection<java.lang.String> validateGraph(javax.faces.context.FacesContext context,
java.lang.Object value,
java.util.Set<java.lang.String> profiles)
- Specified by:
validateGraph
in class ObjectValidator
getValidator
protected Validator getValidator(javax.faces.context.FacesContext facesContext)
Copyright © 2010. All Rights Reserved.