public class FacesBeanValidator extends Object implements Serializable, javax.faces.validator.Validator, org.richfaces.validator.GraphValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_VALIDATOR_TYPE |
| Constructor and Description |
|---|
FacesBeanValidator() |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getGroups() |
String |
getSummary() |
boolean |
isValidateFields()
|
void |
setGroups(Class<?>... profiles) |
void |
setGroups(javax.el.ValueExpression profilesExpression) |
void |
setSummary(String summary) |
void |
setSummary(javax.el.ValueExpression summary) |
void |
setValidateFields(boolean ignoreErrors)
|
void |
validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object convertedValue) |
Collection<String> |
validateGraph(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object value,
Class<?>[] groups) |
public static final String BEAN_VALIDATOR_TYPE
public String getSummary()
public void setSummary(javax.el.ValueExpression summary)
summary - the summary to setpublic void setSummary(String summary)
summary - the summary to setpublic void validate(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object convertedValue)
throws javax.faces.validator.ValidatorException
validate in interface javax.faces.validator.Validatorjavax.faces.validator.ValidatorExceptionpublic Collection<String> validateGraph(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value, Class<?>[] groups) throws javax.faces.validator.ValidatorException
validateGraph in interface org.richfaces.validator.GraphValidatorjavax.faces.validator.ValidatorExceptionpublic Class<?>[] getGroups()
public void setGroups(Class<?>... profiles)
profiles - the profiles to setpublic void setGroups(javax.el.ValueExpression profilesExpression)
public boolean isValidateFields()
public void setValidateFields(boolean ignoreErrors)
ignoreErrors - the ignoreErrors to setCopyright © 2012 JBoss by Red Hat. All Rights Reserved.