public class XmlParser extends java.lang.Object
| Constructor and Description |
|---|
XmlParser() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
parseXml(java.lang.String xml)
Parse a provided XML String and return the generated DOM Document.
|
public XmlParser()
public org.w3c.dom.Document parseXml(java.lang.String xml) throws NexmoResponseParseException
xml - A String containing XML.NexmoResponseParseException - If there is a problem initializing the XML parser or parsing the XML.