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, 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, Map<String,String> h)
tag
- the tag name
h
- the tag's attributes
void endElement(String tag)
tag
- the tag name
void startDocument()
void endDocument()
void text(String str)
str
- the text element, probably a fragment.
Copyright © 1998–2018. All rights reserved.