public interface SimpleXMLDocHandler
SimpleXMLParser
.Modifier and Type | Method and Description |
---|---|
void |
endDocument()
Called after the document is parsed.
|
void |
endElement(String tag)
Called when an end tag is found.
|
void |
startDocument()
Called when the document starts to be parsed.
|
void |
startElement(String tag,
HashMap h)
Called when a start tag is found.
|
void |
startElement(String tag,
Map<String,String> h)
Called when a start tag is found.
|
void |
text(String str)
Called when a text element is found.
|
void startElement(String tag, HashMap h)
tag
- the tag nameh
- the tag's attributesvoid startElement(String tag, Map<String,String> h)
tag
- the tag nameh
- the tag's attributesvoid endElement(String tag)
tag
- the tag namevoid startDocument()
void endDocument()
void text(String str)
str
- the text element, probably a fragment.Copyright © 2020. All rights reserved.