public class KXml2SAXParser
extends org.kxml2.io.KXmlParser
| Modifier and Type | Class | Description |
|---|---|---|
class |
KXml2SAXParser.Attributes |
CDSECT, COMMENT, DOCDECL, END_DOCUMENT, END_TAG, ENTITY_REF, FEATURE_PROCESS_DOCDECL, FEATURE_PROCESS_NAMESPACES, FEATURE_REPORT_NAMESPACE_ATTRIBUTES, FEATURE_VALIDATION, IGNORABLE_WHITESPACE, NO_NAMESPACE, PROCESSING_INSTRUCTION, START_DOCUMENT, START_TAG, TEXT, TYPES| Constructor | Description |
|---|---|
KXml2SAXParser(Reader reader) |
The constructor for a parser, it receives a java.io.Reader.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
parseXML(KXml2SAXHandler handler) |
Parser from the reader provided in the constructor, and call
the startElement and endElement in a KxmlHandler
|
defineEntityReplacementText, getAttributeCount, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getColumnNumber, getDepth, getEventType, getFeature, getInputEncoding, getLineNumber, getName, getNamespace, getNamespace, getNamespaceCount, getNamespacePrefix, getNamespaceUri, getPositionDescription, getPrefix, getProperty, getText, getTextCharacters, isAttributeDefault, isEmptyElementTag, isWhitespace, next, nextTag, nextText, nextToken, require, setFeature, setInput, setInput, setProperty, skipSubTreepublic KXml2SAXParser(Reader reader) throws org.xmlpull.v1.XmlPullParserException
reader - The readerorg.xmlpull.v1.XmlPullParserExceptionpublic void parseXML(KXml2SAXHandler handler) throws Exception
handler - The handlerException - thrown by the superclassCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.