Class MalformedXMLParser
java.lang.Object
net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser
An specialized
XMLParser that uses TagSoup[1] to parse
malformed XML
Used by net.sourceforge.jnlp.Parser
[1] http://home.ccil.org/~cowan/XML/tagsoup/
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpreprocessXml(String original) Reads malformed XML from the InputStream original and returns a new InputStream which can be used to read a well-formed version of the inputMethods inherited from class net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
getRootNode
-
Field Details
-
LOG
-
-
Constructor Details
-
MalformedXMLParser
public MalformedXMLParser()
-
-
Method Details
-
preprocessXml
Reads malformed XML from the InputStream original and returns a new InputStream which can be used to read a well-formed version of the input- Overrides:
preprocessXmlin classXMLParser- Parameters:
original- original input- Returns:
- an
InputStreamwhich can be used to read a well-formed version of the input XML - Throws:
ParseException- if an exception occurs while parsing the input
-