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.
  • Constructor Details

    • OutletConfigurationXmlParser

      public OutletConfigurationXmlParser()
  • Method Details

    • 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.