Package hudson.plugins.swarm
Class XmlUtils
java.lang.Object
hudson.plugins.swarm.XmlUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Documentparse(InputStream stream) Parse the supplied XML stream data to aDocument.
-
Constructor Details
-
XmlUtils
public XmlUtils()
-
-
Method Details
-
parse
Parse the supplied XML stream data to aDocument.This function does not close the stream.
- Parameters:
stream- The XML stream.- Returns:
- The XML
Document. - Throws:
SAXException- Error parsing the XML stream data e.g. badly formed XML.IOException- Error reading from the steam.
-