Klasse JdbcMetadataSourceSaxHandlerFactory

java.lang.Object
org.apache.torque.generator.configuration.source.JdbcMetadataSourceSaxHandlerFactory
Alle implementierten Schnittstellen:
SourceSaxHandlerFactory

public class JdbcMetadataSourceSaxHandlerFactory extends Object implements SourceSaxHandlerFactory
A Factory which creates a SAX handler for sources from JDBC Metadata.
Version:
$Id: JdbcMetadataSourceSaxHandlerFactory.java 1839288 2018-08-27 09:48:33Z tv $
  • Konstruktordetails

    • JdbcMetadataSourceSaxHandlerFactory

      public JdbcMetadataSourceSaxHandlerFactory()
  • Methodendetails

    • getType

      public String getType()
      Returns the source type which can be handled by the JdbcMetadataSourceSaxHandler created by this factory.
      Angegeben von:
      getType in Schnittstelle SourceSaxHandlerFactory
      Gibt zurück:
      "jdbcMetadataSource".
    • getSourceSaxHandler

      public final SourceSaxHandler getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
      Returns a JdbcMetadataSourceSaxHandler for reading the configuration of JDBC metadata sources.
      Angegeben von:
      getSourceSaxHandler in Schnittstelle SourceSaxHandlerFactory
      Parameter:
      configurationProvider - The access object for the configuration files, not null.
      unitDescriptor - The description of the generation unit, not null.
      configurationHandlers - All known configuration handlers, not null.
      Gibt zurück:
      a new FileSourcesSaxHandlers.