org.springmodules.validation.commons
Class ConfigurableBeanValidator

java.lang.Object
  extended by org.springmodules.validation.commons.AbstractBeanValidator
      extended by org.springmodules.validation.commons.ConfigurableBeanValidator
All Implemented Interfaces:
Validator

public class ConfigurableBeanValidator
extends AbstractBeanValidator

Author:
Rob Harrop

Constructor Summary
ConfigurableBeanValidator()
           
 
Method Summary
protected  String getFormName(Class aClass)
          Returns the name of the Commons Validator Form used to validate instances of the supplied class.
 void setFormName(String formName)
           
 
Methods inherited from class org.springmodules.validation.commons.AbstractBeanValidator
cleanupValidator, getLocale, initValidator, setValidatorFactory, supports, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableBeanValidator

public ConfigurableBeanValidator()
Method Detail

getFormName

protected String getFormName(Class aClass)
Description copied from class: AbstractBeanValidator
Returns the name of the Commons Validator Form used to validate instances of the supplied class.

Specified by:
getFormName in class AbstractBeanValidator
Returns:
the form name that Commons Validator can use to look up a form

setFormName

public void setFormName(String formName)
Parameters:
formName - The formName to set.


Copyright © 2009. All Rights Reserved.