Uses of Class
javax.swing.text.html.parser.Element
| Package | Description |
|---|---|
| javax.swing.text.html.parser |
Provides the default HTML parser, along with support classes.
|
-
Uses of Element in javax.swing.text.html.parser
Fields in javax.swing.text.html.parser declared as Element Modifier and Type Field Description ElementDTD. appletThe element corresponding to applet.ElementDTD. baseThe element corresponding to base.ElementDTD. bodyThe element corresponding to body.ElementDTD. headThe element corresponding to head.ElementDTD. htmlThe element corresponding to html.ElementDTD. isindexThe element corresponding to isindex.ElementDTD. metaThe element corresponding to meta.ElementDTD. pThe element corresponding to p.ElementDTD. paramThe element corresponding to param.ElementDTD. pcdataThe element corresponding to pcdata.ElementDTD. titleThe element corresponding to title.Fields in javax.swing.text.html.parser with type parameters of type Element Modifier and Type Field Description Hashtable<String,Element>DTD. elementHashThe hash table contains the name of element and the corresponding element.Vector<Element>DTD. elementsThe vector of elementsMethods in javax.swing.text.html.parser that return Element Modifier and Type Method Description protected ElementDTD. defElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, String[] exclusions, String[] inclusions, AttributeList atts)Creates and returns anElement.ElementDTD. defineElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, BitSet exclusions, BitSet inclusions, AttributeList atts)Returns theElementwhich matches the specified parameters.ElementContentModel. first()Return the element that must be next.ElementDTD. getElement(int index)Gets an element by index.ElementDTD. getElement(String name)Gets an element by name.ElementTagElement. getElement()Returns the element.Methods in javax.swing.text.html.parser with parameters of type Element Modifier and Type Method Description protected TagElementParser. makeTag(Element elem)Makes a TagElement.protected TagElementParser. makeTag(Element elem, boolean fictional)Makes a TagElement.protected voidParser. markFirstTime(Element elem)Marks the first time a tag has been seen in a documentMethod parameters in javax.swing.text.html.parser with type arguments of type Element Modifier and Type Method Description voidContentModel. getElements(Vector<Element> elemVec)Update elemVec with the list of elements that are part of the this contentModel.Constructors in javax.swing.text.html.parser with parameters of type Element Constructor Description ContentModel(Element content)Create a content model for an element.TagElement(Element elem)Creates a generic HTML TagElement class withfictionalequals tofalse.TagElement(Element elem, boolean fictional)Creates a generic HTML TagElement class.