软件包 | 描述 |
---|---|
javax.swing.text.html.parser |
提供默认的HTML解析器,以及支持类。
|
Modifier and Type | Field and Description |
---|---|
Element |
DTD.applet |
Element |
DTD.base |
Element |
DTD.body |
Element |
DTD.head |
Element |
DTD.html |
Element |
DTD.isindex |
Element |
DTD.meta |
Element |
DTD.p |
Element |
DTD.param |
Element |
DTD.pcdata |
Element |
DTD.title |
Modifier and Type | Field and Description |
---|---|
Hashtable<String,Element> |
DTD.elementHash |
Vector<Element> |
DTD.elements |
Modifier and Type | Method and Description |
---|---|
protected Element |
DTD.defElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, String[] exclusions, String[] inclusions, AttributeList atts)
创建并返回一个
Element 。
|
Element |
DTD.defineElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, BitSet exclusions, BitSet inclusions, AttributeList atts)
返回与指定的参数
Element 。
|
Element |
ContentModel.first()
返回必须是下一个的元素。
|
Element |
TagElement.getElement() |
Element |
DTD.getElement(int index)
通过索引获取元素。
|
Element |
DTD.getElement(String name)
获取一个元素的名称。
|
Modifier and Type | Method and Description |
---|---|
protected TagElement |
Parser.makeTag(Element elem) |
protected TagElement |
Parser.makeTag(Element elem, boolean fictional)
让tagelement。
|
protected void |
Parser.markFirstTime(Element elem)
标记在文档中被看到的第一个标签
|
Modifier and Type | Method and Description |
---|---|
void |
ContentModel.getElements(Vector<Element> elemVec)
以是这contentmodel部分元素的列表更新elemvec。
|
Constructor and Description |
---|
ContentModel(Element content)
为元素创建内容模型。
|
TagElement(Element elem) |
TagElement(Element elem, boolean fictional) |
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.