com.avaje.ebean.validation.factory
Class NotEmptyValidatorFactory

java.lang.Object
  extended by com.avaje.ebean.validation.factory.NotEmptyValidatorFactory
All Implemented Interfaces:
ValidatorFactory

public class NotEmptyValidatorFactory
extends Object
implements ValidatorFactory

Creates NotEmpty validators depending on the type.

Only valid for Strings, Lists, Sets, Collections and Maps.


Constructor Summary
NotEmptyValidatorFactory()
           
 
Method Summary
 Validator create(Annotation annotation, Class<?> type)
          Create the validator given the annotation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotEmptyValidatorFactory

public NotEmptyValidatorFactory()
Method Detail

create

public Validator create(Annotation annotation,
                        Class<?> type)
Description copied from interface: ValidatorFactory
Create the validator given the annotation.

Specified by:
create in interface ValidatorFactory


Copyright © 2010. All Rights Reserved.