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 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  String constructMessage(Field field, String beanName)
           
 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

NotEmptyAnnotationValidator

public NotEmptyAnnotationValidator()
Method Detail

validate

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

constructMessage

protected String constructMessage(Field field,
                                  String beanName)

supports

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


Copyright © 2007-2012. All Rights Reserved.