org.apache.bval.constraints
Class NotEmptyValidatorForCollection

java.lang.Object
  extended by org.apache.bval.constraints.NotEmptyValidatorForCollection
All Implemented Interfaces:
ConstraintValidator<NotEmpty,Collection<?>>

public class NotEmptyValidatorForCollection
extends Object
implements ConstraintValidator<NotEmpty,Collection<?>>

Description:


Constructor Summary
NotEmptyValidatorForCollection()
           
 
Method Summary
 void initialize(NotEmpty constraintAnnotation)
           
 boolean isValid(Collection<?> value, ConstraintValidatorContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotEmptyValidatorForCollection

public NotEmptyValidatorForCollection()
Method Detail

initialize

public void initialize(NotEmpty constraintAnnotation)
Specified by:
initialize in interface ConstraintValidator<NotEmpty,Collection<?>>

isValid

public boolean isValid(Collection<?> value,
                       ConstraintValidatorContext context)
Specified by:
isValid in interface ConstraintValidator<NotEmpty,Collection<?>>


Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.