public final class SaxHandler extends org.xml.sax.helpers.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 org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
entry.endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
entry tag.characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2016 JBoss by Red Hat. All Rights Reserved.