GXmlDomDocument

GXmlDomDocument — No implemented jet. This can lead to API changes in future versions.

Functions

GXmlDomHTMLCollection * gxml_dom_document_get_elements_by_tag_name ()
GXmlDomHTMLCollection * gxml_dom_document_get_elements_by_tag_name_ns ()
GXmlDomHTMLCollection * gxml_dom_document_get_elements_by_class_name ()
GXmlDomElement * gxml_dom_document_create_element ()
GXmlDomElement * gxml_dom_document_create_element_ns ()
GXmlDomDocumentFragment * gxml_dom_document_create_document_fragment ()
GXmlDomText * gxml_dom_document_create_text_node ()
GXmlDomComment * gxml_dom_document_create_comment ()
GXmlDomProcessingInstruction * gxml_dom_document_create_processing_instruction ()
GXmlDomNode * gxml_dom_document_import_node ()
GXmlDomNode * gxml_dom_document_adopt_node ()
GXmlDomEvent * gxml_dom_document_create_event ()
GXmlDomRange * gxml_dom_document_create_range ()
GXmlDomNodeIterator * gxml_dom_document_create_node_iterator ()
GXmlDomTreeWalker * gxml_dom_document_create_tree_walker ()
GXmlDomImplementation * gxml_dom_document_get_implementation ()
const gchar * gxml_dom_document_get_url ()
const gchar * gxml_dom_document_get_document_uri ()
const gchar * gxml_dom_document_get_origin ()
const gchar * gxml_dom_document_get_compat_mode ()
const gchar * gxml_dom_document_get_character_set ()
const gchar * gxml_dom_document_get_content_type ()
GXmlDomDocumentType * gxml_dom_document_get_doctype ()
GXmlDomElement * gxml_dom_document_get_document_element ()
GXmlDomDocumentType * gxml_dom_implementation_create_document_type ()
GXmlDomXMLDocument * gxml_dom_implementation_create_document ()
GXmlDocument * gxml_dom_implementation_create_html_document ()
gboolean gxml_dom_implementation_has_feature ()
const gchar * gxml_dom_document_type_get_name ()
const gchar * gxml_dom_document_type_get_public_id ()
const gchar * gxml_dom_document_type_get_system_id ()

Types and Values

Description

Functions

gxml_dom_document_get_elements_by_tag_name ()

GXmlDomHTMLCollection *
gxml_dom_document_get_elements_by_tag_name
                               (GXmlDomDocument *self,
                                const gchar *local_name);

Parameters

self

the GXmlDomDocument instance

 

local_name

 

 

gxml_dom_document_get_elements_by_tag_name_ns ()

GXmlDomHTMLCollection *
gxml_dom_document_get_elements_by_tag_name_ns
                               (GXmlDomDocument *self,
                                const gchar *namespace,
                                const gchar *local_name);

Parameters

self

the GXmlDomDocument instance

 

@namespace

 

 

local_name

 

 

gxml_dom_document_get_elements_by_class_name ()

GXmlDomHTMLCollection *
gxml_dom_document_get_elements_by_class_name
                               (GXmlDomDocument *self,
                                const gchar *classNames);

Parameters

self

the GXmlDomDocument instance

 

classNames

 

 

gxml_dom_document_create_element ()

GXmlDomElement *
gxml_dom_document_create_element (GXmlDomDocument *self,
                                  const gchar *local_name,
                                  GError **error);

Parameters

self

the GXmlDomDocument instance

 

local_name

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_element_ns ()

GXmlDomElement *
gxml_dom_document_create_element_ns (GXmlDomDocument *self,
                                     const gchar *namespace,
                                     const gchar *qualified_name,
                                     GError **error);

Parameters

self

the GXmlDomDocument instance

 

@namespace

 

 

qualified_name

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_document_fragment ()

GXmlDomDocumentFragment *
gxml_dom_document_create_document_fragment
                               (GXmlDomDocument *self);

Parameters

self

the GXmlDomDocument instance

 

gxml_dom_document_create_text_node ()

GXmlDomText *
gxml_dom_document_create_text_node (GXmlDomDocument *self,
                                    const gchar *data,
                                    GError **error);

Parameters

self

the GXmlDomDocument instance

 

data

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_comment ()

GXmlDomComment *
gxml_dom_document_create_comment (GXmlDomDocument *self,
                                  const gchar *data,
                                  GError **error);

Parameters

self

the GXmlDomDocument instance

 

data

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_processing_instruction ()

