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)` |

    - ### 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`