XmlDocument
Object Hierarchy:
Description:
[ CCode ( type_id = "e_xml_document_get_type ()" ) ]
[ Version ( since = "3.26" ) ]
public class XmlDocument : Object
Contains only private data that should be read and manipulated using the functions below.
Content:
Creation methods:
Methods:
- public void add_attribute (string? ns_href, string name, string value)
Adds a new attribute to the current element.
- public void add_attribute_double (string? ns_href, string name, double value)
Adds a new attribute with a double value to the current element.
- public void add_attribute_int (string? ns_href, string name, int64 value)
Adds a new attribute with an integer value to the current element.
- public void add_attribute_time (string? ns_href, string name, long value)
Adds a new attribute with a time_t value in ISO 8601 format to the
current element.
- public void add_attribute_time_ical (string? ns_href, string name, long value)
Adds a new attribute with a time_t value in iCalendar format to the
current element.
- public void add_empty_element (string? ns_href, string name)
Adds an empty element, which is an element with no attribute and no
value.
- public void end_element ()
- public string get_content (out size_t out_length)
Gets content of the this as string.
- public unowned Doc get_xmldoc ()
- public void start_element (string? ns_href, string name)
Starts a new non-text element as a child of the current element.
- public void start_text_element (string? ns_href, string name)
Starts a new text element as a child of the current element.
- public void write_base64 (string value, int len)
Writes value
of length len
, encoded to
base64, as content of the current element.
- public void write_buffer (string value, int len)
Writes value
of length len
as content of the
current element.
- public void write_double (double value)
Writes value
as content of the current element.
- public void write_int (int64 value)
Writes value
as content of the current element.
- public void write_string (string value)
Writes value
as content of the current element.
- public void write_time (long value)
Writes value
in ISO 8601 format as content of the current
element.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref