Class PropertiesOptionsSaxHandlerFactory
java.lang.Object
org.apache.torque.generator.configuration.option.PropertiesOptionsSaxHandlerFactory
- All Implemented Interfaces:
OptionsSaxHandlerFactory
A Factory which creates a SAX handler for properties options.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FileOptionsSaxHandlerReturns a FileOptionsSaxHandler for reading the configuration of XML options.getType()Returns the options type which can be handled by the OptionsSaxHandlers created by this factory.
-
Constructor Details
-
PropertiesOptionsSaxHandlerFactory
public PropertiesOptionsSaxHandlerFactory()
-
-
Method Details
-
getType
Returns the options type which can be handled by the OptionsSaxHandlers created by this factory.- Specified by:
getTypein interfaceOptionsSaxHandlerFactory- Returns:
- "propertiesOptions".
-
getOptionsSaxHandler
Returns a FileOptionsSaxHandler for reading the configuration of XML options.- Specified by:
getOptionsSaxHandlerin interfaceOptionsSaxHandlerFactory- Returns:
- a new FileOptionsSaxHandler.
- Throws:
SAXException- if the SAX Handler for the options can not be created from the given XML element.
-