Class MalformedXMLParser
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
-
- net.adoptopenjdk.icedteaweb.xmlparser.MalformedXMLParser
-
-
Constructor Summary
Constructors Constructor Description MalformedXMLParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringpreprocessXml(java.lang.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 input-
Methods inherited from class net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
getRootNode
-
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
-
Method Detail
-
preprocessXml
public java.lang.String preprocessXml(java.lang.String original) throws ParseExceptionReads 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
-
-