Parsable
Object Hierarchy:
Description:
[
CCode ( type_id =
"gdata_parsable_get_type ()" ) ]
[
Version ( since =
"0.3.0" ) ]
public abstract class Parsable :
Object
All the fields in the Parsable structure are private and should never be accessed directly.
Content:
Properties:
Creation methods:
Methods:
- public unowned string get_content_type ()
Returns the content type upon which the
Parsable is built.
- public virtual void get_json (Builder builder)
Builds a JSON representation of the
Parsable in its current state, such that it could be inserted on the server.
- public virtual void get_namespaces (HashTable<void*,void*> namespaces)
a function to return a string containing the namespace declarations
used by the parsable when represented in XML form
- public virtual void get_xml (StringBuilder xml_string)
Builds an XML representation of the
Parsable in its current state, such that it could be inserted on the server.
- public virtual bool parse_json (Reader reader) throws Error
a function to parse a JSON representation of the
Parsable to set the properties of the parsable
- public virtual bool parse_xml (Doc doc, Node node) throws Error
a function to parse an XML representation of the
Parsable to set the properties of the parsable
- public virtual bool post_parse_json () throws Error
a function called after parsing a JSON object, to allow the
parsable to validate the parsed properties
- public virtual bool post_parse_xml () throws Error
a function called after parsing an XML tree, to allow the
parsable to validate the parsed properties
- public virtual void pre_get_xml (StringBuilder xml_string)
a function called before building the XML representation of the
children of the Parsable, which allows attributes of the root XML node to be added to
xml_string
- public virtual bool pre_parse_xml (Doc doc, Node root_node) throws Error
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
Inherited Members:
All known members inherited from class GLib.Object