org.apache.bval.constraints
Class NotEmptyValidatorForCollection
java.lang.Object
org.apache.bval.constraints.NotEmptyValidatorForCollection
- All Implemented Interfaces:
- ConstraintValidator<NotEmpty,Collection<?>>
public class NotEmptyValidatorForCollection
- extends Object
- implements ConstraintValidator<NotEmpty,Collection<?>>
Description:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotEmptyValidatorForCollection
public NotEmptyValidatorForCollection()
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-2014 The Apache Software Foundation. All Rights Reserved.