This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.text.html.parser
class ParserDelegator

java.lang.Object extended by javax.swing.text.html.HTMLEditorKit.Parser extended by javax.swing.text.html.parser.ParserDelegator
All Implemented Interfaces:
Serializable

Most common way to construct:

ParserDelegator parser = new ParserDelegator();

Based on 129 examples


public class ParserDelegator
extends HTMLEditorKit.Parser
implements Serializable

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


Constructor Summary

          
 
Method Summary
protected static DTD
createDTD(DTD dtd, String name)

          
 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 static void

          
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit.Parser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserDelegator

public ParserDelegator()
Method Detail

createDTD

protected static DTD createDTD(DTD dtd,
                               String name)
Parameters:
dtd
name

parse

public void parse(Reader r,
                  HTMLEditorKit.ParserCallback cb,
                  boolean ignoreCharSet)
           throws IOException
Overrides:
parse in class HTMLEditorKit.Parser
Parameters:
r
cb
ignoreCharSet
Throws:
IOException

setDefaultDTD

protected static synchronized void setDefaultDTD()


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.