DomElement
Object Hierarchy:
Description:
All known implementing classes:
All known sub-interfaces:
Content:
Properties:
Methods:
- public virtual InputStream create_stream () throws Error
- public virtual async InputStream create_stream_async (Cancellable? cancellable = null) throws Error
- public abstract string? get_attribute (string name)
- public abstract string? get_attribute_ns (string? @namespace, string local_name)
- public abstract DomHTMLCollection get_elements_by_class_name (string class_names)
- public abstract DomHTMLCollection get_elements_by_tag_name (string local_name)
- public abstract DomHTMLCollection get_elements_by_tag_name_ns (string? @namespace, string local_name)
- public abstract bool has_attribute (string name)
- public abstract bool has_attribute_ns (string? @namespace, string local_name)
- public virtual bool matches (string selectors) throws Error
- public virtual void read_from_file (File f, Cancellable? cancellable = null) throws Error
- public virtual async void read_from_file_async (File f, Cancellable? cancellable = null) throws Error
Parses asinchronically an XML file, deserializing it over
GXml.Element.
- public virtual void read_from_stream (InputStream istream, Cancellable? cancellable = null) throws Error
Parses an XML over a GLib.InputStream
, deserializing it over GXml.Element.
- public virtual async void read_from_stream_async (InputStream istream, Cancellable? cancellable = null) throws Error
Parses asynchronically an XML over a
GLib.InputStream, deserializing it over GXml.Element.
- public virtual void read_from_string (string str, Cancellable? cancellable = null) throws Error
- public virtual async void read_from_string_async (string str, Cancellable? cancellable = null) throws Error
- public virtual void read_from_uri (string uri) throws Error
Parsing a URI file.
- public virtual async void read_from_uri_async (string uri, Cancellable? cancellable = null) throws Error
Parsing asinchronically a URI file.
- public abstract void remove_attribute (string name)
- public abstract void remove_attribute_ns (string? @namespace, string local_name)
- public abstract void set_attribute (string name, string value) throws Error
- public abstract void set_attribute_ns (string? @namespace, string name, string value) throws Error
Set an attribute value to this element. If it doesn't exists yet, it
is added to the list of attributes, unless it is an namespace redefinition.
- public virtual void write_file (File f, Cancellable? cancellable = null) throws Error
Uses element's
GXml.Document to write an XML to a file, serializing it.
- public virtual async void write_file_async (File f, Cancellable? cancellable = null) throws Error
Uses element's
GXml.Document to write asynchronically an XML to a file, serializing it.
- public virtual void write_stream (OutputStream stream) throws Error
Uses element's
GXml.Document to write an XML to a stream, serializing it.
- public virtual async void write_stream_async (OutputStream stream, Cancellable? cancellable = null) throws Error
Uses element's
GXml.Document to write an XML to a stream, serializing it.
- public virtual string write_string (Cancellable? cancellable = null) throws Error
- public virtual async string write_string_async (Cancellable? cancellable = null) throws Error
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.DomNode
All known members inherited from interface GXml.DomChildNode
All known members inherited from interface
GXml.DomNonDocumentTypeChildNode
All known members inherited from interface GXml.DomParentNode