Gdome2 Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
struct GdomeNamedNodeMap { const GdomeNamedNodeMapVtab *vtab; /* deprecated */ GdomePrivateList *private; }; |
void gdome_nnm_ref (GdomeNamedNodeMap *self, GdomeException *exc); |
Increase the reference count of the specified NamedNodeMap.
void gdome_nnm_unref (GdomeNamedNodeMap *self, GdomeException *exc); |
Decrease the reference count of the specified NamedNodeMap. Free the NamedNodeMap structure if the specified NamedNodeMap will have zero reference.
void* gdome_nnm_query_interface (GdomeNamedNodeMap *self, const char *interface, GdomeException *exc); |
GdomeNode* gdome_nnm_getNamedItem (GdomeNamedNodeMap *self, GdomeDOMString *name, GdomeException *exc); |
Retrieves a node specified by name.
GdomeNode* gdome_nnm_setNamedItem (GdomeNamedNodeMap *self, GdomeNode *arg, GdomeException *exc); |
Adds a node using its nodeName attribute. If a node with that name is already present in this map, it is replaced by the new one.
GDOME_WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map. GDOME NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly. GDOME INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
GdomeNode* gdome_nnm_removeNamedItem (GdomeNamedNodeMap *self, GdomeDOMString *name, GdomeException *exc); |
Removes a node specified by name. When this map contains the attributes attached to an element, 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.
GDOME_NOT_FOUND_ERR: Raised if there is no node named name in this map. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.
GdomeNode* gdome_nnm_item (GdomeNamedNodeMap *self, unsigned |
GdomeNode* gdome_nnm_getNamedItemNS (GdomeNamedNodeMap *self, GdomeDOMString *namespaceURI, GdomeDOMString *localName, GdomeException *exc); |
Retrieves a node specified by local name and namespace URI.
GdomeNode* gdome_nnm_setNamedItemNS (GdomeNamedNodeMap *self, GdomeNode *arg, GdomeException *exc); |
Adds a node using its namespaceURI and localName. If a node with that namespace URI and that local name is already present in this map, it is replaced by the new one
GDOME_WRONG_DOCUMENT_ERR: Raised if arg was created from a different document than the one that created this map. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly. GDOME_INUSE_ATTRIBUTE_ERR: Raised if arg is an Attr that is already an attribute of another Element object. The DOM user must explicitly clone Attr nodes to re-use them in other elements.
GdomeNode* gdome_nnm_removeNamedItemNS (GdomeNamedNodeMap *self, GdomeDOMString *namespaceURI, GdomeDOMString *localName, GdomeException *exc); |
Removes a node specified by local name and namespace URI. When this map contains the attributes attached to an element, 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.
GDOME_NOT_FOUND_ERR: Raised if there is no node named name in this map. GDOME_NO_MODIFICATION_ALLOWED_ERR: Raised if this map is readonly.