Klasse ActionSaxHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.torque.generator.configuration.mergepoint.ActionSaxHandler
- Alle implementierten Schnittstellen:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Bekannte direkte Unterklassen:
ApplyActionSaxHandler
,OptionActionSaxHandler
,OutputActionSaxHandler
,SourceElementAttributeActionSaxHandler
,TraverseAllActionSaxHandler
A SAX Handler which handles for the action element in mergepoints.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungActionSaxHandler
(MergepointAction action, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) Constructor. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the action which was configured by this handler.protected ConfigurationProvider
Returns the configuration provider used by this handler.protected UnitDescriptor
Returns the description of the generation unit.void
startElement
(String uri, String localName, String rawName, Attributes attributes) 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
-
ActionSaxHandler
public ActionSaxHandler(MergepointAction action, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor) Constructor.- Parameter:
action
- paths of the underlying project, not null.configurationProvider
- The access object for the configuration files, not null.unitDescriptor
- The description of the generation unit, not null.- Löst aus:
NullPointerException
- if an argument is null.
-
-
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 KlasseDefaultHandler
- Löst aus:
SAXException
-
getAction
Returns the action which was configured by this handler.- Gibt zurück:
- the action configured by this handler, not null.
-
getConfigurationProvider
Returns the configuration provider used by this handler.- Gibt zurück:
- the configuration provider, not null.
-
getUnitDescriptor
Returns the description of the generation unit.- Gibt zurück:
- the description of the generation unit, not null.
-