org.apache.torque.generator.configuration.mergepoint
Class SourceElementAttributeActionSaxHandlerFactory

java.lang.Object
  extended by org.apache.torque.generator.configuration.mergepoint.SourceElementAttributeActionSaxHandlerFactory
All Implemented Interfaces:
ActionSaxHandlerFactory

public class SourceElementAttributeActionSaxHandlerFactory
extends Object
implements ActionSaxHandlerFactory

A Factory which creates a SAX handler for a SourceElementAttributeAction.


Constructor Summary
SourceElementAttributeActionSaxHandlerFactory()
           
 
Method Summary
 SourceElementAttributeActionSaxHandler getActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, ProjectPaths projectPaths)
          Returns a OptionActionSaxHandler for reading the configuration of SourceElementAttributeActions.
 String getType()
          Returns the action type which can be handled by the ActionSaxHandlers created by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceElementAttributeActionSaxHandlerFactory

public SourceElementAttributeActionSaxHandlerFactory()
Method Detail

getType

public String getType()
Returns the action type which can be handled by the ActionSaxHandlers created by this factory.

Specified by:
getType in interface ActionSaxHandlerFactory
Returns:
"sourceElementAction".

getActionSaxHandler

public final SourceElementAttributeActionSaxHandler getActionSaxHandler(String uri,
                                                                        String localName,
                                                                        String qName,
                                                                        Attributes attributes,
                                                                        ConfigurationProvider configurationProvider,
                                                                        ProjectPaths projectPaths)
                                                                 throws SAXException
Returns a OptionActionSaxHandler for reading the configuration of SourceElementAttributeActions.

Specified by:
getActionSaxHandler in interface ActionSaxHandlerFactory
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.
projectPaths - The organization of the surrounding project, not null.
Returns:
a new SourceElementAttributeActionSaxHandler.
Throws:
SAXException - if the SAX Handler for the outlet can not be created from the given XML element.


Copyright © 2000-2012 The Apache Software Foundation. All Rights Reserved.