public class FileSourceSaxHandler extends SourceSaxHandler
Constructor and Description |
---|
FileSourceSaxHandler(ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String rawName) |
SourceProvider |
getSourceProvider()
Returns the information how to read the sources.
|
void |
startElement(String uri,
String localName,
String rawName,
Attributes attributes) |
finished, getConfigurationHandlers, getConfigurationProvider, getSourceProcessConfiguration, getUnitDescriptor, isFinished
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public FileSourceSaxHandler(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 void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class SourceSaxHandler
SAXException
public SourceProvider getSourceProvider()
getSourceProvider
in class SourceSaxHandler
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.