The HTML parsing class is the inner class
public abstract static class HTMLEditorKit.Parser extends Objectjavax.swing.html.HTMLEditorKit.Parser
:
The concrete subclass is
public class ParserDelegator extends HTMLEditorKit.Parserjavax.swing.text.html.parser.ParserDelegator
:
ParserDelegator
looks for five things in the document:
start tags
end tags
empty tags
text
comments
Every time the parser sees one of these five items, it invokes the corresponding
callback method in a particular instance of the
javax.swing.text.html.HTMLEditorKit.ParserCallback
class.