org.loom.validator
Class RequiredMapValidator

java.lang.Object
  extended by org.loom.validator.AbstractPropertyValidator
      extended by org.loom.validator.AbstractRequiredValidator<java.util.Map<?,?>>
          extended by org.loom.validator.RequiredMapValidator
All Implemented Interfaces:
FormInputDecorator, PropertyValidator

public class RequiredMapValidator
extends AbstractRequiredValidator<java.util.Map<?,?>>

Validates Map classes


Field Summary
 
Fields inherited from class org.loom.validator.AbstractRequiredValidator
REQUIRED_BOOLEAN_MESSAGE, REQUIRED_COLLECTION_MESSAGE, REQUIRED_MESSAGE
 
Constructor Summary
RequiredMapValidator()
           
 
Method Summary
protected  boolean isEmpty(java.util.Map<?,?> value)
           
 
Methods inherited from class org.loom.validator.AbstractRequiredValidator
decorate, getDefaultRequiredMessage, setDefaultRequiredMessage, toString, validate
 
Methods inherited from class org.loom.validator.AbstractPropertyValidator
getMessagePrefix, getOverridenMessageKey, getPropertyPath, isBindMessages, isValidateCollectionContainer, pushPropertyPath, setBindMessages, setMessagePrefix, setOverridenMessageKey, setPropertyPath, setValidateCollectionContainer, validateCollectionContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequiredMapValidator

public RequiredMapValidator()
Method Detail

isEmpty

protected boolean isEmpty(java.util.Map<?,?> value)
Specified by:
isEmpty in class AbstractRequiredValidator<java.util.Map<?,?>>
Returns:
true if the value passed as parameter is empty