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
- public virtual async void read_from_stream_async (InputStream istream, Cancellable? cancellable = null) throws Error
- 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
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