![]() |
![]() |
![]() |
[Insert name here] Reference Manual | ![]() |
---|
GopXMLSinkGopXMLSink — Common interface for XML deserialiser implementations. |
void gop_xml_sink_start_element (GopXMLSink *self, constgchar *tag, constgchar **attr_names, constgchar **attr_values,GError **error);void gop_xml_sink_end_element (GopXMLSink *self, constgchar *tag,GError **error);void gop_xml_sink_text (GopXMLSink *self, constgchar *text,gsize text_len,GError **error);GObject * gop_xml_sink_get_object (GopXMLSink *self);gchar * gop_xml_sink_get_object_id (GopXMLSink *self);
void gop_xml_sink_start_element (GopXMLSink *self, constgchar *tag, constgchar **attr_names, constgchar **attr_values,GError **error);
Opening tag read from XML file.
self : |
Self instance. |
tag : |
Tag-name of node. |
attr_names : |
array of attribute names. |
attr_values : |
array of attribute values. |
error : |
Error pointer. |
void gop_xml_sink_end_element (GopXMLSink *self, constgchar *tag,GError **error);
Closing tag read from XML file.
self : |
Self instance. |
tag : |
Tag-name of node. |
error : |
Error pointer. |
void gop_xml_sink_text (GopXMLSink *self, constgchar *text,gsize text_len,GError **error);
Text read from XML file.
self : |
Self instance. |
text : |
Text read, unterminated string. |
text_len : |
Length of text. |
error : |
Error pointer. |
GObject * gop_xml_sink_get_object (GopXMLSink *self);
Get a reference to the object instantiated by the implementing sink.
self : |
Self instance. |
Returns : | Object instance, when no longer referenced.
|
<< [Insert title here] | GopXMLSinkGObject >> |