GXmlDomProcessingInstruction *
gxml_dom_document_create_processing_instruction
                               (GXmlDomDocument *self,
                                const gchar *target,
                                const gchar *data,
                                GError **error);

Parameters

self

the GXmlDomDocument instance

 

target

 

 

data

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_import_node ()

GXmlDomNode *
gxml_dom_document_import_node (GXmlDomDocument *self,
                               GXmlDomNode *node,
                               gboolean deep,
                               GError **error);

Parameters

self

the GXmlDomDocument instance

 

node

 

 

deep

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_adopt_node ()

GXmlDomNode *
gxml_dom_document_adopt_node (GXmlDomDocument *self,
                              GXmlDomNode *node,
                              GError **error);

Parameters

self

the GXmlDomDocument instance

 

node

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_event ()

GXmlDomEvent *
gxml_dom_document_create_event (GXmlDomDocument *self,
                                const gchar *interface,
                                GError **error);

No implemented jet. This can lead to API changes in future versions.

Parameters

self

the GXmlDomDocument instance

 

@interface

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_document_create_range ()

GXmlDomRange *
gxml_dom_document_create_range (GXmlDomDocument *self);

No implemented jet. This can lead to API changes in future versions.

Parameters

self

the GXmlDomDocument instance

 

gxml_dom_document_create_node_iterator ()

GXmlDomNodeIterator *
gxml_dom_document_create_node_iterator
                               (GXmlDomDocument *self,
                                GXmlDomNode *root,
                                gulong whatToShow,
                                GXmlDomNodeFilter *filter);

No implemented jet. This can lead to API changes in future versions.

Parameters

self

the GXmlDomDocument instance

 

root

 

 

whatToShow

 

 

filter

 

 

gxml_dom_document_create_tree_walker ()

GXmlDomTreeWalker *
gxml_dom_document_create_tree_walker (GXmlDomDocument *self,
                                      GXmlDomNode *root,
                                      gulong what_to_show,
                                      GXmlDomNodeFilter *filter);

No implemented jet. This can lead to API changes in future versions.

Parameters

self

the GXmlDomDocument instance

 

root

 

 

what_to_show

 

 

filter

 

 

gxml_dom_document_get_implementation ()

GXmlDomImplementation *
gxml_dom_document_get_implementation (GXmlDomDocument *self);

Get and return the current value of the "implementation" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "implementation" property


gxml_dom_document_get_url ()

const gchar *
gxml_dom_document_get_url (GXmlDomDocument *self);

Get and return the current value of the "url" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "url" property


gxml_dom_document_get_document_uri ()

const gchar *
gxml_dom_document_get_document_uri (GXmlDomDocument *self);

Get and return the current value of the "document-uri" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "document-uri" property


gxml_dom_document_get_origin ()

const gchar *
gxml_dom_document_get_origin (GXmlDomDocument *self);

Get and return the current value of the "origin" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "origin" property


gxml_dom_document_get_compat_mode ()

const gchar *
gxml_dom_document_get_compat_mode (GXmlDomDocument *self);

Get and return the current value of the "compat-mode" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "compat-mode" property


gxml_dom_document_get_character_set ()

const gchar *
gxml_dom_document_get_character_set (GXmlDomDocument *self);

Get and return the current value of the "character-set" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "character-set" property


gxml_dom_document_get_content_type ()

const gchar *
gxml_dom_document_get_content_type (GXmlDomDocument *self);

Get and return the current value of the "content-type" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "content-type" property


gxml_dom_document_get_doctype ()

GXmlDomDocumentType *
gxml_dom_document_get_doctype (GXmlDomDocument *self);

Get and return the current value of the "doctype" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "doctype" property


gxml_dom_document_get_document_element ()

GXmlDomElement *
gxml_dom_document_get_document_element
                               (GXmlDomDocument *self);

Get and return the current value of the "document-element" property.

Parameters

self

the GXmlDomDocument instance to query

 

Returns

the value of the "document-element" property


gxml_dom_implementation_create_document_type ()

GXmlDomDocumentType *
gxml_dom_implementation_create_document_type
                               (GXmlDomImplementation *self,
                                const gchar *qualified_name,
                                const gchar *public_id,
                                const gchar *system_id,
                                GError **error);

Parameters

self

the GXmlDomImplementation instance

 

qualified_name

 

 

public_id

 

 

system_id

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_implementation_create_document ()

GXmlDomXMLDocument *
gxml_dom_implementation_create_document
                               (GXmlDomImplementation *self,
                                const gchar *nspace,
                                const gchar *qualified_name,
                                GXmlDocumentType *doctype,
                                GError **error);

