1 /* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 2; tab-width: 2 -*- */ 2 /* gdome.h 3 * 4 * Copyright (C) 1999 Raph Levien <raph@acm.org> 5 * Copyright (C) 2000 Mathieu Lacage <mathieu@gnu.org> 6 * Copyright (C) 2001 Paolo Casarini <paolo@casarini.org> 7 * 8 * This library is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU Lesser General Public 10 * License as published by the Free Software Foundation; either 11 * version 2.1 of the License, or (at your option) any later version. 12 * 13 * This library is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * Lesser General Public License for more details. 17 * 18 * You should have received a copy of the GNU Lesser General Public 19 * License along with this library; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 21 */ 22 23 /* ----- gdome.h ----- */ 24 #ifndef GDOME_H 25 #define GDOME_H 26 27 #include <glib.h> 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif /* __cplusplus */ 32 33 /* error types for our exception handling system. */ 34 typedef enum { 35 GDOME_NOEXCEPTION_ERR = 0, 36 GDOME_INDEX_SIZE_ERR = 1, 37 GDOME_DOMSTRING_SIZE_ERR = 2, 38 GDOME_HIERARCHY_REQUEST_ERR = 3, 39 GDOME_WRONG_DOCUMENT_ERR = 4, 40 GDOME_INVALID_CHARACTER_ERR = 5, 41 GDOME_NO_DATA_ALLOWED_ERR = 6, 42 GDOME_NO_MODIFICATION_ALLOWED_ERR = 7, 43 GDOME_NOT_FOUND_ERR = 8, 44 GDOME_NOT_SUPPORTED_ERR = 9, 45 GDOME_INUSE_ATTRIBUTE_ERR = 10, 46 GDOME_INVALID_STATE_ERR = 11, 47 GDOME_SYNTAX_ERR = 12, 48 GDOME_INVALID_MODIFICATION_ERR = 13, 49 GDOME_NAMESPACE_ERR = 14, 50 GDOME_INVALID_ACCESS_ERR = 15, 51 GDOME_NULL_POINTER_ERR = 100 52 } GdomeExceptionCode; 53 54 typedef enum { 55 GDOME_CORE_EXCEPTION = 0 << 16, 56 GDOME_EVENT_EXCEPTION = 1 << 16, 57 GDOME_XPATH_EXCEPTION = 2 << 16 58 } GdomeExceptionType; 59 60 typedef enum { 61 GDOME_EXCEPTION_TYPE_MASK = 0x00FF0000, 62 GDOME_EXCEPTION_CODE_MASK = 0x0000FFFF 63 } GdomeExceptionMasks; 64 65 /* Exception Handling Macros */ 66 #define GDOME_EXCEPTION_TYPE(exc) ((exc) & GDOME_EXCEPTION_TYPE_MASK) 67 #define GDOME_EXCEPTION_CODE(exc) ((exc) & GDOME_EXCEPTION_CODE_MASK) 68 69 /* access type for node handles */ 70 typedef enum { 71 GDOME_READONLY_NODE = 0, 72 GDOME_READWRITE_NODE = 1 73 } GdomeAccessType; 74 75 typedef enum { 76 GDOME_LOAD_PARSING = 0, 77 GDOME_LOAD_VALIDATING = 1, 78 GDOME_LOAD_RECOVERING = 2, 79 GDOME_LOAD_SUBSTITUTE_ENTITIES = 4, 80 GDOME_LOAD_COMPLETE_ATTRS = 8 81 } GdomeLoadingCode; 82 83 typedef enum { 84 GDOME_SAVE_STANDARD = 0, 85 GDOME_SAVE_LIBXML_INDENT = 1 86 } GdomeSavingCode; 87 88 typedef struct _GdomeDOMString GdomeDOMString; 89 typedef int GdomeBoolean; 90 typedef guint32 GdomeException; 91 typedef long long GdomeDOMTimeStamp; 92 93 struct _GdomeDOMString { 94 gchar *str; 95 gint refcnt; 96 void (*unref) (GdomeDOMString *self); 97 }; 98 99 typedef struct _GdomeNode GdomeNode; 100 typedef GdomeNode GdomeEventTarget; 101 typedef struct _GdomeAttr GdomeAttr; 102 typedef struct _GdomeCharacterData GdomeCharacterData; 103 typedef struct _GdomeText GdomeText; 104 typedef struct _GdomeCDATASection GdomeCDATASection; 105 typedef struct _GdomeComment GdomeComment; 106 typedef struct _GdomeDOMImplementation GdomeDOMImplementation; 107 typedef struct _GdomeDocument GdomeDocument; 108 typedef struct _GdomeDocumentFragment GdomeDocumentFragment; 109 typedef struct _GdomeDocumentType GdomeDocumentType; 110 typedef struct _GdomeElement GdomeElement; 111 typedef struct _GdomeEntity GdomeEntity; 112 typedef struct _GdomeEntityReference GdomeEntityReference; 113 typedef struct _GdomeNamedNodeMap GdomeNamedNodeMap; 114 typedef struct _GdomeNodeList GdomeNodeList; 115 typedef struct _GdomeNotation GdomeNotation; 116 typedef struct _GdomeProcessingInstruction GdomeProcessingInstruction; 117 118 /* Events interfaces */ 119 typedef struct _GdomeEvent GdomeEvent; 120 typedef struct _GdomeEventListener GdomeEventListener; 121 typedef struct _GdomeMutationEvent GdomeMutationEvent; 122 typedef struct _GnomeNode GnomeEventTarget; 123 typedef struct _GnomeDocument GnomeDocumentEvent; 124 125 /* XPath interfaces */ 126 typedef struct _GdomeXPathEvaluator GdomeXPathEvaluator; 127 typedef struct _GdomeXPathNamespace GdomeXPathNamespace; 128 typedef struct _GdomeXPathNSResolver GdomeXPathNSResolver; 129 typedef struct _GdomeXPathResult GdomeXPathResult; 130 131 /* Traversal interfaces */ 132 typedef struct _GdomeNodeFilter GdomeNodeFilter; 133 typedef struct _GdomeNodeIterator GdomeNodeIterator; 134 typedef struct _GdomeTreeWalker GdomeTreeWalker; 135 136 typedef struct _GdomeNodeVtab GdomeNodeVtab; 137 typedef struct _GdomeAttrVtab GdomeAttrVtab; 138 typedef struct _GdomeCharacterDataVtab GdomeCharacterDataVtab; 139 typedef struct _GdomeTextVtab GdomeTextVtab; 140 typedef struct _GdomeCDATASectionVtab GdomeCDATASectionVtab; 141 typedef struct _GdomeCommentVtab GdomeCommentVtab; 142 typedef struct _GdomeDOMImplementationVtab GdomeDOMImplementationVtab; 143 typedef struct _GdomeDocumentVtab GdomeDocumentVtab; 144 typedef struct _GdomeDocumentFragmentVtab GdomeDocumentFragmentVtab; 145 typedef struct _GdomeDocumentTypeVtab GdomeDocumentTypeVtab; 146 typedef struct _GdomeElementVtab GdomeElementVtab; 147 typedef struct _GdomeEntityVtab GdomeEntityVtab; 148 typedef struct _GdomeEntityReferenceVtab GdomeEntityReferenceVtab; 149 typedef struct _GdomeNamedNodeMapVtab GdomeNamedNodeMapVtab; 150 typedef struct _GdomeNodeListVtab GdomeNodeListVtab; 151 typedef struct _GdomeNotationVtab GdomeNotationVtab; 152 typedef struct _GdomeProcessingInstructionVtab GdomeProcessingInstructionVtab; 153 typedef struct _GdomeXPathNamespaceVtab GdomeXPathNamespaceVtab; 154 155 typedef enum { 156 GDOME_ELEMENT_NODE = 1, 157 GDOME_ATTRIBUTE_NODE = 2, 158 GDOME_TEXT_NODE = 3, 159 GDOME_CDATA_SECTION_NODE = 4, 160 GDOME_ENTITY_REFERENCE_NODE = 5, 161 GDOME_ENTITY_NODE = 6, 162 GDOME_PROCESSING_INSTRUCTION_NODE = 7, 163 GDOME_COMMENT_NODE = 8, 164 GDOME_DOCUMENT_NODE = 9, 165 GDOME_DOCUMENT_TYPE_NODE = 10, 166 GDOME_DOCUMENT_FRAGMENT_NODE = 11, 167 GDOME_NOTATION_NODE = 12, 168 GDOME_XPATH_NAMESPACE_NODE = 13 169 } GdomeNodeType; 170 171 typedef struct _GdomeEntitiesTableEntry GdomeEntitiesTableEntry; 172 struct _GdomeEntitiesTableEntry { 173 gchar *name; 174 gchar *value; 175 gchar *publicID; 176 gchar *systemID; 177 }; 178 179 struct _GdomeNode { 180 gpointer user_data; 181 }; 182 183 struct _GdomeAttr { 184 gpointer user_data; 185 }; 186 187 struct _GdomeCharacterData { 188 gpointer user_data; 189 }; 190 191 struct _GdomeText { 192 gpointer user_data; 193 }; 194 195 struct _GdomeCDATASection { 196 gpointer user_data; 197 }; 198 199 struct _GdomeComment { 200 gpointer user_data; 201 }; 202 203 struct _GdomeDOMImplementation { 204 gpointer user_data; 205 }; 206 207 struct _GdomeDocument { 208 gpointer user_data; 209 }; 210 211 struct _GdomeDocumentFragment { 212 gpointer user_data; 213 }; 214 215 struct _GdomeDocumentType { 216 gpointer user_data; 217 }; 218 219 struct _GdomeElement { 220 gpointer user_data; 221 }; 222 223 struct _GdomeEntity { 224 gpointer user_data; 225 }; 226 227 struct _GdomeEntityReference { 228 gpointer user_data; 229 }; 230 231 struct _GdomeNamedNodeMap { 232 gpointer user_data; 233 }; 234 235 struct _GdomeNodeList { 236 gpointer user_data; 237 }; 238 239 struct _GdomeNotation { 240 gpointer user_data; 241 }; 242 243 struct _GdomeProcessingInstruction { 244 gpointer user_data; 245 }; 246 247 struct _GdomeXPathNamespace { 248 gpointer user_data; 249 }; 250 251 /* Public API of Gdome */ 252 253 /*-------------------------- DOMString -------------------------- */ 254 GdomeDOMString *gdome_str_mkref (const gchar *str); 255 GdomeDOMString *gdome_str_mkref_own (gchar *str); 256 GdomeDOMString *gdome_str_mkref_dup (const gchar *str); 257 void gdome_str_ref (GdomeDOMString *self); 258 void gdome_str_unref (GdomeDOMString *self); 259 GdomeBoolean gdome_str_equal (GdomeDOMString *self, 260 GdomeDOMString *str); 261 GdomeBoolean gdome_str_equalIgnoreCase (GdomeDOMString *self, 262 GdomeDOMString *str); 263 gchar gdome_str_charAt (GdomeDOMString *self, 264 int index); 265 GdomeDOMString *gdome_str_concat (GdomeDOMString *self, 266 GdomeDOMString *str); 267 GdomeBoolean gdome_str_endsWith (GdomeDOMString *self, 268 GdomeDOMString *suffix); 269 GdomeBoolean gdome_str_isEmpty (GdomeDOMString *self); 270 int gdome_str_length (GdomeDOMString *self); 271 GdomeBoolean gdome_str_startsWith (GdomeDOMString *self, 272 GdomeDOMString *prefix); 273 274 275 /* --------------------------- Node --------------------------- */ 276 void gdome_n_ref (GdomeNode *self, 277 GdomeException *exc); 278 void gdome_n_unref (GdomeNode *self, 279 GdomeException *exc); 280 gpointer gdome_n_query_interface (GdomeNode *self, 281 const char *interface, 282 GdomeException *exc); 283 GdomeDOMString * gdome_n_nodeName (GdomeNode *self, 284 GdomeException *exc); 285 GdomeDOMString * gdome_n_nodeValue (GdomeNode *self, 286 GdomeException *exc); 287 void gdome_n_set_nodeValue (GdomeNode *self, 288 GdomeDOMString *nodeValue, 289 GdomeException *exc); 290 unsigned short gdome_n_nodeType (GdomeNode *self, 291 GdomeException *exc); 292 GdomeNode * gdome_n_parentNode (GdomeNode *self, 293 GdomeException *exc); 294 GdomeNodeList * gdome_n_childNodes (GdomeNode *self, 295 GdomeException *exc); 296 GdomeNode * gdome_n_firstChild (GdomeNode *self, 297 GdomeException *exc); 298 GdomeNode * gdome_n_lastChild (GdomeNode *self, 299 GdomeException *exc); 300 GdomeNode * gdome_n_previousSibling (GdomeNode *self, 301 GdomeException *exc); 302 GdomeNode * gdome_n_nextSibling (GdomeNode *self, 303 GdomeException *exc); 304 GdomeNamedNodeMap * gdome_n_attributes (GdomeNode *self, 305 GdomeException *exc); 306 GdomeDocument * gdome_n_ownerDocument (GdomeNode *self, 307 GdomeException *exc); 308 GdomeNode * gdome_n_insertBefore (GdomeNode *self, 309 GdomeNode *newChild, 310 GdomeNode *refChild, 311 GdomeException *exc); 312 GdomeNode * gdome_n_replaceChild (GdomeNode *self, 313 GdomeNode *newChild, 314 GdomeNode *oldChild, 315 GdomeException *exc); 316 GdomeNode * gdome_n_removeChild (GdomeNode *self, 317 GdomeNode *oldChild, 318 GdomeException *exc); 319 GdomeNode * gdome_n_appendChild (GdomeNode *self, 320 GdomeNode *newChild, 321 GdomeException *exc); 322 GdomeBoolean gdome_n_hasChildNodes (GdomeNode *self, 323 GdomeException *exc); 324 GdomeNode * gdome_n_cloneNode (GdomeNode *self, 325 GdomeBoolean deep, 326 GdomeException *exc); 327 void gdome_n_normalize (GdomeNode *self, 328 GdomeException *exc); 329 GdomeBoolean gdome_n_isSupported (GdomeNode *self, 330 GdomeDOMString *feature, 331 GdomeDOMString *version, 332 GdomeException *exc); 333 GdomeDOMString * gdome_n_namespaceURI (GdomeNode *self, 334 GdomeException *exc); 335 GdomeDOMString * gdome_n_prefix (GdomeNode *self, 336 GdomeException *exc); 337 void gdome_n_set_prefix (GdomeNode *self, 338 GdomeDOMString *prefix, 339 GdomeException *exc); 340 GdomeDOMString * gdome_n_localName (GdomeNode *self, 341 GdomeException *exc); 342 GdomeBoolean gdome_n_hasAttributes (GdomeNode *self, 343 GdomeException *exc); 344 void gdome_n_addEventListener (GdomeNode *self, 345 GdomeDOMString *type, 346 GdomeEventListener *listener, 347 GdomeBoolean useCapture, 348 GdomeException *exc); 349 void gdome_n_removeEventListener (GdomeNode *self, 350 GdomeDOMString *type, 351 GdomeEventListener *listener, 352 GdomeBoolean useCapture, 353 GdomeException *exc); 354 GdomeBoolean gdome_n_dispatchEvent (GdomeNode *self, 355 GdomeEvent *evt, 356 GdomeException *exc); 357 void gdome_n_subTreeDispatchEvent (GdomeNode *self, 358 GdomeEvent *evt, 359 GdomeException *exc); 360 GdomeBoolean gdome_n_canAppend (GdomeNode *self, 361 GdomeNode *newChild, 362 GdomeException *exc); 363 364 365 /* --------------------------- Element --------------------------- */ 366 GdomeDOMString * gdome_el_tagName (GdomeElement *self, 367 GdomeException *exc); 368 GdomeDOMString * gdome_el_getAttribute (GdomeElement *self, 369 GdomeDOMString *name, 370 GdomeException *exc); 371 void gdome_el_setAttribute (GdomeElement *self, 372 GdomeDOMString *name, 373 GdomeDOMString *value, 374 GdomeException *exc); 375 void gdome_el_removeAttribute (GdomeElement *self, 376 GdomeDOMString *name, 377 GdomeException *exc); 378 GdomeAttr * gdome_el_getAttributeNode (GdomeElement *self, 379 GdomeDOMString *name, 380 GdomeException *exc); 381 GdomeAttr * gdome_el_setAttributeNode (GdomeElement *self, 382 GdomeAttr *newAttr, 383 GdomeException *exc); 384 GdomeAttr * gdome_el_removeAttributeNode (GdomeElement *self, 385 GdomeAttr *oldAttr, 386 GdomeException *exc); 387 GdomeNodeList * gdome_el_getElementsByTagName (GdomeElement *self, 388 GdomeDOMString *name, 389 GdomeException *exc); 390 391 /* DOM2 interfaces */ 392 393 GdomeDOMString * gdome_el_getAttributeNS (GdomeElement *self, 394 GdomeDOMString *namespaceURI, 395 GdomeDOMString *localName, 396 GdomeException *exc); 397 void gdome_el_setAttributeNS (GdomeElement *self, 398 GdomeDOMString *namespaceURI, 399 GdomeDOMString *qualifiedName, 400 GdomeDOMString *value, 401 GdomeException *exc); 402 void gdome_el_removeAttributeNS (GdomeElement *self, 403 GdomeDOMString *namespaceURI, 404 GdomeDOMString *localName, 405 GdomeException *exc); 406 GdomeAttr * gdome_el_getAttributeNodeNS (GdomeElement *self, 407 GdomeDOMString *namespaceURI, 408 GdomeDOMString *localName, 409 GdomeException *exc); 410 GdomeAttr * gdome_el_setAttributeNodeNS (GdomeElement *self, 411 GdomeAttr *newAttr, 412 GdomeException *exc); 413 GdomeNodeList * gdome_el_getElementsByTagNameNS (GdomeElement *self, 414 GdomeDOMString *namespaceURI, 415 GdomeDOMString *localName, 416 GdomeException *exc); 417 GdomeBoolean gdome_el_hasAttribute (GdomeElement *self, 418 GdomeDOMString *name, 419 GdomeException *exc); 420 GdomeBoolean gdome_el_hasAttributeNS (GdomeElement *self, 421 GdomeDOMString *namespaceURI, 422 GdomeDOMString *localName, 423 GdomeException *exc); 424 425 426 /* Node inherited interfaces. */ 427 428 void gdome_el_ref (GdomeElement *self, 429 GdomeException *exc); 430 void gdome_el_unref (GdomeElement *self, 431 GdomeException *exc); 432 gpointer gdome_el_query_interface (GdomeElement *self, 433 const char *interface, 434 GdomeException *exc); 435 GdomeDOMString * gdome_el_nodeName (GdomeElement *self, 436 GdomeException *exc); 437 GdomeDOMString * gdome_el_nodeValue (GdomeElement *self, 438 GdomeException *exc); 439 void gdome_el_set_nodeValue (GdomeElement *self, 440 GdomeDOMString *nodeValue, 441 GdomeException *exc); 442 unsigned short gdome_el_nodeType (GdomeElement *self, 443 GdomeException *exc); 444 GdomeNode * gdome_el_parentNode (GdomeElement *self, 445 GdomeException *exc); 446 GdomeNodeList * gdome_el_childNodes (GdomeElement *self, 447 GdomeException *exc); 448 GdomeNode * gdome_el_firstChild (GdomeElement *self, 449 GdomeException *exc); 450 GdomeNode * gdome_el_lastChild (GdomeElement *self, 451 GdomeException *exc); 452 GdomeNode * gdome_el_previousSibling (GdomeElement *self, 453 GdomeException *exc); 454 GdomeNode * gdome_el_nextSibling (GdomeElement *self, 455 GdomeException *exc); 456 GdomeNamedNodeMap * gdome_el_attributes (GdomeElement *self, 457 GdomeException *exc); 458 GdomeDocument * gdome_el_ownerDocument (GdomeElement *self, 459 GdomeException *exc); 460 GdomeNode * gdome_el_insertBefore (GdomeElement *self, 461 GdomeNode *newChild, 462 GdomeNode *refChild, 463 GdomeException *exc); 464 GdomeNode * gdome_el_replaceChild (GdomeElement *self, 465 GdomeNode *newChild, 466 GdomeNode *oldChild, 467 GdomeException *exc); 468 GdomeNode * gdome_el_removeChild (GdomeElement *self, 469 GdomeNode *oldChild, 470 GdomeException *exc); 471 GdomeNode * gdome_el_appendChild (GdomeElement *self, 472 GdomeNode *newChild, 473 GdomeException *exc); 474 GdomeBoolean gdome_el_hasChildNodes (GdomeElement *self, 475 GdomeException *exc); 476 GdomeNode * gdome_el_cloneNode (GdomeElement *self, 477 GdomeBoolean deep, 478 GdomeException *exc); 479 void gdome_el_normalize (GdomeElement *self, 480 GdomeException *exc); 481 GdomeBoolean gdome_el_isSupported (GdomeElement *self, 482 GdomeDOMString *feature, 483 GdomeDOMString *version, 484 GdomeException *exc); 485 GdomeDOMString * gdome_el_namespaceURI (GdomeElement *self, 486 GdomeException *exc); 487 GdomeDOMString * gdome_el_prefix (GdomeElement *self, 488 GdomeException *exc); 489 void gdome_el_set_prefix (GdomeElement *self, 490 GdomeDOMString *prefix, 491 GdomeException *exc); 492 GdomeDOMString * gdome_el_localName (GdomeElement *self, 493 GdomeException *exc); 494 GdomeBoolean gdome_el_hasAttributes (GdomeElement *self, 495 GdomeException *exc); 496 void gdome_el_addEventListener (GdomeElement *self, 497 GdomeDOMString *type, 498 GdomeEventListener *listener, 499 GdomeBoolean useCapture, 500 GdomeException *exc); 501 void gdome_el_removeEventListener (GdomeElement *self, 502 GdomeDOMString *type, 503 GdomeEventListener *listener, 504 GdomeBoolean useCapture, 505 GdomeException *exc); 506 GdomeBoolean gdome_el_dispatchEvent (GdomeElement *self, 507 GdomeEvent *evt, 508 GdomeException *exc); 509 void gdome_el_subTreeDispatchEvent (GdomeElement *self, 510 GdomeEvent *evt, 511 GdomeException *exc); 512 GdomeBoolean gdome_el_canAppend (GdomeElement *self, 513 GdomeNode *newChild, 514 GdomeException *exc); 515 516 517 518 /* --------------------------- Attr --------------------------- */ 519 void gdome_a_ref (GdomeAttr *self, 520 GdomeException *exc); 521 void gdome_a_unref (GdomeAttr *self, 522 GdomeException *exc); 523 gpointer gdome_a_query_interface (GdomeAttr *self, 524 const char *interface, 525 GdomeException *exc); 526 GdomeDOMString * gdome_a_name (GdomeAttr *self, 527 GdomeException *exc); 528 GdomeElement * gdome_a_ownerElement (GdomeAttr *self, 529 GdomeException *exc); 530 GdomeBoolean gdome_a_specified (GdomeAttr *self, 531 GdomeException *exc); 532 GdomeDOMString * gdome_a_value (GdomeAttr *self, 533 GdomeException *exc); 534 void gdome_a_set_value (GdomeAttr *self, 535 GdomeDOMString *value, 536 GdomeException *exc); 537 GdomeDOMString * gdome_a_nodeName (GdomeAttr *self, 538 GdomeException *exc); 539 GdomeDOMString * gdome_a_nodeValue (GdomeAttr *self, 540 GdomeException *exc); 541 void gdome_a_set_nodeValue (GdomeAttr *self, 542 GdomeDOMString *nodeValue, 543 GdomeException *exc); 544 unsigned short gdome_a_nodeType (GdomeAttr *self, 545 GdomeException *exc); 546 GdomeNode * gdome_a_parentNode (GdomeAttr *self, 547 GdomeException *exc); 548 GdomeNodeList * gdome_a_childNodes (GdomeAttr *self, 549 GdomeException *exc); 550 GdomeNode * gdome_a_firstChild (GdomeAttr *self, 551 GdomeException *exc); 552 GdomeNode * gdome_a_lastChild (GdomeAttr *self, 553 GdomeException *exc); 554 GdomeNode * gdome_a_previousSibling (GdomeAttr *self, 555 GdomeException *exc); 556 GdomeNode * gdome_a_nextSibling (GdomeAttr *self, 557 GdomeException *exc); 558 GdomeNamedNodeMap * gdome_a_attributes (GdomeAttr *self, 559 GdomeException *exc); 560 GdomeDocument * gdome_a_ownerDocument (GdomeAttr *self, 561 GdomeException *exc); 562 GdomeNode * gdome_a_insertBefore (GdomeAttr *self, 563 GdomeNode *newChild, 564 GdomeNode *refChild, 565 GdomeException *exc); 566 GdomeNode * gdome_a_replaceChild (GdomeAttr *self, 567 GdomeNode *newChild, 568 GdomeNode *oldChild, 569 GdomeException *exc); 570 GdomeNode * gdome_a_removeChild (GdomeAttr *self, 571 GdomeNode *oldChild, 572 GdomeException *exc); 573 GdomeNode * gdome_a_appendChild (GdomeAttr *self, 574 GdomeNode *newChild, 575 GdomeException *exc); 576 GdomeBoolean gdome_a_hasChildNodes (GdomeAttr *self, 577 GdomeException *exc); 578 GdomeNode * gdome_a_cloneNode (GdomeAttr *self, 579 GdomeBoolean deep, 580 GdomeException *exc); 581 void gdome_a_normalize (GdomeAttr *self, 582 GdomeException *exc); 583 GdomeBoolean gdome_a_isSupported (GdomeAttr *self, 584 GdomeDOMString *feature, 585 GdomeDOMString *version, 586 GdomeException *exc); 587 GdomeDOMString * gdome_a_namespaceURI (GdomeAttr *self, 588 GdomeException *exc); 589 GdomeDOMString * gdome_a_prefix (GdomeAttr *self, 590 GdomeException *exc); 591 void gdome_a_set_prefix (GdomeAttr *self, 592 GdomeDOMString *prefix, 593 GdomeException *exc); 594 GdomeDOMString * gdome_a_localName (GdomeAttr *self, 595 GdomeException *exc); 596 GdomeBoolean gdome_a_hasAttributes (GdomeAttr *self, 597 GdomeException *exc); 598 void gdome_a_addEventListener (GdomeAttr *self, 599 GdomeDOMString *type, 600 GdomeEventListener *listener, 601 GdomeBoolean useCapture, 602 GdomeException *exc); 603 void gdome_a_removeEventListener (GdomeAttr *self, 604 GdomeDOMString *type, 605 GdomeEventListener *listener, 606 GdomeBoolean useCapture, 607 GdomeException *exc); 608 GdomeBoolean gdome_a_dispatchEvent (GdomeAttr *self, 609 GdomeEvent *evt, 610 GdomeException *exc); 611 void gdome_a_subTreeDispatchEvent (GdomeAttr *self, 612 GdomeEvent *evt, 613 GdomeException *exc); 614 GdomeBoolean gdome_a_canAppend (GdomeAttr *self, 615 GdomeNode *newChild, 616 GdomeException *exc); 617 618 619 GdomeDOMString *gdome_cd_data (GdomeCharacterData *self, GdomeException *exc); 620 void gdome_cd_set_data (GdomeCharacterData *self, GdomeDOMString *data, GdomeException *exc); 621 gulong gdome_cd_length (GdomeCharacterData *self, GdomeException *exc); 622 GdomeDOMString *gdome_cd_substringData (GdomeCharacterData *self, gulong offset, gulong count, GdomeException *exc); 623 void gdome_cd_appendData (GdomeCharacterData *self, GdomeDOMString *arg, GdomeException *exc); 624 void gdome_cd_insertData (GdomeCharacterData *self, gulong offset, GdomeDOMString *arg, GdomeException *exc); 625 void gdome_cd_deleteData (GdomeCharacterData *self, gulong offset, gulong count, GdomeException *exc); 626 void gdome_cd_replaceData (GdomeCharacterData *self, gulong offset, gulong count, GdomeDOMString *arg, GdomeException *exc); 627 void gdome_cd_ref (GdomeCharacterData *self, GdomeException *exc); 628 void gdome_cd_unref (GdomeCharacterData *self, GdomeException *exc); 629 gpointer gdome_cd_query_interface (GdomeCharacterData *self, const char *interface, GdomeException *exc); 630 GdomeDOMString *gdome_cd_nodeName (GdomeCharacterData *self, GdomeException *exc); 631 GdomeDOMString *gdome_cd_nodeValue (GdomeCharacterData *self, GdomeException *exc); 632 void gdome_cd_set_nodeValue (GdomeCharacterData *self, GdomeDOMString *nodeValue, GdomeException *exc); 633 unsigned short gdome_cd_nodeType (GdomeCharacterData *self, GdomeException *exc); 634 GdomeNode *gdome_cd_parentNode (GdomeCharacterData *self, GdomeException *exc); 635 GdomeNodeList *gdome_cd_childNodes (GdomeCharacterData *self, GdomeException *exc); 636 GdomeNode *gdome_cd_firstChild (GdomeCharacterData *self, GdomeException *exc); 637 GdomeNode *gdome_cd_lastChild (GdomeCharacterData *self, GdomeException *exc); 638 GdomeNode *gdome_cd_previousSibling (GdomeCharacterData *self, GdomeException *exc); 639 GdomeNode *gdome_cd_nextSibling (GdomeCharacterData *self, GdomeException *exc); 640 GdomeNamedNodeMap *gdome_cd_attributes (GdomeCharacterData *self, GdomeException *exc); 641 GdomeDocument *gdome_cd_ownerDocument (GdomeCharacterData *self, GdomeException *exc); 642 GdomeNode *gdome_cd_insertBefore (GdomeCharacterData *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 643 GdomeNode *gdome_cd_replaceChild (GdomeCharacterData *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 644 GdomeNode *gdome_cd_removeChild (GdomeCharacterData *self, GdomeNode *oldChild, GdomeException *exc); 645 GdomeNode *gdome_cd_appendChild (GdomeCharacterData *self, GdomeNode *newChild, GdomeException *exc); 646 GdomeBoolean gdome_cd_hasChildNodes (GdomeCharacterData *self, GdomeException *exc); 647 GdomeNode *gdome_cd_cloneNode (GdomeCharacterData *self, GdomeBoolean deep, GdomeException *exc); 648 void gdome_cd_normalize (GdomeCharacterData *self, GdomeException *exc); 649 GdomeBoolean gdome_cd_isSupported (GdomeCharacterData *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 650 GdomeDOMString *gdome_cd_namespaceURI (GdomeCharacterData *self, GdomeException *exc); 651 GdomeDOMString *gdome_cd_prefix (GdomeCharacterData *self, GdomeException *exc); 652 void gdome_cd_set_prefix (GdomeCharacterData *self, GdomeDOMString *prefix, GdomeException *exc); 653 GdomeDOMString *gdome_cd_localName (GdomeCharacterData *self, GdomeException *exc); 654 GdomeBoolean gdome_cd_hasAttributes (GdomeCharacterData *self, GdomeException *exc); 655 void gdome_cd_addEventListener (GdomeCharacterData *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 656 void gdome_cd_removeEventListener (GdomeCharacterData *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 657 GdomeBoolean gdome_cd_dispatchEvent (GdomeCharacterData *self, GdomeEvent *evt, GdomeException *exc); 658 void gdome_cd_subTreeDispatchEvent (GdomeCharacterData *self, GdomeEvent *evt, GdomeException *exc); 659 GdomeBoolean gdome_cd_canAppend (GdomeCharacterData *self, GdomeNode *newChild, GdomeException *exc); 660 661 662 663 GdomeText *gdome_t_splitText (GdomeText *self, gulong offset, GdomeException *exc); 664 GdomeDOMString *gdome_t_data (GdomeText *self, GdomeException *exc); 665 void gdome_t_set_data (GdomeText *self, GdomeDOMString *data, GdomeException *exc); 666 gulong gdome_t_length (GdomeText *self, GdomeException *exc); 667 GdomeDOMString *gdome_t_substringData (GdomeText *self, gulong offset, gulong count, GdomeException *exc); 668 void gdome_t_appendData (GdomeText *self, GdomeDOMString *arg, GdomeException *exc); 669 void gdome_t_insertData (GdomeText *self, gulong offset, GdomeDOMString *arg, GdomeException *exc); 670 void gdome_t_deleteData (GdomeText *self, gulong offset, gulong count, GdomeException *exc); 671 void gdome_t_replaceData (GdomeText *self, gulong offset, gulong count, GdomeDOMString *arg, GdomeException *exc); 672 void gdome_t_ref (GdomeText *self, GdomeException *exc); 673 void gdome_t_unref (GdomeText *self, GdomeException *exc); 674 gpointer gdome_t_query_interface (GdomeText *self, const char *interface, GdomeException *exc); 675 GdomeDOMString *gdome_t_nodeName (GdomeText *self, GdomeException *exc); 676 GdomeDOMString *gdome_t_nodeValue (GdomeText *self, GdomeException *exc); 677 void gdome_t_set_nodeValue (GdomeText *self, GdomeDOMString *nodeValue, GdomeException *exc); 678 unsigned short gdome_t_nodeType (GdomeText *self, GdomeException *exc); 679 GdomeNode *gdome_t_parentNode (GdomeText *self, GdomeException *exc); 680 GdomeNodeList *gdome_t_childNodes (GdomeText *self, GdomeException *exc); 681 GdomeNode *gdome_t_firstChild (GdomeText *self, GdomeException *exc); 682 GdomeNode *gdome_t_lastChild (GdomeText *self, GdomeException *exc); 683 GdomeNode *gdome_t_previousSibling (GdomeText *self, GdomeException *exc); 684 GdomeNode *gdome_t_nextSibling (GdomeText *self, GdomeException *exc); 685 GdomeNamedNodeMap *gdome_t_attributes (GdomeText *self, GdomeException *exc); 686 GdomeDocument *gdome_t_ownerDocument (GdomeText *self, GdomeException *exc); 687 GdomeNode *gdome_t_insertBefore (GdomeText *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 688 GdomeNode *gdome_t_replaceChild (GdomeText *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 689 GdomeNode *gdome_t_removeChild (GdomeText *self, GdomeNode *oldChild, GdomeException *exc); 690 GdomeNode *gdome_t_appendChild (GdomeText *self, GdomeNode *newChild, GdomeException *exc); 691 GdomeBoolean gdome_t_hasChildNodes (GdomeText *self, GdomeException *exc); 692 GdomeNode *gdome_t_cloneNode (GdomeText *self, GdomeBoolean deep, GdomeException *exc); 693 void gdome_t_normalize (GdomeText *self, GdomeException *exc); 694 GdomeBoolean gdome_t_isSupported (GdomeText *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 695 GdomeDOMString *gdome_t_namespaceURI (GdomeText *self, GdomeException *exc); 696 GdomeDOMString *gdome_t_prefix (GdomeText *self, GdomeException *exc); 697 void gdome_t_set_prefix (GdomeText *self, GdomeDOMString *prefix, GdomeException *exc); 698 GdomeDOMString *gdome_t_localName (GdomeText *self, GdomeException *exc); 699 GdomeBoolean gdome_t_hasAttributes (GdomeText *self, GdomeException *exc); 700 void gdome_t_addEventListener (GdomeText *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 701 void gdome_t_removeEventListener (GdomeText *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 702 GdomeBoolean gdome_t_dispatchEvent (GdomeText *self, GdomeEvent *evt, GdomeException *exc); 703 void gdome_t_subTreeDispatchEvent (GdomeText *self, GdomeEvent *evt, GdomeException *exc); 704 GdomeBoolean gdome_t_canAppend (GdomeText *self, GdomeNode *newChild, GdomeException *exc); 705 706 707 708 GdomeText *gdome_cds_splitText (GdomeCDATASection *self, gulong offset, GdomeException *exc); 709 GdomeDOMString *gdome_cds_data (GdomeCDATASection *self, GdomeException *exc); 710 void gdome_cds_set_data (GdomeCDATASection *self, GdomeDOMString *data, GdomeException *exc); 711 gulong gdome_cds_length (GdomeCDATASection *self, GdomeException *exc); 712 GdomeDOMString *gdome_cds_substringData (GdomeCDATASection *self, gulong offset, gulong count, GdomeException *exc); 713 void gdome_cds_appendData (GdomeCDATASection *self, GdomeDOMString *arg, GdomeException *exc); 714 void gdome_cds_insertData (GdomeCDATASection *self, gulong offset, GdomeDOMString *arg, GdomeException *exc); 715 void gdome_cds_deleteData (GdomeCDATASection *self, gulong offset, gulong count, GdomeException *exc); 716 void gdome_cds_replaceData (GdomeCDATASection *self, gulong offset, gulong count, GdomeDOMString *arg, GdomeException *exc); 717 void gdome_cds_ref (GdomeCDATASection *self, GdomeException *exc); 718 void gdome_cds_unref (GdomeCDATASection *self, GdomeException *exc); 719 gpointer gdome_cds_query_interface (GdomeCDATASection *self, const char *interface, GdomeException *exc); 720 GdomeDOMString *gdome_cds_nodeName (GdomeCDATASection *self, GdomeException *exc); 721 GdomeDOMString *gdome_cds_nodeValue (GdomeCDATASection *self, GdomeException *exc); 722 void gdome_cds_set_nodeValue (GdomeCDATASection *self, GdomeDOMString *nodeValue, GdomeException *exc); 723 unsigned short gdome_cds_nodeType (GdomeCDATASection *self, GdomeException *exc); 724 GdomeNode *gdome_cds_parentNode (GdomeCDATASection *self, GdomeException *exc); 725 GdomeNodeList *gdome_cds_childNodes (GdomeCDATASection *self, GdomeException *exc); 726 GdomeNode *gdome_cds_firstChild (GdomeCDATASection *self, GdomeException *exc); 727 GdomeNode *gdome_cds_lastChild (GdomeCDATASection *self, GdomeException *exc); 728 GdomeNode *gdome_cds_previousSibling (GdomeCDATASection *self, GdomeException *exc); 729 GdomeNode *gdome_cds_nextSibling (GdomeCDATASection *self, GdomeException *exc); 730 GdomeNamedNodeMap *gdome_cds_attributes (GdomeCDATASection *self, GdomeException *exc); 731 GdomeDocument *gdome_cds_ownerDocument (GdomeCDATASection *self, GdomeException *exc); 732 GdomeNode *gdome_cds_insertBefore (GdomeCDATASection *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 733 GdomeNode *gdome_cds_replaceChild (GdomeCDATASection *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 734 GdomeNode *gdome_cds_removeChild (GdomeCDATASection *self, GdomeNode *oldChild, GdomeException *exc); 735 GdomeNode *gdome_cds_appendChild (GdomeCDATASection *self, GdomeNode *newChild, GdomeException *exc); 736 GdomeBoolean gdome_cds_hasChildNodes (GdomeCDATASection *self, GdomeException *exc); 737 GdomeNode *gdome_cds_cloneNode (GdomeCDATASection *self, GdomeBoolean deep, GdomeException *exc); 738 void gdome_cds_normalize (GdomeCDATASection *self, GdomeException *exc); 739 GdomeBoolean gdome_cds_isSupported (GdomeCDATASection *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 740 GdomeDOMString *gdome_cds_namespaceURI (GdomeCDATASection *self, GdomeException *exc); 741 GdomeDOMString *gdome_cds_prefix (GdomeCDATASection *self, GdomeException *exc); 742 void gdome_cds_set_prefix (GdomeCDATASection *self, GdomeDOMString *prefix, GdomeException *exc); 743 GdomeDOMString *gdome_cds_localName (GdomeCDATASection *self, GdomeException *exc); 744 GdomeBoolean gdome_cds_hasAttributes (GdomeCDATASection *self, GdomeException *exc); 745 void gdome_cds_addEventListener (GdomeCDATASection *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 746 void gdome_cds_removeEventListener (GdomeCDATASection *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 747 GdomeBoolean gdome_cds_dispatchEvent (GdomeCDATASection *self, GdomeEvent *evt, GdomeException *exc); 748 void gdome_cds_subTreeDispatchEvent (GdomeCDATASection *self, GdomeEvent *evt, GdomeException *exc); 749 GdomeBoolean gdome_cds_canAppend (GdomeCDATASection *self, GdomeNode *newChild, GdomeException *exc); 750 751 752 753 GdomeDOMString *gdome_c_data (GdomeComment *self, GdomeException *exc); 754 void gdome_c_set_data (GdomeComment *self, GdomeDOMString *data, GdomeException *exc); 755 gulong gdome_c_length (GdomeComment *self, GdomeException *exc); 756 GdomeDOMString *gdome_c_substringData (GdomeComment *self, gulong offset, gulong count, GdomeException *exc); 757 void gdome_c_appendData (GdomeComment *self, GdomeDOMString *arg, GdomeException *exc); 758 void gdome_c_insertData (GdomeComment *self, gulong offset, GdomeDOMString *arg, GdomeException *exc); 759 void gdome_c_deleteData (GdomeComment *self, gulong offset, gulong count, GdomeException *exc); 760 void gdome_c_replaceData (GdomeComment *self, gulong offset, gulong count, GdomeDOMString *arg, GdomeException *exc); 761 void gdome_c_ref (GdomeComment *self, GdomeException *exc); 762 void gdome_c_unref (GdomeComment *self, GdomeException *exc); 763 gpointer gdome_c_query_interface (GdomeComment *self, const char *interface, GdomeException *exc); 764 GdomeDOMString *gdome_c_nodeName (GdomeComment *self, GdomeException *exc); 765 GdomeDOMString *gdome_c_nodeValue (GdomeComment *self, GdomeException *exc); 766 void gdome_c_set_nodeValue (GdomeComment *self, GdomeDOMString *nodeValue, GdomeException *exc); 767 unsigned short gdome_c_nodeType (GdomeComment *self, GdomeException *exc); 768 GdomeNode *gdome_c_parentNode (GdomeComment *self, GdomeException *exc); 769 GdomeNodeList *gdome_c_childNodes (GdomeComment *self, GdomeException *exc); 770 GdomeNode *gdome_c_firstChild (GdomeComment *self, GdomeException *exc); 771 GdomeNode *gdome_c_lastChild (GdomeComment *self, GdomeException *exc); 772 GdomeNode *gdome_c_previousSibling (GdomeComment *self, GdomeException *exc); 773 GdomeNode *gdome_c_nextSibling (GdomeComment *self, GdomeException *exc); 774 GdomeNamedNodeMap *gdome_c_attributes (GdomeComment *self, GdomeException *exc); 775 GdomeDocument *gdome_c_ownerDocument (GdomeComment *self, GdomeException *exc); 776 GdomeNode *gdome_c_insertBefore (GdomeComment *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 777 GdomeNode *gdome_c_replaceChild (GdomeComment *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 778 GdomeNode *gdome_c_removeChild (GdomeComment *self, GdomeNode *oldChild, GdomeException *exc); 779 GdomeNode *gdome_c_appendChild (GdomeComment *self, GdomeNode *newChild, GdomeException *exc); 780 GdomeBoolean gdome_c_hasChildNodes (GdomeComment *self, GdomeException *exc); 781 GdomeNode *gdome_c_cloneNode (GdomeComment *self, GdomeBoolean deep, GdomeException *exc); 782 void gdome_c_normalize (GdomeComment *self, GdomeException *exc); 783 GdomeBoolean gdome_c_isSupported (GdomeComment *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 784 GdomeDOMString *gdome_c_namespaceURI (GdomeComment *self, GdomeException *exc); 785 GdomeDOMString *gdome_c_prefix (GdomeComment *self, GdomeException *exc); 786 void gdome_c_set_prefix (GdomeComment *self, GdomeDOMString *prefix, GdomeException *exc); 787 GdomeDOMString *gdome_c_localName (GdomeComment *self, GdomeException *exc); 788 GdomeBoolean gdome_c_hasAttributes (GdomeComment *self, GdomeException *exc); 789 void gdome_c_addEventListener (GdomeComment *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 790 void gdome_c_removeEventListener (GdomeComment *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 791 GdomeBoolean gdome_c_dispatchEvent (GdomeComment *self, GdomeEvent *evt, GdomeException *exc); 792 void gdome_c_subTreeDispatchEvent (GdomeComment *self, GdomeEvent *evt, GdomeException *exc); 793 GdomeBoolean gdome_c_canAppend (GdomeComment *self, GdomeNode *newChild, GdomeException *exc); 794 795 796 797 GdomeDOMImplementation * gdome_di_mkref (void); 798 void gdome_di_ref (GdomeDOMImplementation *self, GdomeException *exc); 799 void gdome_di_unref (GdomeDOMImplementation *self, GdomeException *exc); 800 gpointer gdome_di_query_interface (GdomeDOMImplementation *self, const char *interface, GdomeException *exc); 801 GdomeBoolean gdome_di_hasFeature (GdomeDOMImplementation *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 802 GdomeDocumentType *gdome_di_createDocumentType (GdomeDOMImplementation *self, GdomeDOMString *qualifiedName, GdomeDOMString *publicId, GdomeDOMString *systemId, GdomeException *exc); 803 GdomeDocument *gdome_di_createDocument (GdomeDOMImplementation *self, GdomeDOMString *namespaceURI, GdomeDOMString *qualifiedName, GdomeDocumentType *doctype, GdomeException *exc); 804 void gdome_di_freeDoc (GdomeDOMImplementation *self, GdomeDocument *doc, GdomeException *exc); 805 GdomeDocument *gdome_di_createDocFromURI (GdomeDOMImplementation *self, const char *uri, unsigned int mode, GdomeException *exc); 806 GdomeDocument *gdome_di_createDocFromMemory (GdomeDOMImplementation *self, char *buffer, unsigned int mode, GdomeException *exc); 807 GdomeDocument *gdome_di_createDocFromURIWithEntitiesTable (GdomeDOMImplementation *self, const char *uri, const GdomeEntitiesTableEntry entityTable[], unsigned int mode, GdomeException *exc); 808 GdomeDocument *gdome_di_createDocFromMemoryWithEntitiesTable (GdomeDOMImplementation *self, char *buffer, const GdomeEntitiesTableEntry entityTable[], unsigned int mode, GdomeException *exc); 809 GdomeBoolean gdome_di_saveDocToFile (GdomeDOMImplementation *self, GdomeDocument *doc, const char *filename, GdomeSavingCode mode, GdomeException *exc); 810 GdomeBoolean gdome_di_saveDocToFileEnc (GdomeDOMImplementation *self, GdomeDocument *doc, const char *filename, const char *encoding, GdomeSavingCode mode, GdomeException *exc); 811 GdomeBoolean gdome_di_saveDocToMemory (GdomeDOMImplementation *self, GdomeDocument *doc, char **mem, GdomeSavingCode mode, GdomeException *exc); 812 GdomeBoolean gdome_di_saveDocToMemoryEnc (GdomeDOMImplementation *self, GdomeDocument *doc, char **mem, const char *encoding, GdomeSavingCode mode, GdomeException *exc); 813 void gdome_di_enableEvent (GdomeDOMImplementation *self, GdomeDocument *doc, const char *name, GdomeException *exc); 814 void gdome_di_disableEvent (GdomeDOMImplementation *self, GdomeDocument *doc, const char *name, GdomeException *exc); 815 GdomeBoolean gdome_di_eventIsEnabled (GdomeDOMImplementation *self, GdomeDocument *doc, const char *name, GdomeException *exc); 816 817 GdomeDocumentType *gdome_doc_doctype (GdomeDocument *self, GdomeException *exc); 818 GdomeDOMImplementation *gdome_doc_implementation (GdomeDocument *self, GdomeException *exc); 819 GdomeElement *gdome_doc_documentElement (GdomeDocument *self, GdomeException *exc); 820 GdomeElement *gdome_doc_createElement (GdomeDocument *self, GdomeDOMString *tagName, GdomeException *exc); 821 GdomeDocumentFragment *gdome_doc_createDocumentFragment (GdomeDocument *self, GdomeException *exc); 822 GdomeText *gdome_doc_createTextNode (GdomeDocument *self, GdomeDOMString *data, GdomeException *exc); 823 GdomeComment *gdome_doc_createComment (GdomeDocument *self, GdomeDOMString *data, GdomeException *exc); 824 GdomeCDATASection *gdome_doc_createCDATASection (GdomeDocument *self, GdomeDOMString *data, GdomeException *exc); 825 GdomeProcessingInstruction *gdome_doc_createProcessingInstruction (GdomeDocument *self, GdomeDOMString *target, GdomeDOMString *data, GdomeException *exc); 826 GdomeAttr *gdome_doc_createAttribute (GdomeDocument *self, GdomeDOMString *name, GdomeException *exc); 827 GdomeEntityReference *gdome_doc_createEntityReference (GdomeDocument *self, GdomeDOMString *name, GdomeException *exc); 828 GdomeNodeList *gdome_doc_getElementsByTagName (GdomeDocument *self, GdomeDOMString *tagname, GdomeException *exc); 829 GdomeNode *gdome_doc_importNode (GdomeDocument *self, GdomeNode *importedNode, GdomeBoolean deep, GdomeException *exc); 830 GdomeElement *gdome_doc_createElementNS (GdomeDocument *self, GdomeDOMString *namespaceURI, GdomeDOMString *qualifiedName, GdomeException *exc); 831 GdomeAttr *gdome_doc_createAttributeNS (GdomeDocument *self, GdomeDOMString *namespaceURI, GdomeDOMString *qualifiedName, GdomeException *exc); 832 GdomeNodeList *gdome_doc_getElementsByTagNameNS (GdomeDocument *self, GdomeDOMString *namespaceURI, GdomeDOMString *localName, GdomeException *exc); 833 GdomeElement *gdome_doc_getElementById (GdomeDocument *self, GdomeDOMString *elementId, GdomeException *exc); 834 GdomeEvent *gdome_doc_createEvent (GdomeDocument *self, GdomeDOMString *eventType, GdomeException *exc); 835 void gdome_doc_ref (GdomeDocument *self, GdomeException *exc); 836 void gdome_doc_unref (GdomeDocument *self, GdomeException *exc); 837 gpointer gdome_doc_query_interface (GdomeDocument *self, const char *interface, GdomeException *exc); 838 GdomeDOMString *gdome_doc_nodeName (GdomeDocument *self, GdomeException *exc); 839 GdomeDOMString *gdome_doc_nodeValue (GdomeDocument *self, GdomeException *exc); 840 void gdome_doc_set_nodeValue (GdomeDocument *self, GdomeDOMString *nodeValue, GdomeException *exc); 841 unsigned short gdome_doc_nodeType (GdomeDocument *self, GdomeException *exc); 842 GdomeNode *gdome_doc_parentNode (GdomeDocument *self, GdomeException *exc); 843 GdomeNodeList *gdome_doc_childNodes (GdomeDocument *self, GdomeException *exc); 844 GdomeNode *gdome_doc_firstChild (GdomeDocument *self, GdomeException *exc); 845 GdomeNode *gdome_doc_lastChild (GdomeDocument *self, GdomeException *exc); 846 GdomeNode *gdome_doc_previousSibling (GdomeDocument *self, GdomeException *exc); 847 GdomeNode *gdome_doc_nextSibling (GdomeDocument *self, GdomeException *exc); 848 GdomeNamedNodeMap *gdome_doc_attributes (GdomeDocument *self, GdomeException *exc); 849 GdomeDocument *gdome_doc_ownerDocument (GdomeDocument *self, GdomeException *exc); 850 GdomeNode *gdome_doc_insertBefore (GdomeDocument *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 851 GdomeNode *gdome_doc_replaceChild (GdomeDocument *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 852 GdomeNode *gdome_doc_removeChild (GdomeDocument *self, GdomeNode *oldChild, GdomeException *exc); 853 GdomeNode *gdome_doc_appendChild (GdomeDocument *self, GdomeNode *newChild, GdomeException *exc); 854 GdomeBoolean gdome_doc_hasChildNodes (GdomeDocument *self, GdomeException *exc); 855 GdomeNode *gdome_doc_cloneNode (GdomeDocument *self, GdomeBoolean deep, GdomeException *exc); 856 void gdome_doc_normalize (GdomeDocument *self, GdomeException *exc); 857 GdomeBoolean gdome_doc_isSupported (GdomeDocument *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 858 GdomeDOMString *gdome_doc_namespaceURI (GdomeDocument *self, GdomeException *exc); 859 GdomeDOMString *gdome_doc_prefix (GdomeDocument *self, GdomeException *exc); 860 void gdome_doc_set_prefix (GdomeDocument *self, GdomeDOMString *prefix, GdomeException *exc); 861 GdomeDOMString *gdome_doc_localName (GdomeDocument *self, GdomeException *exc); 862 GdomeBoolean gdome_doc_hasAttributes (GdomeDocument *self, GdomeException *exc); 863 void gdome_doc_addEventListener (GdomeDocument *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 864 void gdome_doc_removeEventListener (GdomeDocument *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 865 GdomeBoolean gdome_doc_dispatchEvent (GdomeDocument *self, GdomeEvent *evt, GdomeException *exc); 866 void gdome_doc_subTreeDispatchEvent (GdomeDocument *self, GdomeEvent *evt, GdomeException *exc); 867 GdomeBoolean gdome_doc_canAppend (GdomeDocument *self, GdomeNode *newChild, GdomeException *exc); 868 869 870 871 void gdome_df_ref (GdomeDocumentFragment *self, GdomeException *exc); 872 void gdome_df_unref (GdomeDocumentFragment *self, GdomeException *exc); 873 gpointer gdome_df_query_interface (GdomeDocumentFragment *self, const char *interface, GdomeException *exc); 874 GdomeDOMString *gdome_df_nodeName (GdomeDocumentFragment *self, GdomeException *exc); 875 GdomeDOMString *gdome_df_nodeValue (GdomeDocumentFragment *self, GdomeException *exc); 876 void gdome_df_set_nodeValue (GdomeDocumentFragment *self, GdomeDOMString *nodeValue, GdomeException *exc); 877 unsigned short gdome_df_nodeType (GdomeDocumentFragment *self, GdomeException *exc); 878 GdomeNode *gdome_df_parentNode (GdomeDocumentFragment *self, GdomeException *exc); 879 GdomeNodeList *gdome_df_childNodes (GdomeDocumentFragment *self, GdomeException *exc); 880 GdomeNode *gdome_df_firstChild (GdomeDocumentFragment *self, GdomeException *exc); 881 GdomeNode *gdome_df_lastChild (GdomeDocumentFragment *self, GdomeException *exc); 882 GdomeNode *gdome_df_previousSibling (GdomeDocumentFragment *self, GdomeException *exc); 883 GdomeNode *gdome_df_nextSibling (GdomeDocumentFragment *self, GdomeException *exc); 884 GdomeNamedNodeMap *gdome_df_attributes (GdomeDocumentFragment *self, GdomeException *exc); 885 GdomeDocument *gdome_df_ownerDocument (GdomeDocumentFragment *self, GdomeException *exc); 886 GdomeNode *gdome_df_insertBefore (GdomeDocumentFragment *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 887 GdomeNode *gdome_df_replaceChild (GdomeDocumentFragment *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 888 GdomeNode *gdome_df_removeChild (GdomeDocumentFragment *self, GdomeNode *oldChild, GdomeException *exc); 889 GdomeNode *gdome_df_appendChild (GdomeDocumentFragment *self, GdomeNode *newChild, GdomeException *exc); 890 GdomeBoolean gdome_df_hasChildNodes (GdomeDocumentFragment *self, GdomeException *exc); 891 GdomeNode *gdome_df_cloneNode (GdomeDocumentFragment *self, GdomeBoolean deep, GdomeException *exc); 892 void gdome_df_normalize (GdomeDocumentFragment *self, GdomeException *exc); 893 GdomeBoolean gdome_df_isSupported (GdomeDocumentFragment *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 894 GdomeDOMString *gdome_df_namespaceURI (GdomeDocumentFragment *self, GdomeException *exc); 895 GdomeDOMString *gdome_df_prefix (GdomeDocumentFragment *self, GdomeException *exc); 896 void gdome_df_set_prefix (GdomeDocumentFragment *self, GdomeDOMString *prefix, GdomeException *exc); 897 GdomeDOMString *gdome_df_localName (GdomeDocumentFragment *self, GdomeException *exc); 898 GdomeBoolean gdome_df_hasAttributes (GdomeDocumentFragment *self, GdomeException *exc); 899 void gdome_df_addEventListener (GdomeDocumentFragment *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 900 void gdome_df_removeEventListener (GdomeDocumentFragment *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 901 GdomeBoolean gdome_df_dispatchEvent (GdomeDocumentFragment *self, GdomeEvent *evt, GdomeException *exc); 902 void gdome_df_subTreeDispatchEvent (GdomeDocumentFragment *self, GdomeEvent *evt, GdomeException *exc); 903 GdomeBoolean gdome_df_canAppend (GdomeDocumentFragment *self, GdomeNode *newChild, GdomeException *exc); 904 905 906 907 GdomeDOMString *gdome_dt_name (GdomeDocumentType *self, GdomeException *exc); 908 GdomeNamedNodeMap *gdome_dt_entities (GdomeDocumentType *self, GdomeException *exc); 909 GdomeNamedNodeMap *gdome_dt_notations (GdomeDocumentType *self, GdomeException *exc); 910 GdomeDOMString *gdome_dt_publicId (GdomeDocumentType *self, GdomeException *exc); 911 GdomeDOMString *gdome_dt_systemId (GdomeDocumentType *self, GdomeException *exc); 912 GdomeDOMString *gdome_dt_internalSubset (GdomeDocumentType *self, GdomeException *exc); 913 void gdome_dt_ref (GdomeDocumentType *self, GdomeException *exc); 914 void gdome_dt_unref (GdomeDocumentType *self, GdomeException *exc); 915 gpointer gdome_dt_query_interface (GdomeDocumentType *self, const char *interface, GdomeException *exc); 916 GdomeDOMString *gdome_dt_nodeName (GdomeDocumentType *self, GdomeException *exc); 917 GdomeDOMString *gdome_dt_nodeValue (GdomeDocumentType *self, GdomeException *exc); 918 void gdome_dt_set_nodeValue (GdomeDocumentType *self, GdomeDOMString *nodeValue, GdomeException *exc); 919 unsigned short gdome_dt_nodeType (GdomeDocumentType *self, GdomeException *exc); 920 GdomeNode *gdome_dt_parentNode (GdomeDocumentType *self, GdomeException *exc); 921 GdomeNodeList *gdome_dt_childNodes (GdomeDocumentType *self, GdomeException *exc); 922 GdomeNode *gdome_dt_firstChild (GdomeDocumentType *self, GdomeException *exc); 923 GdomeNode *gdome_dt_lastChild (GdomeDocumentType *self, GdomeException *exc); 924 GdomeNode *gdome_dt_previousSibling (GdomeDocumentType *self, GdomeException *exc); 925 GdomeNode *gdome_dt_nextSibling (GdomeDocumentType *self, GdomeException *exc); 926 GdomeNamedNodeMap *gdome_dt_attributes (GdomeDocumentType *self, GdomeException *exc); 927 GdomeDocument *gdome_dt_ownerDocument (GdomeDocumentType *self, GdomeException *exc); 928 GdomeNode *gdome_dt_insertBefore (GdomeDocumentType *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 929 GdomeNode *gdome_dt_replaceChild (GdomeDocumentType *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 930 GdomeNode *gdome_dt_removeChild (GdomeDocumentType *self, GdomeNode *oldChild, GdomeException *exc); 931 GdomeNode *gdome_dt_appendChild (GdomeDocumentType *self, GdomeNode *newChild, GdomeException *exc); 932 GdomeBoolean gdome_dt_hasChildNodes (GdomeDocumentType *self, GdomeException *exc); 933 GdomeNode *gdome_dt_cloneNode (GdomeDocumentType *self, GdomeBoolean deep, GdomeException *exc); 934 void gdome_dt_normalize (GdomeDocumentType *self, GdomeException *exc); 935 GdomeBoolean gdome_dt_isSupported (GdomeDocumentType *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 936 GdomeDOMString *gdome_dt_namespaceURI (GdomeDocumentType *self, GdomeException *exc); 937 GdomeDOMString *gdome_dt_prefix (GdomeDocumentType *self, GdomeException *exc); 938 void gdome_dt_set_prefix (GdomeDocumentType *self, GdomeDOMString *prefix, GdomeException *exc); 939 GdomeDOMString *gdome_dt_localName (GdomeDocumentType *self, GdomeException *exc); 940 GdomeBoolean gdome_dt_hasAttributes (GdomeDocumentType *self, GdomeException *exc); 941 void gdome_dt_addEventListener (GdomeDocumentType *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 942 void gdome_dt_removeEventListener (GdomeDocumentType *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 943 GdomeBoolean gdome_dt_dispatchEvent (GdomeDocumentType *self, GdomeEvent *evt, GdomeException *exc); 944 void gdome_dt_subTreeDispatchEvent (GdomeDocumentType *self, GdomeEvent *evt, GdomeException *exc); 945 GdomeBoolean gdome_dt_canAppend (GdomeDocumentType *self, GdomeNode *newChild, GdomeException *exc); 946 947 948 949 950 951 952 GdomeDOMString *gdome_ent_publicId (GdomeEntity *self, GdomeException *exc); 953 GdomeDOMString *gdome_ent_systemId (GdomeEntity *self, GdomeException *exc); 954 GdomeDOMString *gdome_ent_notationName (GdomeEntity *self, GdomeException *exc); 955 void gdome_ent_ref (GdomeEntity *self, GdomeException *exc); 956 void gdome_ent_unref (GdomeEntity *self, GdomeException *exc); 957 gpointer gdome_ent_query_interface (GdomeEntity *self, const char *interface, GdomeException *exc); 958 GdomeDOMString *gdome_ent_nodeName (GdomeEntity *self, GdomeException *exc); 959 GdomeDOMString *gdome_ent_nodeValue (GdomeEntity *self, GdomeException *exc); 960 void gdome_ent_set_nodeValue (GdomeEntity *self, GdomeDOMString *nodeValue, GdomeException *exc); 961 unsigned short gdome_ent_nodeType (GdomeEntity *self, GdomeException *exc); 962 GdomeNode *gdome_ent_parentNode (GdomeEntity *self, GdomeException *exc); 963 GdomeNodeList *gdome_ent_childNodes (GdomeEntity *self, GdomeException *exc); 964 GdomeNode *gdome_ent_firstChild (GdomeEntity *self, GdomeException *exc); 965 GdomeNode *gdome_ent_lastChild (GdomeEntity *self, GdomeException *exc); 966 GdomeNode *gdome_ent_previousSibling (GdomeEntity *self, GdomeException *exc); 967 GdomeNode *gdome_ent_nextSibling (GdomeEntity *self, GdomeException *exc); 968 GdomeNamedNodeMap *gdome_ent_attributes (GdomeEntity *self, GdomeException *exc); 969 GdomeDocument *gdome_ent_ownerDocument (GdomeEntity *self, GdomeException *exc); 970 GdomeNode *gdome_ent_insertBefore (GdomeEntity *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 971 GdomeNode *gdome_ent_replaceChild (GdomeEntity *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 972 GdomeNode *gdome_ent_removeChild (GdomeEntity *self, GdomeNode *oldChild, GdomeException *exc); 973 GdomeNode *gdome_ent_appendChild (GdomeEntity *self, GdomeNode *newChild, GdomeException *exc); 974 GdomeBoolean gdome_ent_hasChildNodes (GdomeEntity *self, GdomeException *exc); 975 GdomeNode *gdome_ent_cloneNode (GdomeEntity *self, GdomeBoolean deep, GdomeException *exc); 976 void gdome_ent_normalize (GdomeEntity *self, GdomeException *exc); 977 GdomeBoolean gdome_ent_isSupported (GdomeEntity *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 978 GdomeDOMString *gdome_ent_namespaceURI (GdomeEntity *self, GdomeException *exc); 979 GdomeDOMString *gdome_ent_prefix (GdomeEntity *self, GdomeException *exc); 980 void gdome_ent_set_prefix (GdomeEntity *self, GdomeDOMString *prefix, GdomeException *exc); 981 GdomeDOMString *gdome_ent_localName (GdomeEntity *self, GdomeException *exc); 982 GdomeBoolean gdome_ent_hasAttributes (GdomeEntity *self, GdomeException *exc); 983 void gdome_ent_addEventListener (GdomeEntity *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 984 void gdome_ent_removeEventListener (GdomeEntity *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 985 GdomeBoolean gdome_ent_dispatchEvent (GdomeEntity *self, GdomeEvent *evt, GdomeException *exc); 986 void gdome_ent_subTreeDispatchEvent (GdomeEntity *self, GdomeEvent *evt, GdomeException *exc); 987 GdomeBoolean gdome_ent_canAppend (GdomeEntity *self, GdomeNode *newChild, GdomeException *exc); 988 989 990 991 void gdome_er_ref (GdomeEntityReference *self, GdomeException *exc); 992 void gdome_er_unref (GdomeEntityReference *self, GdomeException *exc); 993 gpointer gdome_er_query_interface (GdomeEntityReference *self, const char *interface, GdomeException *exc); 994 GdomeDOMString *gdome_er_nodeName (GdomeEntityReference *self, GdomeException *exc); 995 GdomeDOMString *gdome_er_nodeValue (GdomeEntityReference *self, GdomeException *exc); 996 void gdome_er_set_nodeValue (GdomeEntityReference *self, GdomeDOMString *nodeValue, GdomeException *exc); 997 unsigned short gdome_er_nodeType (GdomeEntityReference *self, GdomeException *exc); 998 GdomeNode *gdome_er_parentNode (GdomeEntityReference *self, GdomeException *exc); 999 GdomeNodeList *gdome_er_childNodes (GdomeEntityReference *self, GdomeException *exc); 1000 GdomeNode *gdome_er_firstChild (GdomeEntityReference *self, GdomeException *exc); 1001 GdomeNode *gdome_er_lastChild (GdomeEntityReference *self, GdomeException *exc); 1002 GdomeNode *gdome_er_previousSibling (GdomeEntityReference *self, GdomeException *exc); 1003 GdomeNode *gdome_er_nextSibling (GdomeEntityReference *self, GdomeException *exc); 1004 GdomeNamedNodeMap *gdome_er_attributes (GdomeEntityReference *self, GdomeException *exc); 1005 GdomeDocument *gdome_er_ownerDocument (GdomeEntityReference *self, GdomeException *exc); 1006 GdomeNode *gdome_er_insertBefore (GdomeEntityReference *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 1007 GdomeNode *gdome_er_replaceChild (GdomeEntityReference *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 1008 GdomeNode *gdome_er_removeChild (GdomeEntityReference *self, GdomeNode *oldChild, GdomeException *exc); 1009 GdomeNode *gdome_er_appendChild (GdomeEntityReference *self, GdomeNode *newChild, GdomeException *exc); 1010 GdomeBoolean gdome_er_hasChildNodes (GdomeEntityReference *self, GdomeException *exc); 1011 GdomeNode *gdome_er_cloneNode (GdomeEntityReference *self, GdomeBoolean deep, GdomeException *exc); 1012 void gdome_er_normalize (GdomeEntityReference *self, GdomeException *exc); 1013 GdomeBoolean gdome_er_isSupported (GdomeEntityReference *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 1014 GdomeDOMString *gdome_er_namespaceURI (GdomeEntityReference *self, GdomeException *exc); 1015 GdomeDOMString *gdome_er_prefix (GdomeEntityReference *self, GdomeException *exc); 1016 void gdome_er_set_prefix (GdomeEntityReference *self, GdomeDOMString *prefix, GdomeException *exc); 1017 GdomeDOMString *gdome_er_localName (GdomeEntityReference *self, GdomeException *exc); 1018 GdomeBoolean gdome_er_hasAttributes (GdomeEntityReference *self, GdomeException *exc); 1019 void gdome_er_addEventListener (GdomeEntityReference *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1020 void gdome_er_removeEventListener (GdomeEntityReference *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1021 GdomeBoolean gdome_er_dispatchEvent (GdomeEntityReference *self, GdomeEvent *evt, GdomeException *exc); 1022 void gdome_er_subTreeDispatchEvent (GdomeEntityReference *self, GdomeEvent *evt, GdomeException *exc); 1023 GdomeBoolean gdome_er_canAppend (GdomeEntityReference *self, GdomeNode *newChild, GdomeException *exc); 1024 1025 1026 1027 void gdome_nnm_ref (GdomeNamedNodeMap *self, GdomeException *exc); 1028 void gdome_nnm_unref (GdomeNamedNodeMap *self, GdomeException *exc); 1029 gpointer gdome_nnm_query_interface (GdomeNamedNodeMap *self, const char *interface, GdomeException *exc); 1030 GdomeNode *gdome_nnm_getNamedItem (GdomeNamedNodeMap *self, GdomeDOMString *name, GdomeException *exc); 1031 GdomeNode *gdome_nnm_setNamedItem (GdomeNamedNodeMap *self, GdomeNode *arg, GdomeException *exc); 1032 GdomeNode *gdome_nnm_removeNamedItem (GdomeNamedNodeMap *self, GdomeDOMString *name, GdomeException *exc); 1033 GdomeNode *gdome_nnm_item (GdomeNamedNodeMap *self, gulong index, GdomeException *exc); 1034 gulong gdome_nnm_length (GdomeNamedNodeMap *self, GdomeException *exc); 1035 GdomeNode *gdome_nnm_getNamedItemNS (GdomeNamedNodeMap *self, GdomeDOMString *namespaceURI, GdomeDOMString *localName, GdomeException *exc); 1036 GdomeNode *gdome_nnm_setNamedItemNS (GdomeNamedNodeMap *self, GdomeNode *arg, GdomeException *exc); 1037 GdomeNode *gdome_nnm_removeNamedItemNS (GdomeNamedNodeMap *self, GdomeDOMString *namespaceURI, GdomeDOMString *localName, GdomeException *exc); 1038 1039 1040 1041 void gdome_nl_ref (GdomeNodeList *self, GdomeException *exc); 1042 void gdome_nl_unref (GdomeNodeList *self, GdomeException *exc); 1043 gpointer gdome_nl_query_interface (GdomeNodeList *self, const char *interface, GdomeException *exc); 1044 GdomeNode *gdome_nl_item (GdomeNodeList *self, gulong index, GdomeException *exc); 1045 gulong gdome_nl_length (GdomeNodeList *self, GdomeException *exc); 1046 1047 1048 1049 GdomeDOMString *gdome_not_publicId (GdomeNotation *self, GdomeException *exc); 1050 GdomeDOMString *gdome_not_systemId (GdomeNotation *self, GdomeException *exc); 1051 void gdome_not_ref (GdomeNotation *self, GdomeException *exc); 1052 void gdome_not_unref (GdomeNotation *self, GdomeException *exc); 1053 gpointer gdome_not_query_interface (GdomeNotation *self, const char *interface, GdomeException *exc); 1054 GdomeDOMString *gdome_not_nodeName (GdomeNotation *self, GdomeException *exc); 1055 GdomeDOMString *gdome_not_nodeValue (GdomeNotation *self, GdomeException *exc); 1056 void gdome_not_set_nodeValue (GdomeNotation *self, GdomeDOMString *nodeValue, GdomeException *exc); 1057 unsigned short gdome_not_nodeType (GdomeNotation *self, GdomeException *exc); 1058 GdomeNode *gdome_not_parentNode (GdomeNotation *self, GdomeException *exc); 1059 GdomeNodeList *gdome_not_childNodes (GdomeNotation *self, GdomeException *exc); 1060 GdomeNode *gdome_not_firstChild (GdomeNotation *self, GdomeException *exc); 1061 GdomeNode *gdome_not_lastChild (GdomeNotation *self, GdomeException *exc); 1062 GdomeNode *gdome_not_previousSibling (GdomeNotation *self, GdomeException *exc); 1063 GdomeNode *gdome_not_nextSibling (GdomeNotation *self, GdomeException *exc); 1064 GdomeNamedNodeMap *gdome_not_attributes (GdomeNotation *self, GdomeException *exc); 1065 GdomeDocument *gdome_not_ownerDocument (GdomeNotation *self, GdomeException *exc); 1066 GdomeNode *gdome_not_insertBefore (GdomeNotation *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 1067 GdomeNode *gdome_not_replaceChild (GdomeNotation *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 1068 GdomeNode *gdome_not_removeChild (GdomeNotation *self, GdomeNode *oldChild, GdomeException *exc); 1069 GdomeNode *gdome_not_appendChild (GdomeNotation *self, GdomeNode *newChild, GdomeException *exc); 1070 GdomeBoolean gdome_not_hasChildNodes (GdomeNotation *self, GdomeException *exc); 1071 GdomeNode *gdome_not_cloneNode (GdomeNotation *self, GdomeBoolean deep, GdomeException *exc); 1072 void gdome_not_normalize (GdomeNotation *self, GdomeException *exc); 1073 GdomeBoolean gdome_not_isSupported (GdomeNotation *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 1074 GdomeDOMString *gdome_not_namespaceURI (GdomeNotation *self, GdomeException *exc); 1075 GdomeDOMString *gdome_not_prefix (GdomeNotation *self, GdomeException *exc); 1076 void gdome_not_set_prefix (GdomeNotation *self, GdomeDOMString *prefix, GdomeException *exc); 1077 GdomeDOMString *gdome_not_localName (GdomeNotation *self, GdomeException *exc); 1078 GdomeBoolean gdome_not_hasAttributes (GdomeNotation *self, GdomeException *exc); 1079 void gdome_not_addEventListener (GdomeNotation *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1080 void gdome_not_removeEventListener (GdomeNotation *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1081 GdomeBoolean gdome_not_dispatchEvent (GdomeNotation *self, GdomeEvent *evt, GdomeException *exc); 1082 void gdome_not_subTreeDispatchEvent (GdomeNotation *self, GdomeEvent *evt, GdomeException *exc); 1083 GdomeBoolean gdome_not_canAppend (GdomeNotation *self, GdomeNode *newChild, GdomeException *exc); 1084 1085 1086 1087 GdomeDOMString *gdome_pi_target (GdomeProcessingInstruction *self, GdomeException *exc); 1088 GdomeDOMString *gdome_pi_data (GdomeProcessingInstruction *self, GdomeException *exc); 1089 void gdome_pi_set_data (GdomeProcessingInstruction *self, GdomeDOMString *data, GdomeException *exc); 1090 void gdome_pi_ref (GdomeProcessingInstruction *self, GdomeException *exc); 1091 void gdome_pi_unref (GdomeProcessingInstruction *self, GdomeException *exc); 1092 gpointer gdome_pi_query_interface (GdomeProcessingInstruction *self, const char *interface, GdomeException *exc); 1093 GdomeDOMString *gdome_pi_nodeName (GdomeProcessingInstruction *self, GdomeException *exc); 1094 GdomeDOMString *gdome_pi_nodeValue (GdomeProcessingInstruction *self, GdomeException *exc); 1095 void gdome_pi_set_nodeValue (GdomeProcessingInstruction *self, GdomeDOMString *nodeValue, GdomeException *exc); 1096 unsigned short gdome_pi_nodeType (GdomeProcessingInstruction *self, GdomeException *exc); 1097 GdomeNode *gdome_pi_parentNode (GdomeProcessingInstruction *self, GdomeException *exc); 1098 GdomeNodeList *gdome_pi_childNodes (GdomeProcessingInstruction *self, GdomeException *exc); 1099 GdomeNode *gdome_pi_firstChild (GdomeProcessingInstruction *self, GdomeException *exc); 1100 GdomeNode *gdome_pi_lastChild (GdomeProcessingInstruction *self, GdomeException *exc); 1101 GdomeNode *gdome_pi_previousSibling (GdomeProcessingInstruction *self, GdomeException *exc); 1102 GdomeNode *gdome_pi_nextSibling (GdomeProcessingInstruction *self, GdomeException *exc); 1103 GdomeNamedNodeMap *gdome_pi_attributes (GdomeProcessingInstruction *self, GdomeException *exc); 1104 GdomeDocument *gdome_pi_ownerDocument (GdomeProcessingInstruction *self, GdomeException *exc); 1105 GdomeNode *gdome_pi_insertBefore (GdomeProcessingInstruction *self, GdomeNode *newChild, GdomeNode *refChild, GdomeException *exc); 1106 GdomeNode *gdome_pi_replaceChild (GdomeProcessingInstruction *self, GdomeNode *newChild, GdomeNode *oldChild, GdomeException *exc); 1107 GdomeNode *gdome_pi_removeChild (GdomeProcessingInstruction *self, GdomeNode *oldChild, GdomeException *exc); 1108 GdomeNode *gdome_pi_appendChild (GdomeProcessingInstruction *self, GdomeNode *newChild, GdomeException *exc); 1109 GdomeBoolean gdome_pi_hasChildNodes (GdomeProcessingInstruction *self, GdomeException *exc); 1110 GdomeNode *gdome_pi_cloneNode (GdomeProcessingInstruction *self, GdomeBoolean deep, GdomeException *exc); 1111 void gdome_pi_normalize (GdomeProcessingInstruction *self, GdomeException *exc); 1112 GdomeBoolean gdome_pi_isSupported (GdomeProcessingInstruction *self, GdomeDOMString *feature, GdomeDOMString *version, GdomeException *exc); 1113 GdomeDOMString *gdome_pi_namespaceURI (GdomeProcessingInstruction *self, GdomeException *exc); 1114 GdomeDOMString *gdome_pi_prefix (GdomeProcessingInstruction *self, GdomeException *exc); 1115 void gdome_pi_set_prefix (GdomeProcessingInstruction *self, GdomeDOMString *prefix, GdomeException *exc); 1116 GdomeDOMString *gdome_pi_localName (GdomeProcessingInstruction *self, GdomeException *exc); 1117 GdomeBoolean gdome_pi_hasAttributes (GdomeProcessingInstruction *self, GdomeException *exc); 1118 void gdome_pi_addEventListener (GdomeProcessingInstruction *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1119 void gdome_pi_removeEventListener (GdomeProcessingInstruction *self, GdomeDOMString *type, GdomeEventListener *listener, GdomeBoolean useCapture, GdomeException *exc); 1120 GdomeBoolean gdome_pi_dispatchEvent (GdomeProcessingInstruction *self, GdomeEvent *evt, GdomeException *exc); 1121 void gdome_pi_subTreeDispatchEvent (GdomeProcessingInstruction *self, GdomeEvent *evt, GdomeException *exc); 1122 GdomeBoolean gdome_pi_canAppend (GdomeProcessingInstruction *self, GdomeNode *newChild, GdomeException *exc); 1123 GdomeElement * gdome_xpns_ownerElement (GdomeXPathNamespace *self, GdomeException *exc); 1124 GdomeDocument * gdome_xpns_ownerDocument (GdomeXPathNamespace *self, 1125 GdomeException *exc); 1126 GdomeDOMString * gdome_xpns_prefix (GdomeXPathNamespace *self, 1127 GdomeException *exc); 1128 GdomeDOMString * gdome_xpns_nodeName (GdomeXPathNamespace *self, 1129 GdomeException *exc); 1130 unsigned short gdome_xpns_nodeType (GdomeXPathNamespace *self, 1131 GdomeException *exc); 1132 GdomeDOMString * gdome_xpns_namespaceURI (GdomeXPathNamespace *self, 1133 GdomeException *exc); 1134 1135 1136 /* Casting Macro */ 1137 #include <gdome-util.h> 1138 /** 1139 * GDOME_A: 1140 * @node: Node Object ref 1141 * 1142 * Cast a ganeral GdomeNode reference to a GdomeAttr one. 1143 */ 1144 #define GDOME_A(node) gdome_cast_a((GdomeNode *)node) 1145 /** 1146 * GDOME_CD: 1147 * @node: Node Object ref 1148 * 1149 * Cast a ganeral GdomeNode reference to a GdomeCharacterData one. 1150 */ 1151 #define GDOME_CD(node) gdome_cast_cd((GdomeNode *)node) 1152 /** 1153 * GDOME_CDS: 1154 * @node: Node Object ref 1155 * 1156 * Cast a ganeral GdomeNode reference to a GdomeCDATASection one. 1157 */ 1158 #define GDOME_CDS(node) gdome_cast_cds((GdomeNode *)node) 1159 /** 1160 * GDOME_C: 1161 * @node: Node Object ref 1162 * 1163 * Cast a ganeral GdomeNode reference to a GdomeComment one. 1164 */ 1165 #define GDOME_C(node) gdome_cast_c((GdomeNode *)node) 1166 /** 1167 * GDOME_DOC: 1168 * @node: Node Object ref 1169 * 1170 * Cast a ganeral GdomeNode reference to a GdomeDocument one. 1171 */ 1172 #define GDOME_DOC(node) gdome_cast_doc((GdomeNode *)node) 1173 /** 1174 * GDOME_DF: 1175 * @node: Node Object ref 1176 * 1177 * Cast a ganeral GdomeNode reference to a GdomeDocumentFragment one. 1178 */ 1179 #define GDOME_DF(node) gdome_cast_df((GdomeNode *)node) 1180 /** 1181 * GDOME_DT: 1182 * @node: Node Object ref 1183 * 1184 * Cast a ganeral GdomeNode reference to a GdomeDocumentType one. 1185 */ 1186 #define GDOME_DT(node) gdome_cast_dt((GdomeNode *)node) 1187 /** 1188 * GDOME_EL: 1189 * @node: Node Object ref 1190 * 1191 * Cast a ganeral GdomeNode reference to a GdomeElement one. 1192 */ 1193 #define GDOME_EL(node) gdome_cast_el((GdomeNode *)node) 1194 /** 1195 * GDOME_ENT: 1196 * @node: Node Object ref 1197 * 1198 * Cast a ganeral GdomeNode reference to a GdomeEntity one. 1199 */ 1200 #define GDOME_ENT(node) gdome_cast_ent((GdomeNode *)node) 1201 /** 1202 * GDOME_ER: 1203 * @node: Node Object ref 1204 * 1205 * Cast a ganeral GdomeNode reference to a GdomeEntityReference one. 1206 */ 1207 #define GDOME_ER(node) gdome_cast_er((GdomeNode *)node) 1208 /** 1209 * GDOME_N: 1210 * @node: Node Object ref 1211 * 1212 * Cast a ganeral GdomeNode reference to a GdomeNode one. 1213 */ 1214 #define GDOME_N(node) gdome_cast_n((GdomeNode *)node) 1215 /** 1216 * GDOME_NOT: 1217 * @node: Node Object ref 1218 * 1219 * Cast a ganeral GdomeNode reference to a GdomeNotation one. 1220 */ 1221 #define GDOME_NOT(node) gdome_cast_not((GdomeNode *)node) 1222 /** 1223 * GDOME_PI: 1224 * @node: Node Object ref 1225 * 1226 * Cast a ganeral GdomeNode reference to a GdomeProcessingInstruction one. 1227 */ 1228 #define GDOME_PI(node) gdome_cast_pi((GdomeNode *)node) 1229 /** 1230 * GDOME_T: 1231 * @node: Node Object ref 1232 * 1233 * Cast a ganeral GdomeNode reference to a GdomeText one. 1234 */ 1235 #define GDOME_T(node) gdome_cast_t((GdomeNode *)node) 1236 /** 1237 * GDOME_EVNTT: 1238 * @node: Node Object ref 1239 * 1240 * Cast a ganeral GdomeNode reference to a GdomeEventTarget one. 1241 */ 1242 #define GDOME_EVNTT(node) gdome_cast_evntt((GdomeNode *)node) 1243 1244 /** 1245 * GDOME_XMLNS_NAMESPACE: 1246 * 1247 * This is the namespace for the xmlns: prefix for namespace declaration 1248 * attributes. 1249 */ 1250 #define GDOME_XMLNS_NAMESPACE \ 1251 (const xmlChar *) "http://www.w3.org/2000/xmlns/" 1252 1253 #ifdef __cplusplus 1254 } 1255 #endif /* __cplusplus */ 1256 1257 #endif /* GDOME_H */ 1258