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, isFinishedendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic 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 ContentHandlerstartElement in class SourceSaxHandlerSAXExceptionpublic void endElement(String uri, String localName, String rawName) throws SAXException
endElement in interface ContentHandlerendElement in class SourceSaxHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class SourceSaxHandlerSAXExceptionpublic SourceProvider getSourceProvider()
getSourceProvider in class SourceSaxHandlerCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.