public class ParserDelegator extends HTMLEditorKit.Parser implements Serializable
| Constructor and Description |
|---|
ParserDelegator()
Creates
ParserDelegator with default DTD. |
| Modifier and Type | Method and Description |
|---|---|
protected static DTD |
createDTD(DTD dtd,
String name)
Recreates a DTD from an archived format with the specified
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 |
setDefaultDTD()
Sets the default DTD.
|
public ParserDelegator()
ParserDelegator with default DTD.protected static void setDefaultDTD()
protected static DTD createDTD(DTD dtd, String name)
name.dtd - a DTDname - the name of the resource, relative to the ParserDelegator class.name.public void parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet) throws IOException
HTMLEditorKit.Parserparse in class HTMLEditorKit.Parserr - a readercb - a parser callbackignoreCharSet - if true charset is ignoringIOException - if an I/O exception occurs Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-01-26-133437.ivan.openjdk9onspinwait