| Package | Description | 
|---|---|
| javax.swing.text.html | Provides the class  HTMLEditorKitand supporting classes
for creating HTML text editors. | 
| javax.swing.text.html.parser | Provides the default HTML parser, along with support classes. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | HTMLDocument.HTMLReaderAn HTML reader to load an HTML document with an HTML
 element structure. | 
| Modifier and Type | Method and Description | 
|---|---|
| HTMLEditorKit.ParserCallback | HTMLDocument. getReader(int pos)Fetches the reader for the parser to use when loading the document
 with HTML. | 
| HTMLEditorKit.ParserCallback | HTMLDocument. getReader(int pos,
         int popDepth,
         int pushDepth,
         HTML.Tag insertTag)Returns the reader for the parser to use to load the document
 with HTML. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | HTMLEditorKit.Parser. parse(Reader r,
     HTMLEditorKit.ParserCallback cb,
     boolean ignoreCharSet)Parse the given stream and drive the given callback
 with the results of the parse. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ParserDelegator. parse(Reader r,
     HTMLEditorKit.ParserCallback cb,
     boolean ignoreCharSet) | 
| void | DocumentParser. parse(Reader in,
     HTMLEditorKit.ParserCallback callback,
     boolean ignoreCharSet) | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.