Schnittstelle SourceSaxHandlerFactory

Alle bekannten Implementierungsklassen:
FileSourceSaxHandlerFactory, JdbcMetadataSourceSaxHandlerFactory

public interface SourceSaxHandlerFactory
Classes implementing this interface are responsible for creating SourceSaxHandlers for a specific source type.
  • Methodendetails

    • getType

      String getType()
      Returns the source type handled by the SourceSaxHandlers which are created by this factory.
      Gibt zurück:
      the type of the sources, not null.
    • getSourceSaxHandler

      SourceSaxHandler getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers) throws SAXException
      Returns a SourceSaxHandler for reading the configuration of sources. The SAX Handler is used as a delegate handler whenever a source element with the matching type is encountered in a configuration file.
      Parameter:
      configurationProvider - The access object for the configuration files, not null.
      unitDescriptor - The description of the generation unit, not null.
      configurationHandlers - the available configuration handlers, not null.
      Gibt zurück:
      a SAX delegate handler for parsing the configuration with the given type.
      Löst aus:
      SAXException - if the SAX Handler for the sources can not be created from the given XML element.