Class XMLParser
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
-
- Direct Known Subclasses:
MalformedXMLParser
public class XMLParser extends java.lang.ObjectA gateway to the actual implementation of the parsers.Used by net.sourceforge.jnlp.Parser
-
-
Constructor Summary
Constructors Constructor Description XMLParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlNodegetRootNode(java.io.InputStream input)Parses input from an InputStream and returns a Node representing the root of the parse tree.java.lang.StringpreprocessXml(java.lang.String original)
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
CODEBASE
public static final java.lang.String CODEBASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRootNode
public final XmlNode getRootNode(java.io.InputStream input) throws ParseException
Parses input from an InputStream and returns a Node representing the root of the parse tree.- Parameters:
input- theInputStreamcontaining the XML- Returns:
- a
XmlNoderepresenting the root of the parsed XML - Throws:
ParseException- if parsing fails
-
preprocessXml
public java.lang.String preprocessXml(java.lang.String original) throws ParseException- Throws:
ParseException
-
-