javax.swing.text.html.parser
10 classes of the module java.desktop.
Load them with:
using {
"javax.swing.text.html.parser"
}
ContentModel#
class final · extends Object · javax.swing.text.html.parser.ContentModel
Implements: Serializable
Constructors
new ContentModel() |
new ContentModel(Element content) |
new ContentModel(int type, ContentModel content) |
new ContentModel(int type, Object content, ContentModel next) |
Ring: new ContentModel(args) uses the constructor with the fewest parameters (at least one); new ContentModel makes the object with the constructor without parameters; the others: (new ContentModel).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
type | int | read, write | o.type o.type = v |
content | Object | read, write | o.content o.content = v |
next | ContentModel | read, write | o.@next o.@next = v |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@first | @first(token) | boolean first(Object token) |
empty | empty() | boolean empty() |
first | first() | Element first() |
getElements | getElements(elemVec) | void getElements(Vector elemVec) |
The methods and fields of Object are inherited.
DocumentParser#
class · extends ParserParser · javax.swing.text.html.parser.DocumentParser
Constructors
new DocumentParser(DTD dtd) |
Ring: new DocumentParser(args) uses the constructor with the fewest parameters (at least one); new DocumentParser makes the object with the constructor without parameters; the others: (new DocumentParser).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
parse | parse(in)parse([in,callback,ignoreCharSet])parse([ :in = v, :callback = v, :ignoreCharSet = v ]) | void parse(Reader in)void parse(Reader in, ParserCallback callback, boolean ignoreCharSet) |
The methods and fields of ParserParser are inherited.
DTDConstants#
interface · javax.swing.text.html.parser.DTDConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CDATA | int | constant · static | o.CDATA |
ENTITY | int | constant · static | o.ENTITY |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAME | int | constant · static | o.NAME |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
ParserAttributeList#
class final · extends Object · javax.swing.text.html.parser.AttributeList
Implements: DTDConstants, Serializable
Constructors
new ParserAttributeList(String name) |
new ParserAttributeList(String name, int type, int modifier, String value, Vector values, AttributeList next) |
Ring: new ParserAttributeList(args) uses the constructor with the fewest parameters (at least one); new ParserAttributeList makes the object with the constructor without parameters; the others: (new ParserAttributeList).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
next | AttributeList | read, write | o.@next o.@next = v |
CDATA | int | constant · static | o.CDATA |
ENTITY | int | constant · static | o.ENTITY |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getModifier | getModifier() | int getModifier() |
getName | getName() | String getName() |
getNext | getNext() | AttributeList getNext() |
getType | getType() | int getType() |
getValue | getValue() | String getValue() |
getValues | getValues() | Enumeration getValues() |
name2type | name2type(nm) | static int name2type(String nm) |
type2name | type2name(tp) | static String type2name(int tp) |
The methods and fields of Object are inherited.
ParserDelegator#
class · extends HTMLEditorKitParser · javax.swing.text.html.parser.ParserDelegator
Implements: Serializable
Constructors
new ParserDelegator() |
Ring: new ParserDelegator(args) uses the constructor with the fewest parameters (at least one); new ParserDelegator makes the object with the constructor without parameters; the others: (new ParserDelegator).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of HTMLEditorKitParser are inherited.
ParserDTD#
class · extends Object · javax.swing.text.html.parser.DTD
Implements: DTDConstants
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
elements | Vector | read, write | o.elements o.elements = v |
elementHash | Hashtable | read, write | o.elementHash o.elementHash = v |
entityHash | Hashtable | read, write | o.entityHash o.entityHash = v |
pcdata | Element | constant | o.pcdata |
html | Element | constant | o.html |
meta | Element | constant | o.meta |
base | Element | constant | o.base |
isindex | Element | constant | o.isindex |
head | Element | constant | o.head |
body | Element | constant | o.body |
applet | Element | constant | o.applet |
param | Element | constant | o.param |
p | Element | constant | o.p |
title | Element | constant | o.title |
FILE_VERSION | int | constant · static | o.FILE_VERSION |
CDATA | int | constant · static | o.CDATA |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
defEntity | defEntity(name,type,ch) | Entity defEntity(String name, int type, int ch) |
defineAttributes | defineAttributes(name,atts) | void defineAttributes(String name, AttributeList atts) |
defineElement | defineElement(name,type,omitStart,omitEnd,content,exclusions,inclusions,atts) | Element defineElement(String name, int type, boolean omitStart, boolean omitEnd, ContentModel content, BitSet exclusions, BitSet inclusions, AttributeList atts) |
defineEntity | defineEntity(name,type,data) | Entity defineEntity(String name, int type, char[] data) |
getDTD | getDTD(name) | static DTD getDTD(String name) |
getElement | getElement(index) | Element getElement(int index)Element getElement(String name) |
getEntity | getEntity(ch) | Entity getEntity(int ch)Entity getEntity(String name) |
getName | getName() | String getName() |
putDTDHash | putDTDHash(name,dtd) | static void putDTDHash(String name, DTD dtd) |
read | read(in) | void read(DataInputStream in) |
The methods and fields of Object are inherited.
ParserElement#
class final · extends Object · javax.swing.text.html.parser.Element
Implements: DTDConstants, Serializable
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
oStart | boolean | read, write | o.oStart o.oStart = v |
oEnd | boolean | read, write | o.oEnd o.oEnd = v |
inclusions | BitSet | read, write | o.inclusions o.inclusions = v |
exclusions | BitSet | read, write | o.exclusions o.exclusions = v |
atts | AttributeList | read, write | o.atts o.atts = v |
data | Object | read, write | o.data o.data = v |
CDATA | int | constant · static | o.CDATA |
ENTITY | int | constant · static | o.ENTITY |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getAttribute | getAttribute(name) | AttributeList getAttribute(String name) |
getAttributeByValue | getAttributeByValue(value) | AttributeList getAttributeByValue(String value) |
getAttributes | getAttributes() | AttributeList getAttributes() |
getContent | getContent() | ContentModel getContent() |
getIndex | getIndex() | int getIndex() |
getName | getName() | String getName() |
getType | getType() | int getType() |
isEmpty | isEmpty() | boolean isEmpty() |
name2type | name2type(nm) | static int name2type(String nm) |
omitEnd | omitEnd() | boolean omitEnd() |
omitStart | omitStart() | boolean omitStart() |
The methods and fields of Object are inherited.
ParserEntity#
class final · extends Object · javax.swing.text.html.parser.Entity
Implements: DTDConstants
Constructors
new ParserEntity(String name, int type, char[] data) |
Ring: new ParserEntity(args) uses the constructor with the fewest parameters (at least one); new ParserEntity makes the object with the constructor without parameters; the others: (new ParserEntity).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CDATA | int | constant · static | o.CDATA |
ENTITY | int | constant · static | o.ENTITY |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getData | getData() | char[] getData() |
getName | getName() | String getName() |
getString | getString() | String getString() |
getType | getType() | int getType() |
isGeneral | isGeneral() | boolean isGeneral() |
isParameter | isParameter() | boolean isParameter() |
name2type | name2type(nm) | static int name2type(String nm) |
The methods and fields of Object are inherited.
ParserParser#
class · extends Object · javax.swing.text.html.parser.Parser
Implements: DTDConstants
Constructors
new ParserParser(DTD dtd) |
Ring: new ParserParser(args) uses the constructor with the fewest parameters (at least one); new ParserParser makes the object with the constructor without parameters; the others: (new ParserParser).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
CDATA | int | constant · static | o.CDATA |
ENTITY | int | constant · static | o.ENTITY |
ENTITIES | int | constant · static | o.ENTITIES |
ID | int | constant · static | o.ID |
IDREF | int | constant · static | o.IDREF |
IDREFS | int | constant · static | o.IDREFS |
NAME | int | constant · static | o.NAME |
NAMES | int | constant · static | o.NAMES |
NMTOKEN | int | constant · static | o.NMTOKEN |
NMTOKENS | int | constant · static | o.NMTOKENS |
NOTATION | int | constant · static | o.NOTATION |
NUMBER | int | constant · static | o.NUMBER |
NUMBERS | int | constant · static | o.NUMBERS |
NUTOKEN | int | constant · static | o.NUTOKEN |
NUTOKENS | int | constant · static | o.NUTOKENS |
RCDATA | int | constant · static | o.RCDATA |
EMPTY | int | constant · static | o.EMPTY |
MODEL | int | constant · static | o.MODEL |
ANY | int | constant · static | o.ANY |
FIXED | int | constant · static | o.FIXED |
REQUIRED | int | constant · static | o.REQUIRED |
CURRENT | int | constant · static | o.CURRENT |
CONREF | int | constant · static | o.CONREF |
IMPLIED | int | constant · static | o.IMPLIED |
PUBLIC | int | constant · static | o.PUBLIC |
SDATA | int | constant · static | o.SDATA |
PI | int | constant · static | o.PI |
STARTTAG | int | constant · static | o.STARTTAG |
ENDTAG | int | constant · static | o.ENDTAG |
MS | int | constant · static | o.MS |
MD | int | constant · static | o.MD |
SYSTEM | int | constant · static | o.SYSTEM |
GENERAL | int | constant · static | o.GENERAL |
DEFAULT | int | constant · static | o.DEFAULT |
PARAMETER | int | constant · static | o.PARAMETER |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
parse | parse(in) | void parse(Reader in) |
parseDTDMarkup | parseDTDMarkup() | String parseDTDMarkup() |
The methods and fields of Object are inherited.
TagElement#
class · extends Object · javax.swing.text.html.parser.TagElement
Constructors
new TagElement(Element elem) |
new TagElement(Element elem, boolean fictional) |
Ring: new TagElement(args) uses the constructor with the fewest parameters (at least one); new TagElement makes the object with the constructor without parameters; the others: (new TagElement).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
breaksFlow | breaksFlow() | boolean breaksFlow() |
fictional | fictional() | boolean fictional() |
getElement | getElement() | Element getElement() |
getHTMLTag | getHTMLTag() | Tag getHTMLTag() |
isPreformatted | isPreformatted() | boolean isPreformatted() |
The methods and fields of Object are inherited.