public class HibernateValidator extends ObjectValidator
ObjectValidator.BasePropertyPair, ObjectValidator.ValidatorKeyINPUT_PARAMETERS_IS_NOT_CORRECT, VALIDATOR_PARAM| Modifier and Type | Method and Description |
|---|---|
protected |
createValidator(java.lang.Class<? extends java.lang.Object> beanClass,
java.util.Locale locale) |
protected |
getValidator(java.lang.Class<? extends java.lang.Object> beanClass,
java.util.Locale locale)
Get ( or create )
ClassValidator for a given bean class. |
protected java.lang.String[] |
validate(java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale,
java.util.Set<java.lang.String> profiles)
Validate bean property for a new value.
|
protected InvalidValue[] |
validateBean(java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale)
Validate bean property of the base object aganist new value
|
protected InvalidValue[] |
validateClass(java.lang.Class<? extends java.lang.Object> beanClass,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale)
Validate bean property in the base class aganist new value.
|
java.lang.String[] |
validateGraph(javax.faces.context.FacesContext context,
java.lang.Object value,
java.util.Set<java.lang.String> profiles) |
calculateLocale, createInstance, createValidationResolver, getCurrentResourceBundle, getInstance, validatepublic java.lang.String[] validateGraph(javax.faces.context.FacesContext context,
java.lang.Object value,
java.util.Set<java.lang.String> profiles)
validateGraph in class ObjectValidatorprotected InvalidValue[] validateClass(java.lang.Class<? extends java.lang.Object> beanClass,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale)
beanClass - property - value - protectedgetValidator(java.lang.Class<? extends java.lang.Object> beanClass, java.util.Locale locale)
ClassValidator for a given bean class.beanClass - protectedcreateValidator(java.lang.Class<? extends java.lang.Object> beanClass, java.util.Locale locale)
protected java.lang.String[] validate(java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale,
java.util.Set<java.lang.String> profiles)
ObjectValidatorvalidate in class ObjectValidatorbase - - beanproperty - - bean property name.value - new value.profiles - TODOprotected InvalidValue[] validateBean(java.lang.Object base,
java.lang.String property,
java.lang.Object value,
java.util.Locale locale)
base - property - value - Copyright © 2015. All Rights Reserved.