Class FileSourceSaxHandlerFactory
java.lang.Object
org.apache.torque.generator.configuration.source.FileSourceSaxHandlerFactory
- All Implemented Interfaces:
SourceSaxHandlerFactory
A Factory which creates a SAX handler for file sources.
- Version:
- $Id: FileSourceSaxHandlerFactory.java 1839288 2018-08-27 09:48:33Z tv $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal SourceSaxHandlergetSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers) Returns a FileSourceSaxHandlers for reading the configuration of file sources.getType()Returns the source type which can be handled by the FileSourceSaxHandlers created by this factory.
-
Constructor Details
-
FileSourceSaxHandlerFactory
public FileSourceSaxHandlerFactory()
-
-
Method Details
-
getType
Returns the source type which can be handled by the FileSourceSaxHandlers created by this factory.- Specified by:
getTypein interfaceSourceSaxHandlerFactory- Returns:
- "fileSource".
-
getSourceSaxHandler
public final SourceSaxHandler getSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers) Returns a FileSourceSaxHandlers for reading the configuration of file sources.- Specified by:
getSourceSaxHandlerin interfaceSourceSaxHandlerFactory- Parameters:
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.- Returns:
- a new FileSourcesSaxHandlers.
-