public class

ParserDelegator

extends HTMLEditorKit.Parser
implements Serializable
java.lang.Object
   ↳ javax.swing.text.html.HTMLEditorKit.Parser
     ↳ javax.swing.text.html.parser.ParserDelegator

Class Overview

Responsible for starting up a new DocumentParser each time its parse method is invoked. Stores a reference to the dtd.

Summary

Public Constructors
ParserDelegator()
Public Methods
void parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)
Parse the given stream and drive the given callback with the results of the parse.
Protected Methods
static DTD createDTD(DTD dtd, String name)
synchronized static void setDefaultDTD()
[Expand]
Inherited Methods
From class javax.swing.text.html.HTMLEditorKit.Parser
From class java.lang.Object

Public Constructors

public ParserDelegator ()

Public Methods

public void parse (Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet)

Parse the given stream and drive the given callback with the results of the parse. This method should be implemented to be thread-safe.

Throws
IOException

Protected Methods

protected static DTD createDTD (DTD dtd, String name)

protected static synchronized void setDefaultDTD ()