public interface IParserHandler
Parser
class.Modifier and Type | Method and Description |
---|---|
void |
characters(String content)
Called when the text content of an element is read.
|
void |
comment(String comment)
Called when the comment is reached in input document.
|
void |
endDocument()
Called when the whole input document is read.
|
void |
endElement(ElementEnd element,
ElementStart elementStart)
Called when an end element is reached in the input document.
|
void |
startElement(ElementStart element)
Called when a start element is reached in the input document.
|
void startElement(ElementStart element)
element
- start element reachedvoid endElement(ElementEnd element, ElementStart elementStart)
element
- end element reachedelementStart
- corresponding start elementvoid characters(String content)
content
- ie. "foo" for the "<b>foo</b>"void comment(String comment)
comment
- ie. "foo" for the "<!-->foo</-->"void endDocument()