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 java.lang.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
 java.lang.Class<? extends java.lang.annotation.Annotation> supports()
           
 void validate(java.lang.reflect.Field field, java.lang.annotation.Annotation annotation, java.lang.Object bean, java.lang.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(java.lang.reflect.Field field,
                     java.lang.annotation.Annotation annotation,
                     java.lang.Object bean,
                     java.lang.String beanName)
              throws java.lang.IllegalAccessException
Specified by:
validate in interface AnnotationValidator
Throws:
java.lang.IllegalAccessException

supports

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


Copyright © 2007-2011. All Rights Reserved.