Class SourceSaxHandlerFactories
java.lang.Object
org.apache.torque.generator.configuration.source.SourceSaxHandlerFactories
A registry of SourceSaxHandlerFactories.
$Id: SourceSaxHandlerFactories.java 1917241 2024-04-21 13:29:41Z tv $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the SourceSaxHandlerFactory associated with the given type.Returns the known source types.voidregister(SourceSaxHandlerFactory sourceSaxHandlerFactory) Registers a new SourcseSaxHandlerFactory.
-
Constructor Details
-
SourceSaxHandlerFactories
public SourceSaxHandlerFactories()Constructor. Registers the default SourceSaxHandlerFactories.
-
-
Method Details
-
register
Registers a new SourcseSaxHandlerFactory.- Parameters:
sourceSaxHandlerFactory- the factory to register, not null.- Throws:
ConfigurationException- if the type of the registered factory already exists.
-
getSourceSaxHandlerFactory
Returns the SourceSaxHandlerFactory associated with the given type.- Parameters:
type- the type top look for, not null.- Returns:
- the SourceSaxHandlerFactory associated with the given type, or null if no SourceSaxHandlerFactory exists for the given type.
-
getSourceTypes
Returns the known source types.- Returns:
- the known source types, not null.
-