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.Parser |
HTMLEditorKit.getParser()
Fetch the parser to use for reading HTML streams.
|
HTMLEditorKit.Parser |
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.Parser parser)
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.
|
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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.