Serializablepublic class ParserDelegator extends HTMLEditorKit.Parser implements Serializable
| Constructor | Description |
|---|---|
ParserDelegator() |
Creates
ParserDelegator with default DTD. |
| Modifier and Type | Method | 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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Debian+0-9b153-2