# Uses of Class
org.apache.torque.generator.source.SourceProvider

Packages that use SourceProvider
Package
Description
org.apache.torque.generator.configuration
This package contains the classes for configuring the Torque generator.
org.apache.torque.generator.configuration.controller
This package contains the classes for reading the control configuration of the Torque generator units of generation.
org.apache.torque.generator.configuration.source
This package provides SAXhandlers for reading the source configuration snippets in the control file.
org.apache.torque.generator.control
This package implements the torque generator Controller .
org.apache.torque.generator.source
This package contains the handling of source files.
org.apache.torque.generator.source.jdbc
This package implements sources which read from jdbc.
org.apache.torque.generator.source.stream
This package contains the handling of stream-based sources, such as file sources.

- ## Uses of SourceProvider in org.apache.torque.generator.configuration

  Methods in org.apache.torque.generator.configuration that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  UnitConfiguration.`getOverrideSourceProvider()`
  Returns the source provider which overrides the source provider defined in the control file.
  `SourceProvider`
  UnitDescriptor.`getOverrideSourceProvider()`
  Returns the source provider overriding the source defined in the control file, or null if the control file definition is not overridden.
  Methods in org.apache.torque.generator.configuration with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `void`
  UnitConfiguration.`setOverrideSourceProvider(SourceProvider overrideSourceProvider)`
  Sets the source provider which overrides the source provider defined in the control file.
  `void`
  UnitDescriptor.`setOverrideSourceProvider(SourceProvider overrideSourceProvider)`
  Sets the source provider overriding the source defined in the control file.

- ## Uses of SourceProvider in org.apache.torque.generator.configuration.controller

  Methods in org.apache.torque.generator.configuration.controller that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  Output.`getSourceProvider()`
  Returns the source provider which provides the input for generating the output file's contents.
  Methods in org.apache.torque.generator.configuration.controller with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `void`
  Output.`setSourceProvider(SourceProvider sourceProvider)`
  Sets the source provider which provides the input for generating the output file's contents.

- ## Uses of SourceProvider in org.apache.torque.generator.configuration.source

  Methods in org.apache.torque.generator.configuration.source that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  FileSourceSaxHandler.`getSourceProvider()`
  Returns the information how to read the sources.
  `SourceProvider`
  JdbcMetadataSourceSaxHandler.`getSourceProvider()`
  Returns the configuration filled with the contents of the parsed snippet.
  `abstract SourceProvider`
  SourceSaxHandler.`getSourceProvider()`
  Returns the information how to read the sources.

- ## Uses of SourceProvider in org.apache.torque.generator.control

  Methods in org.apache.torque.generator.control that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  ControllerState.`getSourceProvider()`
  Returns the source provider which is currently in use.
  Methods in org.apache.torque.generator.control with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `void`
  ControllerState.`setSourceProvider(SourceProvider sourceProvider)`
  Sets the source provider which is currently in use.

- ## Uses of SourceProvider in org.apache.torque.generator.source

  Methods in org.apache.torque.generator.source that return SourceProvider
  Modifier and Type
  Method
  Description
  `abstract SourceProvider`
  SourceProvider.`copy()`
  Returns a copy of this source provider in its initial state.
  Methods in org.apache.torque.generator.source with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `abstract void`
  SourceProvider.`copyNotSetSettingsFrom(SourceProvider sourceProvider)`
  Copies settings which are not set in this source provider from another source provider.

- ## Uses of SourceProvider in org.apache.torque.generator.source.jdbc

  Subclasses of SourceProvider in org.apache.torque.generator.source.jdbc
  Modifier and Type
  Class
  Description
  `class`
  `JdbcMetadataSourceProvider`
  Creates a source from JDBC metadata.
  Methods in org.apache.torque.generator.source.jdbc that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  JdbcMetadataSourceProvider.`copy()`
  Returns a copy of this source provider in its initial state.
  Methods in org.apache.torque.generator.source.jdbc with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `void`
  JdbcMetadataSourceProvider.`copyNotSetSettingsFrom(SourceProvider sourceProvider)`
  Copies settings which are not set in this source provider from another source provider.

- ## Uses of SourceProvider in org.apache.torque.generator.source.stream

  Subclasses of SourceProvider in org.apache.torque.generator.source.stream
  Modifier and Type
  Class
  Description
  `class`
  `FileSourceProvider`
  Contains sources which are read from files in the file system.
  Methods in org.apache.torque.generator.source.stream that return SourceProvider
  Modifier and Type
  Method
  Description
  `SourceProvider`
  FileSourceProvider.`copy()`
  Returns a copy of this source provider in its initial state.
  Methods in org.apache.torque.generator.source.stream with parameters of type SourceProvider
  Modifier and Type
  Method
  Description
  `void`
  FileSourceProvider.`copyNotSetSettingsFrom(SourceProvider sourceProvider)`
  Copies settings which are not set in this source provider from another source provider.