org.apache.torque.generator.configuration.outlet
Class OutletConfigurationXmlParser
java.lang.Object
org.apache.torque.generator.configuration.outlet.OutletConfigurationXmlParser
public class OutletConfigurationXmlParser
- extends Object
Parses outlet configuration files and creates a OutletConfiguration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutletConfigurationXmlParser
public OutletConfigurationXmlParser()
readOutletConfiguration
public OutletConfiguration readOutletConfiguration(ConfigurationProvider configurationProvider,
ConfigurationHandlers configurationHandlers,
UnitDescriptor unitDescriptor)
throws ConfigurationException
- Reads all outlet configuration files and creates the outlet
configuration from them.
All the outlet configuration files known to the provide are parsed.
These are typically all XML files in the outletDefintiton configuration
directory and its subdirectories.
- Parameters:
configurationProvider
- The access object for the configuration
files, not null.configurationHandlers
- the handlers for reading the configuration,
not null.unitDescriptor
- the unit descriptor, not null.
- Returns:
- the outlet configuration.
- Throws:
ConfigurationException
- if the Configuration cannot be read
or errors exists in the outlet configuration files.
Copyright © 2000-2013 The Apache Software Foundation. All Rights Reserved.