| Package | Description |
|---|---|
| javax.swing.text.html |
Provides the class
HTMLEditorKit and supporting classes for creating HTML text editors.
|
| javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
| Modifier and Type | Method and Description |
|---|---|
protected HTMLEditorKit |
HTMLEditorKit.getParser()
Fetch the parser to use for reading HTML streams.
|
HTMLEditorKit |
HTMLDocument.getParser()
Returns the parser that is used when inserting HTML into the existing document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HTMLDocument.setParser(HTMLEditorKit
Sets the parser that is used by the methods that insert html into the existing document, such as
setInnerHTML, and
setOuterHTML.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ParserDelegator
Responsible for starting up a new DocumentParser each time its parse method is invoked.
|