org.custommonkey.xmlunit
public class HTMLDocumentBuilder.SwingEvent2SaxAdapter extends ParserCallback
Constructor Summary | |
---|---|
SwingEvent2SaxAdapter()
Default constructor |
Method Summary | |
---|---|
void | flush()
Swing-HTML-parser template method, no ContentHandler equivalent |
void | handleComment(char[] data, int pos)
Equivalent to Sax LexicalHandler comment method.
|
void | handleEndTag(Tag tag, int pos)
Equivalent to Sax endElement |
void | handleError(String errorMsg, int pos)
Swing-HTML-parser template method, no ContentHandler equivalent.
|
void | handleSimpleTag(Tag tag, MutableAttributeSet attributeSet, int pos)
Equivalent to Sax startElement plus
endElement |
void | handleStartTag(Tag tag, MutableAttributeSet attributeSet, int pos)
Equivalent to Sax startElement |
void | handleText(char[] data, int pos)
Equivalent to Sax characters |
void | parse(Reader reader, ContentHandler saxContentHandler)
Perform Swing-HTML-parse-event-to-Sax-event conversion |
comment
method.
If the supplied ContentHandler is also an LexicalHandler then the
cast will be made and the sax event passed on.endElement
startElement
plus
endElement
startElement
characters