GXmlTNodeTChildrenList

GXmlTNodeTChildrenList — Base node abstract class implemeting GXmlNode interface, not tied to libxml-2.0 library.

Functions

Types and Values

Description

Functions

gxml_tnode_set_namespace ()

gboolean
gxml_tnode_set_namespace (GXmlTNode *self,
                          const gchar *uri,
                          const gchar *prefix);

Parameters

self

the GXmlTNode instance

 

uri

 

 

prefix

 

 

gxml_tnode_to_string ()

gchar *
gxml_tnode_to_string (GXmlTNode *self);

Parameters

self

the GXmlTNode instance

 

gxml_tnode_set_parent ()

void
gxml_tnode_set_parent (GXmlTNode *self,
                       GXmlNode *node);

Parameters

self

the GXmlTNode instance

 

node

 

 

gxml_tnode_tchildren_list_new ()

GXmlTNodeTChildrenList *
gxml_tnode_tchildren_list_new (GXmlNode *e);

Parameters

e

 

 

gxml_tnode_get_attrs ()

GeeMap *
gxml_tnode_get_attrs (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "attrs" property


gxml_tnode_get_children_nodes ()

GeeBidirList *
gxml_tnode_get_children_nodes (GXmlTNode *self);

Get and return the current value of the "children-nodes" property.

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "children-nodes" property


gxml_tnode_get_document ()

GXmlDocument *
gxml_tnode_get_document (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "document" property


gxml_tnode_get_name ()

gchar *
gxml_tnode_get_name (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "name" property


gxml_tnode_get_namespaces ()

GeeList *
gxml_tnode_get_namespaces (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "namespaces" property


gxml_tnode_get_type_node ()

GXmlNodeType
gxml_tnode_get_type_node (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "type-node" property


gxml_tnode_get_value ()

gchar *
gxml_tnode_get_value (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "value" property


gxml_tnode_set_value ()

void
gxml_tnode_set_value (GXmlTNode *self,
                      const gchar *value);

Set the value of the "value" property to value .

Parameters

self

the GXmlTNode instance to modify

 

value

the new value of the "value" property

 

gxml_tnode_get_parent ()

GXmlNode *
gxml_tnode_get_parent (GXmlTNode *self);

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

Parameters

self

the GXmlTNode instance to query

 

Returns

the value of the "parent" property

Types and Values

GXML_TYPE_TNODE

#define GXML_TYPE_TNODE (gxml_tnode_get_type ())

The type for GXmlTNode.


GXML_TNODE_TYPE_TCHILDREN_LIST

#define GXML_TNODE_TYPE_TCHILDREN_LIST (gxml_tnode_tchildren_list_get_type ())

The type for GXmlTNodeTChildrenList.


struct GXmlTNodeTChildrenList

struct GXmlTNodeTChildrenList {
	GeeAbstractBidirList parent_instance;
	GXmlTNodeTChildrenListPrivate * priv;
};

struct GXmlTNodeTChildrenListClass

struct GXmlTNodeTChildrenListClass {
	GeeAbstractBidirListClass parent_class;
};

The class structure for GXML_TNODE_TYPE_TCHILDREN_LIST. All the fields in this structure are private and should never be accessed directly.

Members


struct GXmlTNode

struct GXmlTNode {
	GObject parent_instance;
	GXmlTNodePrivate * priv;
	gchar* _name;
	gchar* _value;
	GXmlDocument* _doc;
	GXmlNode* _parent;
	xmlTextWriter* tw;
};

Base node abstract class implemeting GXmlNode interface, not tied to libxml-2.0 library.


struct GXmlTNodeClass

struct GXmlTNodeClass {
	GObjectClass parent_class;
	gboolean (*set_namespace) (GXmlTNode* self, const gchar* uri, const gchar* prefix);
	gchar* (*to_string) (GXmlTNode* self);
	void (*set_parent) (GXmlTNode* self, GXmlNode* node);
	GeeMap* (*get_attrs) (GXmlTNode* self);
	GeeBidirList* (*get_children_nodes) (GXmlTNode* self);
	GXmlDocument* (*get_document) (GXmlTNode* self);
	gchar* (*get_name) (GXmlTNode* self);
	GeeList* (*get_namespaces) (GXmlTNode* self);
	GXmlNodeType (*get_type_node) (GXmlTNode* self);
	gchar* (*get_value) (GXmlTNode* self);
	void (*set_value) (GXmlTNode* self, const gchar* value);
	GXmlNode* (*get_parent) (GXmlTNode* self);
};

The class structure for GXML_TYPE_TNODE. All the fields in this structure are private and should never be accessed directly.

Members

set_namespace ()

virtual method called by gxml_tnode_set_namespace()

 

to_string ()

virtual method called by gxml_tnode_to_string()

 

set_parent ()

virtual method called by gxml_tnode_set_parent()

 

get_attrs ()

getter method for the abstract property "attrs"

 

get_children_nodes ()

getter method for the abstract property "children-nodes"

 

get_document ()

getter method for the abstract property "document"

 

get_name ()

getter method for the abstract property "name"

 

get_namespaces ()

getter method for the abstract property "namespaces"

 

get_type_node ()

getter method for the abstract property "type-node"

 

get_value ()

getter method for the abstract property "value"

 

set_value ()

setter method for the abstract property "value"

 

get_parent ()

getter method for the abstract property "parent"