public class JdbcMetadataSourceSaxHandler extends SourceSaxHandler
Constructor and Description |
---|
JdbcMetadataSourceSaxHandler(ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String rawName) |
SourceProvider |
getSourceProvider()
Returns the configuration filled with the contents of the parsed snippet.
|
void |
startElement(String uri,
String localName,
String rawName,
Attributes attributes) |
characters, finished, getConfigurationHandlers, getConfigurationProvider, getSourceProcessConfiguration, getUnitDescriptor, isFinished
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public JdbcMetadataSourceSaxHandler(ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
configurationProvider
- The access object for the configuration
files, not null.unitDescriptor
- The description of the generation unit, not null.configurationHandlers
- All known configuration handlers, 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 SourceSaxHandler
SAXException
public void endElement(String uri, String localName, String rawName) throws SAXException
endElement
in interface ContentHandler
endElement
in class SourceSaxHandler
SAXException
public SourceProvider getSourceProvider()
getSourceProvider
in class SourceSaxHandler
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.