org.inspektr.common.ioc.validation
Class NotEmptyAnnotationValidator

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

public final class NotEmptyAnnotationValidator
extends java.lang.Object
implements AnnotationValidator

Since:
1.0
Version:
$Revision: 1.3 $ $Date: 2007/04/24 18:11:45 $
Author:
Scott Battaglia

Constructor Summary
NotEmptyAnnotationValidator()
           
 
Method Summary
protected  java.lang.String constructMessage(java.lang.reflect.Field field, java.lang.String beanName)
           
 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

NotEmptyAnnotationValidator

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

constructMessage

protected java.lang.String constructMessage(java.lang.reflect.Field field,
                                            java.lang.String beanName)

supports

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


Copyright © 2007-2011. All Rights Reserved.