Package | Description |
---|---|
javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
Modifier and Type | Field | Description |
---|---|---|
Element |
DTD.applet |
The element corresponding to applet.
|
Element |
DTD.base |
The element corresponding to base.
|
Element |
DTD.body |
The element corresponding to body.
|
Element |
DTD.head |
The element corresponding to head.
|
Element |
DTD.html |
The element corresponding to html.
|
Element |
DTD.isindex |
The element corresponding to isindex.
|
Element |
DTD.meta |
The element corresponding to meta.
|
Element |
DTD.p |
The element corresponding to p.
|
Element |
DTD.param |
The element corresponding to param.
|
Element |
DTD.pcdata |
The element corresponding to pcdata.
|
Element |
DTD.title |
The element corresponding to title.
|
Modifier and Type | Field | Description |
---|---|---|
Hashtable<String,Element> |
DTD.elementHash |
The hash table contains the name of element and
the corresponding element.
|
Vector<Element> |
DTD.elements |
The vector of elements
|
Modifier and Type | Method | Description |
---|---|---|
protected Element |
DTD.defElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
String[] exclusions,
String[] inclusions,
AttributeList atts) |
Creates and returns an
Element . |
Element |
DTD.defineElement(String name,
int type,
boolean omitStart,
boolean omitEnd,
ContentModel content,
BitSet exclusions,
BitSet inclusions,
AttributeList atts) |
Returns the
Element which matches the
specified parameters. |
Element |
ContentModel.first() |
Return the element that must be next.
|
Element |
DTD.getElement(int index) |
Gets an element by index.
|
Element |
DTD.getElement(String name) |
Gets an element by name.
|
Element |
TagElement.getElement() |
Returns the element.
|
Modifier and Type | Method | Description |
---|---|---|
protected TagElement |
Parser.makeTag(Element elem) |
Makes a TagElement.
|
protected TagElement |
Parser.makeTag(Element elem,
boolean fictional) |
Makes a TagElement.
|
protected void |
Parser.markFirstTime(Element elem) |
Marks the first time a tag has been seen in a document
|
Modifier and Type | Method | Description |
---|---|---|
void |
ContentModel.getElements(Vector<Element> elemVec) |
Update elemVec with the list of elements that are
part of the this contentModel.
|
Constructor | Description |
---|---|
ContentModel(Element content) |
Create a content model for an element.
|
TagElement(Element elem) |
Creates a generic HTML TagElement class with
fictional equals to false . |
TagElement(Element elem,
boolean fictional) |
Creates a generic HTML TagElement class.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps