org.springmodules.validation.bean.conf.loader.xml
Class AbstractXmlBeanValidationConfigurationLoader

java.lang.Object
  extended by org.springmodules.validation.bean.conf.loader.xml.AbstractResourceBasedBeanValidationConfigurationLoader
      extended by org.springmodules.validation.bean.conf.loader.xml.AbstractXmlBeanValidationConfigurationLoader
All Implemented Interfaces:
InitializingBean, BeanValidationConfigurationLoader
Direct Known Subclasses:
DefaultXmlBeanValidationConfigurationLoader

public abstract class AbstractXmlBeanValidationConfigurationLoader
extends AbstractResourceBasedBeanValidationConfigurationLoader

An AbstractResourceBasedBeanValidationConfigurationLoader implementation that serves as a base class for all xml baed bean validation configuration loaders.

Author:
Uri Boness

Constructor Summary
AbstractXmlBeanValidationConfigurationLoader()
           
 
Method Summary
protected abstract  Map loadConfigurations(Document document, String resourceName)
          todo: document
protected  Map loadConfigurations(Resource resource)
          todo: document
 
Methods inherited from class org.springmodules.validation.bean.conf.loader.xml.AbstractResourceBasedBeanValidationConfigurationLoader
afterPropertiesSet, createDefaultConfigurationFileName, getResource, getResources, loadConfiguration, loadDefaultConfiguration, setResource, setResources, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractXmlBeanValidationConfigurationLoader

public AbstractXmlBeanValidationConfigurationLoader()
Method Detail

loadConfigurations

protected final Map loadConfigurations(Resource resource)
todo: document

Specified by:
loadConfigurations in class AbstractResourceBasedBeanValidationConfigurationLoader
Parameters:
resource - The resource from which the configurations will be loaded.
Returns:
A map of bean validation configuration by the associated class.
See Also:
AbstractResourceBasedBeanValidationConfigurationLoader.loadConfigurations(org.springframework.core.io.Resource)

loadConfigurations

protected abstract Map loadConfigurations(Document document,
                                          String resourceName)
todo: document



Copyright © 2009. All Rights Reserved.