Class ApplyActionSaxHandlerFactory
java.lang.Object
org.apache.torque.generator.configuration.mergepoint.ApplyActionSaxHandlerFactory
- All Implemented Interfaces:
ActionSaxHandlerFactory
A Factory which creates a SAX handler for an ApplyAction.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ApplyActionSaxHandlergetActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) Returns a ApplyActionSaxHandler for reading the configuration of ApplyActions.getType()Returns the action type which can be handled by the ActionSaxHandlers created by this factory.
-
Constructor Details
-
ApplyActionSaxHandlerFactory
public ApplyActionSaxHandlerFactory()
-
-
Method Details
-
getType
Returns the action type which can be handled by the ActionSaxHandlers created by this factory.- Specified by:
getTypein interfaceActionSaxHandlerFactory- Returns:
- "applyAction".
-
getActionSaxHandler
public final ApplyActionSaxHandler getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) throws SAXException Returns a ApplyActionSaxHandler for reading the configuration of ApplyActions.- Specified by:
getActionSaxHandlerin interfaceActionSaxHandlerFactory- Parameters:
uri- The namespace URI of the action element, or the empty string if the element has no namespace URI or if namespace processing is not being performed.localName- The local name (without prefix), or the empty string if namespace processing is not being performed.qName- The qualified name (with prefix, if present), or the empty string if qualified names are not available.attributes- The attributes attached to the element.configurationProvider- for accessing the configuration files, not null.unitDescriptor- The description of the generation unit, not null.- Returns:
- a new ApplyActionSaxHandler.
- Throws:
SAXException- if the SAX Handler for the outlet can not be created from the given XML element.
-