public final class SaxHandler extends DefaultHandler
| Constructor and Description |
|---|
SaxHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Handles text content of the
entry tag. |
void |
endElement(String uri,
String localName,
String qName)
Handles close tag, if its name is
entry. |
Properties |
getProperties()
Returns copy of the properties read from the handled XML.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes)
Handles open tag, if its name is
entry and has attribute key. |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic Properties getProperties()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
entry and has attribute key.startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
entry.endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
entry tag.characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionCopyright © 2022 JBoss by Red Hat. All rights reserved.