public class XMLStringParser extends Object
| Constructor and Description |
|---|
XMLStringParser() |
| Modifier and Type | Method and Description |
|---|---|
static Document |
parseXMLString(String XMLdoc)
Parses an XML string and transforms it to a DOM tree.
|
static String |
XMLDocToString(Node root)
Converts a XML DOM tree to a XML string.
|
public static Document parseXMLString(String XMLdoc) throws ParserConfigurationException, SAXException, IOException
XMLdoc - The XML string to parseParserConfigurationException - an error occuredSAXException - an error occuredIOException - an error occuredCopyright © 2017. All Rights Reserved.