Rest.XmlParser¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Rest.XmlParser(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A Xml Parser for Rest Responses
- classmethod new()¶
- Returns:
a new
Rest.XmlParser
.- Return type:
Create a new
Rest.XmlParser
, for parsing XML documents.
- parse_from_data(data, len)¶
- Parameters:
- Returns:
a new
Rest.XmlNode
, orNone
if the XML was invalid.- Return type:
Parse the XML in data, and return a new
Rest.XmlNode
. If data is invalid XML,None
is returned.