GdomeElement

Name

GdomeElement -- 

Synopsis



struct      GdomeElement;
GdomeDOMString* gdome_el_tagName            (GdomeElement *self,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_getAttribute       (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);
void        gdome_el_setAttribute           (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeDOMString *value,
                                             GdomeException *exc);
void        gdome_el_removeAttribute        (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);
GdomeAttr*  gdome_el_getAttributeNode       (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);
GdomeAttr*  gdome_el_setAttributeNode       (GdomeElement *self,
                                             GdomeAttr *newAttr,
                                             GdomeException *exc);
GdomeAttr*  gdome_el_removeAttributeNode    (GdomeElement *self,
                                             GdomeAttr *oldAttr,
                                             GdomeException *exc);
GdomeNodeList* gdome_el_getElementsByTagName
                                            (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_getAttributeNS     (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);
void        gdome_el_setAttributeNS         (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *qualifiedName,
                                             GdomeDOMString *value,
                                             GdomeException *exc);
void        gdome_el_removeAttributeNS      (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);
GdomeAttr*  gdome_el_getAttributeNodeNS     (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);
GdomeAttr*  gdome_el_setAttributeNodeNS     (GdomeElement *self,
                                             GdomeAttr *newAttr,
                                             GdomeException *exc);
GdomeNodeList* gdome_el_getElementsByTagNameNS
                                            (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);
GdomeBoolean gdome_el_hasAttribute          (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);
GdomeBoolean gdome_el_hasAttributeNs        (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);
void        gdome_el_ref                    (GdomeElement *self,
                                             GdomeException *exc);
void        gdome_el_unref                  (GdomeElement *self,
                                             GdomeException *exc);
void*       gdome_el_query_interface        (GdomeElement *self,
                                             const char *interface,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_nodeName           (GdomeElement *self,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_nodeValue          (GdomeElement *self,
                                             GdomeException *exc);
void        gdome_el_set_nodeValue          (GdomeElement *self,
                                             GdomeDOMString *nodeValue,
                                             GdomeException *exc);
unsigned short gdome_el_nodeType            (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_parentNode             (GdomeElement *self,
                                             GdomeException *exc);
GdomeNodeList* gdome_el_childNodes          (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_firstChild             (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_lastChild              (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_previousSibling        (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_nextSibling            (GdomeElement *self,
                                             GdomeException *exc);
GdomeNamedNodeMap* gdome_el_attributes      (GdomeElement *self,
                                             GdomeException *exc);
GdomeDocument* gdome_el_ownerDocument       (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_insertBefore           (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeNode *refChild,
                                             GdomeException *exc);
GdomeNode*  gdome_el_replaceChild           (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeNode *oldChild,
                                             GdomeException *exc);
GdomeNode*  gdome_el_removeChild            (GdomeElement *self,
                                             GdomeNode *oldChild,
                                             GdomeException *exc);
GdomeNode*  gdome_el_appendChild            (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeException *exc);
GdomeBoolean gdome_el_hasChildNodes         (GdomeElement *self,
                                             GdomeException *exc);
GdomeNode*  gdome_el_cloneNode              (GdomeElement *self,
                                             GdomeBoolean deep,
                                             GdomeException *exc);
void        gdome_el_normalize              (GdomeElement *self,
                                             GdomeException *exc);
GdomeBoolean gdome_el_isSupported           (GdomeElement *self,
                                             GdomeDOMString *feature,
                                             GdomeDOMString *version,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_namespaceURI       (GdomeElement *self,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_prefix             (GdomeElement *self,
                                             GdomeException *exc);
void        gdome_el_set_prefix             (GdomeElement *self,
                                             GdomeDOMString *prefix,
                                             GdomeException *exc);
GdomeDOMString* gdome_el_localName          (GdomeElement *self,
                                             GdomeException *exc);
GdomeBoolean gdome_el_hasAttributes         (GdomeElement *self,
                                             GdomeException *exc);
void        gdome_el_addEventListener       (GdomeElement *self,
                                             GdomeDOMString *type,
                                             GdomeEventListener *listener,
                                             GdomeBoolean useCapture,
                                             GdomeException *exc);
void        gdome_el_removeEventListener    (GdomeElement *self,
                                             GdomeDOMString *type,
                                             GdomeEventListener *listener,
                                             GdomeBoolean useCapture,
                                             GdomeException *exc);
GdomeBoolean gdome_el_dispatchEvent         (GdomeElement *self,
                                             GdomeEvent *evt,
                                             GdomeException *exc);

Description

Details

struct GdomeElement

struct GdomeElement {
	const GdomeElementVtab *vtab; /* deprecated */
	GdomePrivateList *private;
};


gdome_el_tagName ()

GdomeDOMString* gdome_el_tagName            (GdomeElement *self,
                                             GdomeException *exc);

self : Element Objects ref
exc : Exception Object ref
Returns : the qualified name of the element.


gdome_el_getAttribute ()

GdomeDOMString* gdome_el_getAttribute       (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);

Retrieves an attribute value by name.

self : Element Objects ref
name : The name of attribute of which the value is wanted
exc : Exception Object ref
Returns : the Attr value as a string, or the empty string if that attribute does not have a specified or default value.


gdome_el_setAttribute ()

void        gdome_el_setAttribute           (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeDOMString *value,
                                             GdomeException *exc);

Adds a new attribute. If an attribute with that name is already present in the element, its value is changed to be that of the value parameter.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

self : Element Objects ref
name : The name of the attribute to create or alter
value : Value to set in string form
exc : Exception Object ref


gdome_el_removeAttribute ()

void        gdome_el_removeAttribute        (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);

Removes an attribute by name. If the removed attribute is known to have a default value, an attribute immediately appears containing the default value as well as the corresponding namespace URI, local name, and prefix when applicable. To remove an attribute by local name and namespace URI, use the gdome_el_removeAttributeNS() function.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

self : Element Objects ref
name : The name of the attribute to remove
exc : Exception Object ref


gdome_el_getAttributeNode ()

GdomeAttr*  gdome_el_getAttributeNode       (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);

Retrieves an attribute node by name. To retrieve an attribute node by qualified name and namespace URI, use the gdome_el_getAttributeNodeNS() method.

self : Element Objects ref
name : The name of the attribute to retreive
exc : Exception Object ref
Returns : the Attr node with the specified name or NULL if there is no such attribute.


gdome_el_setAttributeNode ()

GdomeAttr*  gdome_el_setAttributeNode       (GdomeElement *self,
                                             GdomeAttr *newAttr,
                                             GdomeException *exc);

Adds a new attribute node. If an attribute with that name is already present in the element, it is replaced by the new one. To add a new attribute node with a qualified name and namespace URI, use the gdome_el_setAttributeNodeNS() method.

GDOME_WRONG_DOCUMENT_ERR: Raised if newAttr was created from a different document than the one that created the element. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. GDOME_INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.

self : Element Object ref
newAttr : The Attr node to add to the attribute list
exc : Exception Object ref
Returns : if the newAttr attribute replaces an existing attribute, the replaced Attr node is returned, otherwise NULL is returned.


gdome_el_removeAttributeNode ()

GdomeAttr*  gdome_el_removeAttributeNode    (GdomeElement *self,
                                             GdomeAttr *oldAttr,
                                             GdomeException *exc);

Removes the specified attribute node. If the removed Attr has a default value it is immediately replaced. The replacing attribute has the same namespace URI and local name, as well as the original prefix, when applicable.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. GDOME_NOT_FOUND_ERR: Raised if oldAttr is not an attribute of the element.

self : Element Objects ref
oldAttr : The Attr node to remove from the attribute list
exc : Exception Object ref
Returns : the Attr node that was removed.


gdome_el_getElementsByTagName ()

GdomeNodeList* gdome_el_getElementsByTagName
                                            (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);

self : Element Objects ref
name : The name of the tag to match on. The special value %"*" matches all tags.
exc : Exception Object ref
Returns : a NodeList of all descendant elements with a given tag name, in the order in which they are encountered in a preorder traversal of this Element tree.


gdome_el_getAttributeNS ()

GdomeDOMString* gdome_el_getAttributeNS     (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);

Retrieves an attribute value by local name and namespace URI.

self : Element Objects ref
namespaceURI : The namespaceURI of attribute to retrieve
localName : The localName of the attribute to retrieve
exc : Exception Object ref
Returns : the Attr value as a string, or the empty string if that attribute does not have a specified or default value.


gdome_el_setAttributeNS ()

void        gdome_el_setAttributeNS         (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *qualifiedName,
                                             GdomeDOMString *value,
                                             GdomeException *exc);

Adds a new attribute. If an attribute with the same namespaceURI and localName is already present in the element, its value is changed to be that of the value parameter.

GDOME_NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the qualifiedName has a prefix and the namespaceURI is NULL, if the qualifiedName has a prefix that is "xml" and the namespaceURI is different from "http://www.w3.org/XML/1998/namespace", or if the qualifiedName is "xmlns" and the namespaceURI is different from "http://www.w3.org/2000/xmlns/". GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

self : Element Objects ref
namespaceURI : The namespace URI of attribute to create or alter
qualifiedName : The qualifiedName of the attribute to create or alter
value : Value to set in string form
exc : Exception Object ref


gdome_el_removeAttributeNS ()

void        gdome_el_removeAttributeNS      (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);

Removes an attribute by local name and namespace URI. If the removed attribute has a default value it is immediately replaced. The replacing attribute has the same namespace URI and local name, as well as the original prefix.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

self : Element Objects ref
namespaceURI : The namespaceURI of attribute to remove
localName : The localName of the attribute to remove
exc : Exception Object ref


gdome_el_getAttributeNodeNS ()

GdomeAttr*  gdome_el_getAttributeNodeNS     (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);

Retrieves an Attr node by local name and namespace URI.

self : Element Objects ref
namespaceURI : The namespace URI of the attribute to retrieve.
localName : The local name of the attribute to retrieve.
exc : Exception Object ref
Returns : the Attr node with the specified attribute local name and namespace URI or NULL if there is no such attribute.


gdome_el_setAttributeNodeNS ()

GdomeAttr*  gdome_el_setAttributeNodeNS     (GdomeElement *self,
                                             GdomeAttr *newAttr,
                                             GdomeException *exc);

Adds a new attribute. If an attribute with that local name and that namespace URI is already present in the element, it is replaced by the new one.

GDOME_WRONG_DOCUMENT_ERR: Raised if newAttr was created from a different document than the one that created the element. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. GDOME_INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.

self : Element Object ref
newAttr : The Attr node to add to the attribute list
exc : Exception Object ref
Returns : if the newAttr attribute replaces an existing attribute with the same local name and namespace URI, the replaced Attr node is returned, otherwise NULL is returned.


gdome_el_getElementsByTagNameNS ()

GdomeNodeList* gdome_el_getElementsByTagNameNS
                                            (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);

self : Element Objects ref
namespaceURI : The namespace URI of the elements to match on. The special value %"*" matches all namespaces.
localName : The local name of the elements to match on. The special value %"*" matches all local names.
exc : Exception Object ref
Returns : a NodeList of all the descendant elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of this Element tree.


gdome_el_hasAttribute ()

GdomeBoolean gdome_el_hasAttribute          (GdomeElement *self,
                                             GdomeDOMString *name,
                                             GdomeException *exc);

self : Element Objects ref
name : The name of the attribute to look for.
exc : Exception Object ref
Returns : TRUE when an attribute with a given name is specified on this element or has a default value, FALSE otherwise.


gdome_el_hasAttributeNs ()

GdomeBoolean gdome_el_hasAttributeNs        (GdomeElement *self,
                                             GdomeDOMString *namespaceURI,
                                             GdomeDOMString *localName,
                                             GdomeException *exc);

self : 
namespaceURI : 
localName : 
exc : 
Returns : 


gdome_el_ref ()

void        gdome_el_ref                    (GdomeElement *self,
                                             GdomeException *exc);

Increase the reference count of the specified Node.

self : Node Object ref
exc : Exception Object ref


gdome_el_unref ()

void        gdome_el_unref                  (GdomeElement *self,
                                             GdomeException *exc);

Decrease the reference count of the specified Node. Free the Node structure if the Node will have zero reference.

self : Node Object ref
exc : Exception Object ref


gdome_el_query_interface ()

void*       gdome_el_query_interface        (GdomeElement *self,
                                             const char *interface,
                                             GdomeException *exc);

NOT IMPLEMENTED

self : 
interface : 
exc : 


gdome_el_nodeName ()

GdomeDOMString* gdome_el_nodeName           (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the name of this node, depending on its type.


gdome_el_nodeValue ()

GdomeDOMString* gdome_el_nodeValue          (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the value of this node, depending on its type.


gdome_el_set_nodeValue ()

void        gdome_el_set_nodeValue          (GdomeElement *self,
                                             GdomeDOMString *nodeValue,
                                             GdomeException *exc);

Sets The value of this node, depending on its type.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

self : Node Object ref
nodeValue : The new value for this node.
exc : Exception Object ref


gdome_el_nodeType ()

unsigned short gdome_el_nodeType            (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : an integer bigger than 0 representing the type of the underlying object or 0 on error.


gdome_el_parentNode ()

GdomeNode*  gdome_el_parentNode             (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the parent of this node. All nodes, except Attr, Document, DocumentFragment, Entity, and Notation may have a parent. However, if a node has just been created and not yet added to the tree, or if it has been removed from the tree, this is NULL.


gdome_el_childNodes ()

GdomeNodeList* gdome_el_childNodes          (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : a NodeList that contains all children of this node. If there are no children, this is a NodeList containing no nodes.


gdome_el_firstChild ()

GdomeNode*  gdome_el_firstChild             (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the first child of this node. If there is no such node, this returns NULL.


gdome_el_lastChild ()

GdomeNode*  gdome_el_lastChild              (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the last child of this node. If there is no such node, this returns NULL.


gdome_el_previousSibling ()

GdomeNode*  gdome_el_previousSibling        (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the node immediately preceding this node. If there is no such node, this returns NULL.


gdome_el_nextSibling ()

GdomeNode*  gdome_el_nextSibling            (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : the node immediately following this node. If there is no such node, this returns NULL.


gdome_el_attributes ()

GdomeNamedNodeMap* gdome_el_attributes      (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : a NamedNodeMap containing the attributes of this node (if it is an Element) or NULL otherwise.


gdome_el_ownerDocument ()

GdomeDocument* gdome_el_ownerDocument       (GdomeElement *self,
                                             GdomeException *exc);

self : Node Objects ref
exc : Exception Object ref
Returns : the documment object associated with this node. This is also the Document object used to create new nodes. When this node is a Document or a DocumentType which is not used with any Document yet, this is NULL.


gdome_el_insertBefore ()

GdomeNode*  gdome_el_insertBefore           (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeNode *refChild,
                                             GdomeException *exc);

Inserts the node newChild before the existing child node refChild. If refChild is NULL, insert newChild at the end of the list of children. If newChild is a DocumentFragment node, all of its children are inserted, in the same order, before refChild. If the newChild is already in the tree, it is first removed.

GDOME_WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that created this node. GDOME_NOT_FOUND_ERR: Raised if refChild is not a child of this node. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

self : Node Object ref
newChild : The new node to put in the child list
refChild : the reference node, i.e., the node before which the new node must be inserted.
exc : Exception Object ref
Returns : the node being inserted.


gdome_el_replaceChild ()

GdomeNode*  gdome_el_replaceChild           (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeNode *oldChild,
                                             GdomeException *exc);

Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node. If newChild is a DocumentFragment object, oldChild is replaced by all of the DocumentFragment children, which are inserted in the same order. If the newChild is already in the tree, it is first removed.

GDOME_WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that created this node. GDOME_NOT_FOUND_ERR: Raised if oldChild is not a child of this node. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

self : Node Object ref
newChild : The new node to put in the child list
oldChild : The node being replaced in the list
exc : Exception Object ref
Returns : the node replaced.


gdome_el_removeChild ()

GdomeNode*  gdome_el_removeChild            (GdomeElement *self,
                                             GdomeNode *oldChild,
                                             GdomeException *exc);

Removes the child node indicated by oldChild from the list of children, and returns it.

GDOME_NOT_FOUND_ERR: Raised if oldChild is not a child of this node. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

self : Node Object ref
oldChild : The node being removed
exc : Exception Object ref
Returns : the node removed.


gdome_el_appendChild ()

GdomeNode*  gdome_el_appendChild            (GdomeElement *self,
                                             GdomeNode *newChild,
                                             GdomeException *exc);

Adds the node newChild to the end of the list of children of this node. If the newChild is already in the tree, it is first removed. If it is a DocumentFragment node, the entire contents of the document fragment are moved into the child list of this node

GDOME_WRONG_DOCUMENT_ERR: Raised if newChild was created from a different document than the one that created this node. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

self : Node Object ref
newChild : The node to add
exc : Exception Object ref
Returns : the node added.


gdome_el_hasChildNodes ()

GdomeBoolean gdome_el_hasChildNodes         (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : TRUE if this node has any children, FALSE otherwise.


gdome_el_cloneNode ()

GdomeNode*  gdome_el_cloneNode              (GdomeElement *self,
                                             GdomeBoolean deep,
                                             GdomeException *exc);

self : Node Object ref
deep : If true, recursively clone the subtree under the specified node; if false, clone only the node itself (and its attributes, if it is an Element).
exc : Exception Object ref
Returns : a duplicate of this node, i.e., serves as a generic copy constructor for nodes. The duplicate node has no parent; (parentNode is NULL).


gdome_el_normalize ()

void        gdome_el_normalize              (GdomeElement *self,
                                             GdomeException *exc);

Puts all Text nodes in the full depth of the sub-tree underneath this Node, including attribute nodes, into a "normal" form where only structure (e.g., elements, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are neither adjacent Text nodes nor empty Text nodes.

self : Node Object ref
exc : Exception Object ref


gdome_el_isSupported ()

GdomeBoolean gdome_el_isSupported           (GdomeElement *self,
                                             GdomeDOMString *feature,
                                             GdomeDOMString *version,
                                             GdomeException *exc);

Tests whether the DOM implementation implements a specific feature and that feature is supported by this node.

self : Node Object ref
feature : The name of the feature to test.
version : This is the version number of the feature to test. In Level 2, version 1, this is the string "2.0". If the version is not specified, supporting any version of the feature will cause the method to return TRUE.
exc : Exception Object ref
Returns : TRUE if the specified feature is supported on this node, FALSE otherwise.


gdome_el_namespaceURI ()

GdomeDOMString* gdome_el_namespaceURI       (GdomeElement *self,
                                             GdomeException *exc);

self : Node Objects ref
exc : Exception Object ref
Returns : the namespace URI of this node, or NULL if it is unspecified. For nodes of any type other than GDOME_ELEMENT_NODE and GDOME_ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, this is always NULL.


gdome_el_prefix ()

GdomeDOMString* gdome_el_prefix             (GdomeElement *self,
                                             GdomeException *exc);

self : Node Objects ref
exc : Exception Object ref
Returns : the namespace prefix of this node, or NULL if it is unspecified. For nodes of any type other than GDOME_ELEMENT_NODE and GDOME_ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, this is always NULL.


gdome_el_set_prefix ()

void        gdome_el_set_prefix             (GdomeElement *self,
                                             GdomeDOMString *prefix,
                                             GdomeException *exc);

Sets a new nemaspace prefix for this node.

GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. GDOME_NAMESPACE_ERR: Raised if the specified prefix is malformed, if the namespaceURI of this node is NULL, if the specified prefix is "xml" and the namespaceURI of this node is different from "http://www.w3.org/XML/1998/namespace", if this node is an attribute and the specified prefix is "xmlns" and the namespaceURI of this node is different from "http://www.w3.org/2000/xmlns/", or if this node is an attribute and the qualifiedName of this node is "xmlns"

self : Node Object ref
prefix : The new prefix for this node.
exc : Exception Object ref


gdome_el_localName ()

GdomeDOMString* gdome_el_localName          (GdomeElement *self,
                                             GdomeException *exc);

self : Node Objects ref
exc : Exception Object ref
Returns : the local part of the qualified name of this node. For nodes of any type other than GDOME_ELEMENT_NODE and GDOME_ATTRIBUTE_NODE and nodes created with a DOM Level 1 method, this is always NULL.


gdome_el_hasAttributes ()

GdomeBoolean gdome_el_hasAttributes         (GdomeElement *self,
                                             GdomeException *exc);

self : Node Object ref
exc : Exception Object ref
Returns : TRUE if this node has any attributes, FALSE otherwise.


gdome_el_addEventListener ()

void        gdome_el_addEventListener       (GdomeElement *self,
                                             GdomeDOMString *type,
                                             GdomeEventListener *listener,
                                             GdomeBoolean useCapture,
                                             GdomeException *exc);

NOT IMPLEMENTED YET

self : 
type : 
listener : 
useCapture : 
exc : 


gdome_el_removeEventListener ()

void        gdome_el_removeEventListener    (GdomeElement *self,
                                             GdomeDOMString *type,
                                             GdomeEventListener *listener,
                                             GdomeBoolean useCapture,
                                             GdomeException *exc);

NOT IMPLEMENTED YET

self : 
type : 
listener : 
useCapture : 
exc : 


gdome_el_dispatchEvent ()

GdomeBoolean gdome_el_dispatchEvent         (GdomeElement *self,
                                             GdomeEvent *evt,
                                             GdomeException *exc);

NOT IMPLEMENTED YET

self : 
evt : 
exc : 
Returns : *