Klasse SourceElementAttributeActionSaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.torque.generator.configuration.mergepoint.ActionSaxHandler
org.apache.torque.generator.configuration.mergepoint.SourceElementAttributeActionSaxHandler
- Alle implementierten Schnittstellen:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
A SAX handler which reads the configuration for a
SourceElementAttributeAction and creates and configures the Action
according to the values in the configuration XML.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungSourceElementAttributeActionSaxHandler
(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) Creates a OptionActionSaxHandler for reading the configuration of a SourceElementAttributeAction. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
startElement
(String uri, String localName, String rawName, Attributes attributes) Von Klasse geerbte Methoden org.apache.torque.generator.configuration.mergepoint.ActionSaxHandler
getAction, getConfigurationProvider, getUnitDescriptor
Von Klasse geerbte Methoden org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.xml.sax.ContentHandler
declaration
-
Konstruktordetails
-
SourceElementAttributeActionSaxHandler
public SourceElementAttributeActionSaxHandler(String uri, String localName, String qName, Attributes attributes, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) throws SAXException Creates a OptionActionSaxHandler for reading the configuration of a SourceElementAttributeAction.- Parameter:
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 configuratiopn files, not null.unitDescriptor
- The description of the generation unit, not null.- Löst aus:
NullPointerException
- if an argument is null.SAXException
- if the element cannot be processed correctly.
-
-
Methodendetails
-
startElement
public void startElement(String uri, String localName, String rawName, Attributes attributes) throws SAXException - Angegeben von:
startElement
in SchnittstelleContentHandler
- Setzt außer Kraft:
startElement
in KlasseActionSaxHandler
- Löst aus:
SAXException
-