public class XMLParser
extends java.lang.Object
Constructor and Description |
---|
XMLParser() |
Modifier and Type | Method and Description |
---|---|
static XMLElement[] |
parseXML(java.lang.String xml)
Parses XML and returns all found
XMLElement s without further
root-elements in an array. |
public static XMLElement[] parseXML(java.lang.String xml) throws java.lang.Exception
XMLElement
s without further
root-elements in an array.XMLElement.getChildren()
.xml
- XML to be parsed as a String.XMLElement
s without further root-elements in an
array.java.lang.Exception
- If passed XML is not valid.