Class WholeBeanValidator
- java.lang.Object
-
- org.apache.myfaces.component.validate.WholeBeanValidator
-
- All Implemented Interfaces:
EventListener,Validator
public class WholeBeanValidator extends Object implements Validator
-
-
Field Summary
-
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
-
-
Constructor Summary
Constructors Constructor Description WholeBeanValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValidationGroups(ValidateWholeBeanComponent component)Get the Bean Validation validation groups.voidsetValidationGroups(ValidateWholeBeanComponent component, String validationGroups)Set the Bean Validation validation groups.voidvalidate(FacesContext context, UIComponent component, Object value)
-
-
-
Method Detail
-
validate
public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException
- Specified by:
validatein 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.
-
-