Class WholeBeanValidator
- java.lang.Object
-
- org.apache.myfaces.component.validate.WholeBeanValidator
-
- All Implemented Interfaces:
Validator
,EventListener
public class WholeBeanValidator extends Object implements Validator
-
-
Constructor Summary
Constructors Constructor Description WholeBeanValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValidationGroups(ValidateWholeBeanComponent component)
Get the Bean Validation validation groups.void
setValidationGroups(ValidateWholeBeanComponent component, String validationGroups)
Set the Bean Validation validation groups.void
validate(FacesContext context, UIComponent component, Object value)
-
-
-
Method Detail
-
validate
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
- Specified by:
validate
in interfaceValidator
- Throws:
ValidatorException
-
getValidationGroups
@JSFProperty public String getValidationGroups(ValidateWholeBeanComponent component)
Get the Bean Validation validation groups.- Returns:
- The validation groups String.
-
setValidationGroups
public void setValidationGroups(ValidateWholeBeanComponent component, String validationGroups)
Set the Bean Validation validation groups.- Parameters:
validationGroups
- The validation groups String, separated byBeanValidator.VALIDATION_GROUPS_DELIMITER
.
-
-