Parameters

self

the GXmlDomImplementation instance

 

nspace

 

 

qualified_name

 

 

doctype

 

 

error

location to store the error occuring, or NULL to ignore

 

gxml_dom_implementation_create_html_document ()

GXmlDocument *
gxml_dom_implementation_create_html_document
                               (GXmlDomImplementation *self,
                                const gchar *title);

Parameters

self

the GXmlDomImplementation instance

 

title

 

 

gxml_dom_implementation_has_feature ()

gboolean
gxml_dom_implementation_has_feature (GXmlDomImplementation *self);

Parameters

self

the GXmlDomImplementation instance

 

gxml_dom_document_type_get_name ()

const gchar *
gxml_dom_document_type_get_name (GXmlDomDocumentType *self);

Get and return the current value of the "name" property.

Parameters

self

the GXmlDomDocumentType instance to query

 

Returns

the value of the "name" property


gxml_dom_document_type_get_public_id ()

const gchar *
gxml_dom_document_type_get_public_id (GXmlDomDocumentType *self);

Get and return the current value of the "public-id" property.

Parameters

self

the GXmlDomDocumentType instance to query

 

Returns

the value of the "public-id" property


gxml_dom_document_type_get_system_id ()

const gchar *
gxml_dom_document_type_get_system_id (GXmlDomDocumentType *self);

Get and return the current value of the "system-id" property.

Parameters

self

the GXmlDomDocumentType instance to query

 

Returns

the value of the "system-id" property

Types and Values

GXmlDomDocument

typedef struct _GXmlDomDocument GXmlDomDocument;

struct GXmlDomDocumentIface

struct GXmlDomDocumentIface {
	GTypeInterface parent_iface;
	GXmlDomHTMLCollection* (*get_elements_by_tag_name) (GXmlDomDocument* self, const gchar* local_name);
	GXmlDomHTMLCollection* (*get_elements_by_tag_name_ns) (GXmlDomDocument* self, const gchar* namespace, const gchar* local_name);
	GXmlDomHTMLCollection* (*get_elements_by_class_name) (GXmlDomDocument* self, const gchar* classNames);
	GXmlDomElement* (*create_element) (GXmlDomDocument* self, const gchar* local_name, GError** error);
	GXmlDomElement* (*create_element_ns) (GXmlDomDocument* self, const gchar* namespace, const gchar* qualified_name, GError** error);
	GXmlDomDocumentFragment* (*create_document_fragment) (GXmlDomDocument* self);
	GXmlDomText* (*create_text_node) (GXmlDomDocument* self, const gchar* data, GError** error);
	GXmlDomComment* (*create_comment) (GXmlDomDocument* self, const gchar* data, GError** error);
	GXmlDomProcessingInstruction* (*create_processing_instruction) (GXmlDomDocument* self, const gchar* target, const gchar* data, GError** error);
	GXmlDomNode* (*import_node) (GXmlDomDocument* self, GXmlDomNode* node, gboolean deep, GError** error);
	GXmlDomNode* (*adopt_node) (GXmlDomDocument* self, GXmlDomNode* node, GError** error);
	GXmlDomEvent* (*create_event) (GXmlDomDocument* self, const gchar* interface, GError** error);
	GXmlDomRange* (*create_range) (GXmlDomDocument* self);
	GXmlDomNodeIterator* (*create_node_iterator) (GXmlDomDocument* self, GXmlDomNode* root, gulong whatToShow, GXmlDomNodeFilter* filter);
	GXmlDomTreeWalker* (*create_tree_walker) (GXmlDomDocument* self, GXmlDomNode* root, gulong what_to_show, GXmlDomNodeFilter* filter);
	GXmlDomImplementation* (*get_implementation) (GXmlDomDocument* self);
	const gchar* (*get_url) (GXmlDomDocument* self);
	const gchar* (*get_document_uri) (GXmlDomDocument* self);
	const gchar* (*get_origin) (GXmlDomDocument* self);
	const gchar* (*get_compat_mode) (GXmlDomDocument* self);
	const gchar* (*get_character_set) (GXmlDomDocument* self);
	const gchar* (*get_content_type) (GXmlDomDocument* self);
	GXmlDomDocumentType* (*get_doctype) (GXmlDomDocument* self);
	GXmlDomElement* (*get_document_element) (GXmlDomDocument* self);
};

Interface for creating GXmlDomDocument implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

