public class OutputSaxHandler extends DefaultHandler
| Constructor and Description |
|---|
OutputSaxHandler(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) |
Output |
getOutputFile()
Returns the Configuration filled with the contents of the parsed snippet.
|
void |
startElement(String uri,
String localName,
String rawName,
Attributes attributes) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic OutputSaxHandler(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 - handlers for reading the configuration.NullPointerException - if an argument is null.public Output getOutputFile()
public void startElement(String uri, String localName, String rawName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String rawName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.