| Package | Description | 
|---|---|
| javax.swing.text.html.parser | 
 Provides the default HTML parser, along with support classes. 
 | 
| 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)
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 | 
TagElement.getElement()  | 
Element | 
DTD.getElement(int index)
Gets an element by index. 
 | 
Element | 
DTD.getElement(String name)
Gets an element by name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected TagElement | 
Parser.makeTag(Element elem)  | 
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 and Description | 
|---|---|
void | 
ContentModel.getElements(Vector<Element> elemVec)
Update elemVec with the list of elements that are
 part of the this contentModel. 
 | 
| Constructor and Description | 
|---|
ContentModel(Element content)
Create a content model for an element. 
 | 
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.