public class ControlConfigurationSaxHandler extends DefaultHandler
| Constructor and Description |
|---|
ControlConfigurationSaxHandler(ControlConfiguration controllerConfiguration,
ConfigurationProvider configurationProvider,
UnitDescriptor unitDescriptor,
ConfigurationHandlers configurationHandlers)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Receive notification of character data inside an element.
|
void |
endElement(String uri,
String localName,
String rawName) |
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
InputSource |
resolveEntity(String publicId,
String systemId)
EntityResolver implementation.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
void |
warning(SAXParseException exception) |
endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDeclpublic ControlConfigurationSaxHandler(ControlConfiguration controllerConfiguration, ConfigurationProvider configurationProvider, UnitDescriptor unitDescriptor, ConfigurationHandlers configurationHandlers)
controllerConfiguration - the configuration object to fill, no null.configurationProvider - the Object for accessing the configuration,
not null.unitDescriptor - The description of the generation unit, not null.configurationHandlers - the available configuration handlers,
not null.NullPointerException - if an argument is null.public void startElement(String uri, String localName, String qName, 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 DefaultHandlerch - The characters.start - The start position in the character array.length - The number of characters to use from the
character array.SAXException - Any SAX exception, possibly
wrapping another exception.ContentHandler.characters(char[], int, int)public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException
resolveEntity in interface EntityResolverresolveEntity in class DefaultHandlerpublicId - The public identifier of the external entity.systemId - The system identifier of the external entity.SAXExceptionIOExceptionConfigurationEntityResolver.resolveEntity(String, String)public void error(SAXParseException exception) throws SAXParseException
error in interface ErrorHandlererror in class DefaultHandlerSAXParseExceptionpublic void fatalError(SAXParseException exception) throws SAXParseException
fatalError in interface ErrorHandlerfatalError in class DefaultHandlerSAXParseExceptionpublic void warning(SAXParseException exception) throws SAXParseException
warning in interface ErrorHandlerwarning in class DefaultHandlerSAXParseExceptionCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.