GData.ParsableClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
element_name |
r |
the name of the XML element which represents this parsable |
|
element_namespace |
r |
the prefix of the XML namespace used for the parsable |
|
get_content_type |
r |
a function which returns content type upon which is |
|
get_json |
r |
a function to build a JSON representation of the |
|
get_namespaces |
r |
a function to return a string containing the namespace declarations used by the parsable when represented in XML form |
|
get_xml |
r |
a function to build an XML representation of the |
|
parent |
r |
the parent class |
|
parse_json |
r |
a function to parse a JSON representation of the |
|
parse_xml |
r |
a function to parse an XML representation of the |
|
post_parse_json |
r |
a function called after parsing a JSON object, to allow the parsable to validate the parsed properties |
|
post_parse_xml |
r |
a function called after parsing an XML tree, to allow the parsable to validate the parsed properties |
|
pre_get_xml |
r |
a function called before building the XML representation of the children of the |
|
pre_parse_xml |
r |
a function called before parsing of an XML tree is started, which allows properties from the root node to be extracted and used in parsable |
Methods¶
None
Details¶
- class GData.ParsableClass¶
The class structure for the
GData.Parsable
class. Note that JSON and XML functions are mutually exclusive: a given implementation ofGData.Parsable
is represented as exactly one of JSON and XML.New in version 0.3.0.