public abstract class ActionSaxHandler extends DefaultHandler
Constructor and Description |
---|
ActionSaxHandler(MergepointAction action,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MergepointAction |
getAction()
Returns the action which was configured by this handler.
|
protected ConfigurationProvider |
getConfigurationProvider()
Returns the configuration provider used by this handler.
|
protected UnitDescriptor |
getUnitDescriptor()
Returns the description of the generation unit.
|
void |
startElement(String uri,
String localName,
String rawName,
Attributes attributes) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public ActionSaxHandler(MergepointAction action, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor)
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.NullPointerException
- if an argument is null.public void startElement(String uri, String localName, String rawName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public MergepointAction getAction()
protected ConfigurationProvider getConfigurationProvider()
protected UnitDescriptor getUnitDescriptor()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.