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
Threads and Swing,
a section in
The Java Tutorial.
@see javax.swing.text.html.HTMLEditorKit.ParserCallback
@since 1.2
@serial exclude
|
Java Source File Name | Type | Comment |
AttributeList.java | Class | This class defines the attributes of an SGML element
as described in a DTD using the ATTLIST construct.
An AttributeList can be obtained from the Element
class using the getAttributes() method.
It is actually an element in a linked list. |
ContentModel.java | Class | A representation of a content model. |
ContentModelState.java | Class | A content model state. |
DocumentParser.java | Class | 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).
Reads an InputStream of HTML and
invokes the appropriate methods in the ParserCallback class. |
DTD.java | Class | The representation of an SGML DTD. |
DTDConstants.java | Interface | SGML constants used in a DTD. |
Element.java | Class | An element as described in a DTD using the ELEMENT construct.
This is essentiall the description of a tag. |
Entity.java | Class | An entity is described in a DTD using the ENTITY construct. |
Parser.java | Class | A simple DTD-driven HTML parser. |
ParserDelegator.java | Class | Responsible for starting up a new DocumentParser
each time its parse method is invoked. |
ResourceLoader.java | Class | Simple class to load resources using the 1.2
security model. |
TagElement.java | Class | A generic HTML TagElement class. |
TagStack.java | Class | A stack of tags. |