Document
Object Hierarchy:
Description:
[
Version ( deprecated =
true , deprecated_since =
"0.18" , replacement =
"GXml.DomDocument" ) ]
public interface Document :
Object,
Node
Warning: Document is deprecated since 0.18. Use GXml.DomDocument.
DOM1 Interface to handle XML documents.
Provides basic interfaces to read and create XML documents.
All known implementing classes:
Content:
Properties:
- public abstract bool backup { get; set; }
Controls if writting to a GLib.File
creates a backup, by default is true;
- public abstract File file { get; set; }
Stores a GLib.File to save/read XML
documents to/from.
- public abstract bool indent { get; set; }
Controls if writting this documents should use indent.
- public abstract bool ns_top { get; set; }
Controls if writting this documentsshould use namespaces declaration
at root GXml.Element.
- public abstract bool prefix_default_ns { get; set; }
Controls if writting this document should use default namespace's
prefix to prefix root's childs GXml.Element.
- public abstract Node root { owned get; }
Static methods:
- public static Document new_default ()
Creates a new GXml.Document using
default implementation class.
- public static Document new_default_for_file (File f) throws Error
Creates a new GXml.Document from a
GLib.File using default implementation class.
- public static Document new_default_for_path (string path) throws Error
Creates a new GXml.Document from a file
path using default implementation class.
Methods:
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
All known members inherited from interface GXml.Node