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