Home » openjdk-7 » javax » swing » text » html » parser » [javadoc | source]
javax.swing.text.html.parser
public class: ParserDelegator [javadoc | source]
java.lang.Object
   javax.swing.text.html.HTMLEditorKit.Parser
      javax.swing.text.html.parser.ParserDelegator

All Implemented Interfaces:
    java$io$Serializable

Responsible for starting up a new DocumentParser each time its parse method is invoked. Stores a reference to the dtd.
Constructor:
 public ParserDelegator() 
Method from javax.swing.text.html.parser.ParserDelegator Summary:
createDTD,   getResourceAsStream,   parse,   setDefaultDTD
Methods from javax.swing.text.html.HTMLEditorKit$Parser:
parse
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.html.parser.ParserDelegator Detail:
 protected static DTD createDTD(DTD dtd,
    String name) 
 static InputStream getResourceAsStream(String name) 
    Fetch a resource relative to the ParserDelegator classfile. If this is called on 1.2 the loading will occur under the protection of a doPrivileged call to allow the ParserDelegator to function when used in an applet.
 public  void parse(Reader r,
    ParserCallback cb,
    boolean ignoreCharSet) throws IOException 
 protected static  void setDefaultDTD()