Package com.nexmo.client.legacyutils
Class XmlParser
- java.lang.Object
-
- com.nexmo.client.legacyutils.XmlParser
-
public class XmlParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XmlParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.DocumentparseXml(java.lang.String xml)Parse a provided XML String and return the generated DOM Document.
-
-
-
Constructor Detail
-
XmlParser
public XmlParser()
-
-
Method Detail
-
parseXml
public org.w3c.dom.Document parseXml(java.lang.String xml) throws NexmoResponseParseException
Parse a provided XML String and return the generated DOM Document.- Parameters:
xml- A String containing XML.- Returns:
- A Document generated from the parsed XML.
- Throws:
NexmoResponseParseException- If there is a problem initializing the XML parser or parsing the XML.
-
-