org.inspektr.common.ioc.validation
Class IsInAnnotationValidator

java.lang.Object
  extended by org.inspektr.common.ioc.validation.IsInAnnotationValidator
All Implemented Interfaces:
AnnotationValidator

public final class IsInAnnotationValidator
extends Object
implements AnnotationValidator

Checks whether a value is in an array of values.

Since:
1.0
Version:
$Revision: 1.1 $ $Date: 2007/04/10 20:02:51 $
Author:
Scott Battaglia

Constructor Summary
IsInAnnotationValidator()
           
 
Method Summary
 Class<? extends Annotation> supports()
           
 void validate(Field field, Annotation annotation, Object bean, String beanName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsInAnnotationValidator

public IsInAnnotationValidator()
Method Detail

validate

public void validate(Field field,
                     Annotation annotation,
                     Object bean,
                     String beanName)
              throws IllegalAccessException
Specified by:
validate in interface AnnotationValidator
Throws:
IllegalAccessException

supports

public Class<? extends Annotation> supports()
Specified by:
supports in interface AnnotationValidator


Copyright © 2007-2012. All Rights Reserved.