软件包 | 描述 |
---|---|
javax.swing.text.html |
提供类
HTMLEditorKit 和创建HTML文本编辑器支持类。
|
javax.swing.text.html.parser |
提供默认的HTML解析器,以及支持类。
|
Modifier and Type | Method and Description |
---|---|
HTMLEditorKit.Parser |
HTMLDocument.getParser()
返回时使用HTML解析器,插入到现有的文件。
|
protected HTMLEditorKit.Parser |
HTMLEditorKit.getParser()
取解析器使用阅读HTML流。
|
Modifier and Type | Method and Description |
---|---|
void |
HTMLDocument.setParser(HTMLEditorKit.Parser parser)
设置解析器的方法插入HTML到现有的文件,如
setInnerHTML ,和
setOuterHTML 。
|
Modifier and Type | Class and Description |
---|---|
class |
ParserDelegator
负责启动一个新的documentparser每次调用它的解析方法。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.