APIdia Launch Partner
Top Description Interfaces Classes
module java.desktop

Package javax.swing.text.html.parser


Provides the default HTML parser, along with support classes. As the stream is parsed, the parser notifies a delegate, which must implement the HTMLEditorKit.ParserCallback interface.

Note

Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

Since
1.2
See Also
javax.swing.text.html.HTMLEditorKit.ParserCallback

Interface Summary

Modifier and TypeInterface and Description
public interface
DTDConstants

SGML constants used in a DTD.

Class Summary

Modifier and TypeClass and Description
public class
AttributeList

This class defines the attributes of an SGML element as described in a DTD using the ATTLIST construct.

public class
ContentModel

A representation of a content model.

pack-priv class
ContentModelState

A content model state.

public class
DocumentParser

A Parser for HTML Documents (actually, you can specify a DTD, but you should really only use this class with the html dtd in swing).

public class
DTD

The representation of an SGML DTD.

public class
Element

An element as described in a DTD using the ELEMENT construct.

public class
Entity

An entity is described in a DTD using the ENTITY construct.

public class
Parser

A simple DTD-driven HTML parser.

public class
ParserDelegator

Responsible for starting up a new DocumentParser each time its parse method is invoked.

public class
TagElement

A generic HTML TagElement class.

pack-priv class
TagStack

A stack of tags.