@Deprecated public final class SimpleXMLParser extends Object
The parser can:
<[CDATA[ ... ]]>
construct
\r\n
and \r
to \n
on input, in accordance with the XML Specification, Section 2.11
Modifier and Type | Method and Description |
---|---|
static void |
parse(SimpleXMLDocHandler doc,
InputStream in)
Deprecated.
Parses the XML document firing the events to the handler.
|
static void |
parse(SimpleXMLDocHandler doc,
Reader r)
Deprecated.
|
static void |
parse(SimpleXMLDocHandler doc,
SimpleXMLDocHandlerComment comment,
Reader r,
boolean html)
Deprecated.
Parses the XML document firing the events to the handler.
|
public static void parse(SimpleXMLDocHandler doc, SimpleXMLDocHandlerComment comment, Reader r, boolean html) throws IOException
doc
- the document handlerr
- the document. The encoding is already resolved. The reader is not closedIOException
- on errorpublic static void parse(SimpleXMLDocHandler doc, InputStream in) throws IOException
doc
- the document handlerin
- the document. The encoding is deduced from the stream. The stream is not closedIOException
- on errorpublic static void parse(SimpleXMLDocHandler doc, Reader r) throws IOException
IOException
Copyright © 2018. All rights reserved.