com.avaje.ebean.validation.factory
Class AssertTrueValidatorFactory

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

public class AssertTrueValidatorFactory
extends Object
implements ValidatorFactory

Creates a AssertTrue validator.

Note that there is actually only one instance of this validator as it is thread-safe.


Nested Class Summary
static class AssertTrueValidatorFactory.AssertTrueValidator
           
 
Field Summary
static Validator ASSERT_TRUE
           
 
Constructor Summary
AssertTrueValidatorFactory()
           
 
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
 

Field Detail

ASSERT_TRUE

public static final Validator ASSERT_TRUE
Constructor Detail

AssertTrueValidatorFactory

public AssertTrueValidatorFactory()
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.