Class XMLParser
java.lang.Object
net.adoptopenjdk.icedteaweb.xmlparser.XMLParser
- Direct Known Subclasses:
MalformedXMLParser
A gateway to the actual implementation of the parsers.
Used by net.sourceforge.jnlp.Parser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal XmlNodegetRootNode(InputStream input) Parses input from an InputStream and returns a Node representing the root of the parse tree.preprocessXml(String original)
-
Field Details
-
LOG
-
CODEBASE
- See Also:
-
-
Constructor Details
-
XMLParser
public XMLParser()
-
-
Method Details
-
getRootNode
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
- Throws:
ParseException
-