RingJavafor Ring

javax.swing.text.html.parser

10 classes of the module java.desktop.

Load them with:

using {
	"javax.swing.text.html.parser"
}

All packages

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

NameTypeAccessIn Ring
typeintread, writeo.type o.type = v
contentObjectread, writeo.content o.content = v
nextContentModelread, writeo.@next o.@next = v

Methods

MethodRing callJava overloads
@first@first(token)boolean first(Object token)
emptyempty()boolean empty()
firstfirst()Element first()
getElementsgetElements(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

MethodRing callJava overloads
parseparse(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

NameTypeAccessIn Ring
CDATAintconstant · statico.CDATA
ENTITYintconstant · statico.ENTITY
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMEintconstant · statico.NAME
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.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

NameTypeAccessIn Ring
nextAttributeListread, writeo.@next o.@next = v
CDATAintconstant · statico.CDATA
ENTITYintconstant · statico.ENTITY
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.PARAMETER

Methods

MethodRing callJava overloads
getModifiergetModifier()int getModifier()
getNamegetName()String getName()
getNextgetNext()AttributeList getNext()
getTypegetType()int getType()
getValuegetValue()String getValue()
getValuesgetValues()Enumeration getValues()
name2typename2type(nm)static int name2type(String nm)
type2nametype2name(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

NameTypeAccessIn Ring
elementsVectorread, writeo.elements o.elements = v
elementHashHashtableread, writeo.elementHash o.elementHash = v
entityHashHashtableread, writeo.entityHash o.entityHash = v
pcdataElementconstanto.pcdata
htmlElementconstanto.html
metaElementconstanto.meta
baseElementconstanto.base
isindexElementconstanto.isindex
headElementconstanto.head
bodyElementconstanto.body
appletElementconstanto.applet
paramElementconstanto.param
pElementconstanto.p
titleElementconstanto.title
FILE_VERSIONintconstant · statico.FILE_VERSION
CDATAintconstant · statico.CDATA
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.PARAMETER

Methods

MethodRing callJava overloads
defEntitydefEntity(name,type,ch)Entity defEntity(String name, int type, int ch)
defineAttributesdefineAttributes(name,atts)void defineAttributes(String name, AttributeList atts)
defineElementdefineElement(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)
defineEntitydefineEntity(name,type,data)Entity defineEntity(String name, int type, char[] data)
getDTDgetDTD(name)static DTD getDTD(String name)
getElementgetElement(index)Element getElement(int index)
Element getElement(String name)
getEntitygetEntity(ch)Entity getEntity(int ch)
Entity getEntity(String name)
getNamegetName()String getName()
putDTDHashputDTDHash(name,dtd)static void putDTDHash(String name, DTD dtd)
readread(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

NameTypeAccessIn Ring
oStartbooleanread, writeo.oStart o.oStart = v
oEndbooleanread, writeo.oEnd o.oEnd = v
inclusionsBitSetread, writeo.inclusions o.inclusions = v
exclusionsBitSetread, writeo.exclusions o.exclusions = v
attsAttributeListread, writeo.atts o.atts = v
dataObjectread, writeo.data o.data = v
CDATAintconstant · statico.CDATA
ENTITYintconstant · statico.ENTITY
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.PARAMETER

Methods

MethodRing callJava overloads
getAttributegetAttribute(name)AttributeList getAttribute(String name)
getAttributeByValuegetAttributeByValue(value)AttributeList getAttributeByValue(String value)
getAttributesgetAttributes()AttributeList getAttributes()
getContentgetContent()ContentModel getContent()
getIndexgetIndex()int getIndex()
getNamegetName()String getName()
getTypegetType()int getType()
isEmptyisEmpty()boolean isEmpty()
name2typename2type(nm)static int name2type(String nm)
omitEndomitEnd()boolean omitEnd()
omitStartomitStart()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

NameTypeAccessIn Ring
CDATAintconstant · statico.CDATA
ENTITYintconstant · statico.ENTITY
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.PARAMETER

Methods

MethodRing callJava overloads
getDatagetData()char[] getData()
getNamegetName()String getName()
getStringgetString()String getString()
getTypegetType()int getType()
isGeneralisGeneral()boolean isGeneral()
isParameterisParameter()boolean isParameter()
name2typename2type(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

NameTypeAccessIn Ring
CDATAintconstant · statico.CDATA
ENTITYintconstant · statico.ENTITY
ENTITIESintconstant · statico.ENTITIES
IDintconstant · statico.ID
IDREFintconstant · statico.IDREF
IDREFSintconstant · statico.IDREFS
NAMEintconstant · statico.NAME
NAMESintconstant · statico.NAMES
NMTOKENintconstant · statico.NMTOKEN
NMTOKENSintconstant · statico.NMTOKENS
NOTATIONintconstant · statico.NOTATION
NUMBERintconstant · statico.NUMBER
NUMBERSintconstant · statico.NUMBERS
NUTOKENintconstant · statico.NUTOKEN
NUTOKENSintconstant · statico.NUTOKENS
RCDATAintconstant · statico.RCDATA
EMPTYintconstant · statico.EMPTY
MODELintconstant · statico.MODEL
ANYintconstant · statico.ANY
FIXEDintconstant · statico.FIXED
REQUIREDintconstant · statico.REQUIRED
CURRENTintconstant · statico.CURRENT
CONREFintconstant · statico.CONREF
IMPLIEDintconstant · statico.IMPLIED
PUBLICintconstant · statico.PUBLIC
SDATAintconstant · statico.SDATA
PIintconstant · statico.PI
STARTTAGintconstant · statico.STARTTAG
ENDTAGintconstant · statico.ENDTAG
MSintconstant · statico.MS
MDintconstant · statico.MD
SYSTEMintconstant · statico.SYSTEM
GENERALintconstant · statico.GENERAL
DEFAULTintconstant · statico.DEFAULT
PARAMETERintconstant · statico.PARAMETER

Methods

MethodRing callJava overloads
parseparse(in)void parse(Reader in)
parseDTDMarkupparseDTDMarkup()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

MethodRing callJava overloads
breaksFlowbreaksFlow()boolean breaksFlow()
fictionalfictional()boolean fictional()
getElementgetElement()Element getElement()
getHTMLTaggetHTMLTag()Tag getHTMLTag()
isPreformattedisPreformatted()boolean isPreformatted()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.