XmlParser¶
Definition¶
Extends¶
Extended By¶
None
Description¶
Parser for XML
Method Summary¶
Owner | Name | Return Type | Description |
---|---|---|---|
XmlParser | constructor() | XmlParser | Creates a xml parser |
Object | getClassName() | String | Returns the string name of this object's class type. |
XmlParser | parseDocument(xml) | XmlElement | Parses an xml string and returns an XmlElement object |
Object | toJson() | String | Returns a json representation of this object. |
Method Definitions¶
constructor()¶
XmlParser xmlparser = new XmlParser()
Description¶
Creates a xml parser
parseDocument(xml)¶
XmlElement XmlParser::parseDocument(String xml)
Description¶
Parses an xml string and returns an XmlElement object
Parameter Definition¶
Name | Type | Description |
---|---|---|
xml | String | Stringified XML |