GopXMLSource

GopXMLSource — Common interface for XML serialiser implementations.

Synopsis




void        gop_xml_source_set_object       (GopXMLSource *self,
                                             gchar const *id,
                                             GObject *object);
gcharconst * gop_xml_source_get_next_part   (GopXMLSource *self);
void        gop_xml_source_rewind           (GopXMLSource *self);

Description

GopXMLSource is the common interface through which all XML serialiser implementations are accessed.

Details

gop_xml_source_set_object ()

void        gop_xml_source_set_object       (GopXMLSource *self,
                                             gchar const *id,
                                             GObject *object);

Register an object for serialisation.

self : Self instance.
id : Unique object ID.
object : Object to register with XML serialiser subsystem.

gop_xml_source_get_next_part ()

gcharconst * gop_xml_source_get_next_part   (GopXMLSource *self);

Get next string part of the serialised object.

self : Self instance.
Returns : String part, NULL after last part.

gop_xml_source_rewind ()

void        gop_xml_source_rewind           (GopXMLSource *self);

Internal rewind of string iterator.

self : Self instance.