GXmlAttribute

GXmlAttribute — Interface to handle XML tags properties.

Functions

Types and Values

Description

Its features relays on GXmlNode interface inplementation to access GXmlElement properties.

Attribute's name could be get from "name" property. Its value should be get from "value" property.

Functions

gxml_attribute_get_namespace ()

GXmlNamespace *
gxml_attribute_get_namespace (GXmlAttribute *self);

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

Parameters

self

the GXmlAttribute instance to query

 

Returns

the value of the "namespace" property


gxml_attribute_set_namespace ()

void
gxml_attribute_set_namespace (GXmlAttribute *self,
                              GXmlNamespace *value);

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

Parameters

self

the GXmlAttribute instance to modify

 

value

the new value of the "namespace" property

 

gxml_attribute_get_prefix ()

gchar *
gxml_attribute_get_prefix (GXmlAttribute *self);

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

Parameters

self

the GXmlAttribute instance to query

 

Returns

the value of the "prefix" property

Types and Values

GXmlAttribute

typedef struct _GXmlAttribute GXmlAttribute;

Interface to handle XML tags properties.

Its features relays on GXmlNode interface inplementation to access GXmlElement properties.

Attribute's name could be get from "name" property. Its value should be get from "value" property.


struct GXmlAttributeIface

struct GXmlAttributeIface {
	GTypeInterface parent_iface;
	GXmlNamespace* (*get_namespace) (GXmlAttribute* self);
	void (*set_namespace) (GXmlAttribute* self, GXmlNamespace* value);
	gchar* (*get_prefix) (GXmlAttribute* self);
};

Interface for creating GXmlAttribute implementations.

Members

GTypeInterface parent_iface;

the parent interface structure

 

get_namespace ()

   

set_namespace ()

   

get_prefix ()

getter method for the abstract property "prefix"