org.zkoss.bind.validator
Class CompositeValidator

java.lang.Object
  extended by 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
CompositeValidator(java.util.List<Validator> validator)
           
CompositeValidator(Validator... validators)
           
 
Method Summary
 void validate(ValidationContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeValidator

public CompositeValidator(java.util.List<Validator> validator)

CompositeValidator

public CompositeValidator(Validator... validators)
Method Detail

validate

public void validate(ValidationContext ctx)
Specified by:
validate in interface Validator


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo