public class DummyBeanValidatorService extends Object implements BeanValidatorService
| Constructor and Description |
|---|
DummyBeanValidatorService() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ValidatorDescriptor> |
getConstrains(javax.faces.context.FacesContext context,
javax.el.ValueExpression expression,
String message,
Class<?>... groups)
Get all constrains for given EL-expression |
Collection<String> |
validateExpression(javax.faces.context.FacesContext context,
javax.el.ValueExpression expression,
Object newValue,
Class<?>... groups)
Validate expression for a new value. |
Collection<String> |
validateObject(javax.faces.context.FacesContext context,
Object object,
Class<?>... groups)
Validate entire object. |
public Collection<ValidatorDescriptor> getConstrains(javax.faces.context.FacesContext context, javax.el.ValueExpression expression, String message, Class<?>... groups)
BeanValidatorServiceGet all constrains for given EL-expression
getConstrains in interface BeanValidatorServicemessage - TODOpublic Collection<String> validateExpression(javax.faces.context.FacesContext context, javax.el.ValueExpression expression, Object newValue, Class<?>... groups)
BeanValidatorServiceValidate expression for a new value.
validateExpression in interface BeanValidatorServicepublic Collection<String> validateObject(javax.faces.context.FacesContext context, Object object, Class<?>... groups)
BeanValidatorServiceValidate entire object.
validateObject in interface BeanValidatorServiceCopyright © 2014 JBoss by Red Hat. All rights reserved.