Package org.zkoss.bind.validator
Class CompositeValidator
- java.lang.Object
-
- org.zkoss.bind.validator.CompositeValidator
-
- All Implemented Interfaces:
java.io.Serializable
,Validator
public class CompositeValidator extends java.lang.Object implements Validator, java.io.Serializable
A composite validator that contains multiple validators and forward the validation to them.- Since:
- 6.0.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositeValidator(java.util.List<Validator> validator)
CompositeValidator(Validator... validators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate(ValidationContext ctx)
-
-
-
Method Detail
-
validate
public void validate(ValidationContext ctx)
-
-