com.avaje.ebean.validation.factory
Class RangeValidatorFactory

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

public final class RangeValidatorFactory
extends Object
implements ValidatorFactory

Creates a String length validator.


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

Constructor Detail

RangeValidatorFactory

public RangeValidatorFactory()
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

create

public Validator create(long min,
                        long max,
                        Class<?> type)


Copyright © 2010. All Rights Reserved.