get_elements_by_tag_name ()

virtual method called by gxml_dom_document_get_elements_by_tag_name()

 

get_elements_by_tag_name_ns ()

virtual method called by gxml_dom_document_get_elements_by_tag_name_ns()

 

get_elements_by_class_name ()

virtual method called by gxml_dom_document_get_elements_by_class_name()

 

create_element ()

virtual method called by gxml_dom_document_create_element()

 

create_element_ns ()

virtual method called by gxml_dom_document_create_element_ns()

 

create_document_fragment ()

virtual method called by gxml_dom_document_create_document_fragment()

 

create_text_node ()

virtual method called by gxml_dom_document_create_text_node()

 

create_comment ()

virtual method called by gxml_dom_document_create_comment()

 

create_processing_instruction ()

virtual method called by gxml_dom_document_create_processing_instruction()

 

import_node ()

virtual method called by gxml_dom_document_import_node()

 

adopt_node ()

virtual method called by gxml_dom_document_adopt_node()

 

create_event ()

virtual method called by gxml_dom_document_create_event()

 

create_range ()

virtual method called by gxml_dom_document_create_range()

 

create_node_iterator ()

virtual method called by gxml_dom_document_create_node_iterator()

 

create_tree_walker ()

virtual method called by gxml_dom_document_create_tree_walker()

 

get_implementation ()

getter method for the abstract property "implementation"

 

get_url ()

getter method for the abstract property "url"

 

get_document_uri ()

getter method for the abstract property "document-uri"

 

get_origin ()

getter method for the abstract property "origin"

 

get_compat_mode ()

getter method for the abstract property "compat-mode"

 

get_character_set ()

getter method for the abstract property "character-set"

 

get_content_type ()

getter method for the abstract property "content-type"

 

get_doctype ()

getter method for the abstract property "doctype"

 

get_document_element ()

getter method for the abstract property "document-element"

 

GXmlDomXMLDocument

typedef struct _GXmlDomXMLDocument GXmlDomXMLDocument;

struct GXmlDomXMLDocumentIface

struct GXmlDomXMLDocumentIface {
	GTypeInterface parent_iface;
};

Interface for creating GXmlDomXMLDocument implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

GXmlDomImplementation

typedef struct _GXmlDomImplementation GXmlDomImplementation;

No implemented jet. This can lead to API changes in future versions.


struct GXmlDomImplementationIface

struct GXmlDomImplementationIface {
	GTypeInterface parent_iface;
	GXmlDomDocumentType* (*create_document_type) (GXmlDomImplementation* self, const gchar* qualified_name, const gchar* public_id, const gchar* system_id, GError** error);
	GXmlDomXMLDocument* (*create_document) (GXmlDomImplementation* self, const gchar* nspace, const gchar* qualified_name, GXmlDocumentType* doctype, GError** error);
	GXmlDocument* (*create_html_document) (GXmlDomImplementation* self, const gchar* title);
	gboolean (*has_feature) (GXmlDomImplementation* self);
};

Interface for creating GXmlDomImplementation implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

create_document_type ()

virtual method called by gxml_dom_implementation_create_document_type()

 

create_document ()

virtual method called by gxml_dom_implementation_create_document()

 

create_html_document ()

virtual method called by gxml_dom_implementation_create_html_document()

 

has_feature ()

virtual method called by gxml_dom_implementation_has_feature()

 

GXmlDomDocumentFragment

typedef struct _GXmlDomDocumentFragment GXmlDomDocumentFragment;

No implemented jet. This can lead to API changes in future versions.


struct GXmlDomDocumentFragmentIface

struct GXmlDomDocumentFragmentIface {
	GTypeInterface parent_iface;
};

Interface for creating GXmlDomDocumentFragment implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

GXmlDomDocumentType

typedef struct _GXmlDomDocumentType GXmlDomDocumentType;

No implemented jet. This can lead to API changes in future versions.


struct GXmlDomDocumentTypeIface

struct GXmlDomDocumentTypeIface {
	GTypeInterface parent_iface;
	const gchar* (*get_name) (GXmlDomDocumentType* self);
	const gchar* (*get_public_id) (GXmlDomDocumentType* self);
	const gchar* (*get_system_id) (GXmlDomDocumentType* self);
};

Interface for creating GXmlDomDocumentType implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

get_name ()

getter method for the abstract property "name"

 

get_public_id ()

getter method for the abstract property "public-id"

 

get_system_id ()

getter method for the abstract property "system-id"