15 #ifndef _AX_EVENT_ELEMENT_ITEM_H_ 16 #define _AX_EVENT_ELEMENT_ITEM_H_ 38 const gchar *name_space);
100 GHashTable *attributes,
118 GHashTable **attributes,
gboolean ax_event_element_item_get_name(AXEventElementItem *node, gchar **name, GError **error)
Get the name of an AXEventElementItem.
gboolean ax_event_element_item_set_attributes(AXEventElementItem *node, GHashTable *attributes, GError **error)
Adds attributes to an AXEventElementItem. If called more than once on the same AXEventElementItem, only the attributes provided in the last call are used. The attributes can be removed by providing NULL as attributes.
gboolean ax_event_element_item_set_body(AXEventElementItem *node, const gchar *body, GError **error)
Set the body of an AXEventElementItem.
gboolean ax_event_element_item_get_next_child(AXEventElementItem *child, AXEventElementItem **sibling, GError **error)
Retrieve the sibling of a child.
gboolean ax_event_element_item_get_name_space(AXEventElementItem *node, gchar **name_space, GError **error)
Get the name space of the name of an AXEventElementItem.
gboolean ax_event_element_item_get_first_child(AXEventElementItem *parent, AXEventElementItem **child, GError **error)
Retrieve the first child of an AXEventElementItem.
void ax_event_element_item_free(AXEventElementItem *node)
Frees an AXEventElementItem.
gboolean ax_event_element_item_add_child(AXEventElementItem *node, AXEventElementItem *child, GError **error)
Add an child to an AXEventElementItem.
AXEventElementItem * ax_event_element_item_new(const gchar *name, const gchar *name_space)
Creates a new node in the tree.
struct _AXEventElementItem AXEventElementItem
The AXEventElementItem is a n opaque data type representing a node in a tree.
Definition: ax_event_element_item.h:26
gboolean ax_event_element_item_get_attributes(AXEventElementItem *node, GHashTable **attributes, GError **error)
Get the attributes of an AXEventElementItem.
gboolean ax_event_element_item_get_body(AXEventElementItem *node, gchar **body, GError **error)
Get the body of an AXEventElementItem.