Klasse OutletConfigurationXmlParser
java.lang.Object
org.apache.torque.generator.configuration.outlet.OutletConfigurationXmlParser
Parses outlet configuration files and creates a OutletConfiguration.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungreadOutletConfiguration
(ConfigurationProvider configurationProvider, ConfigurationHandlers configurationHandlers, UnitDescriptor unitDescriptor) Reads all outlet configuration files and creates the outlet configuration from them.
-
Konstruktordetails
-
OutletConfigurationXmlParser
public OutletConfigurationXmlParser()
-
-
Methodendetails
-
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.- Parameter:
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.- Gibt zurück:
- the outlet configuration.
- Löst aus:
ConfigurationException
- if the Configuration cannot be read or errors exists in the outlet configuration files.
-