8#ifndef dom_core_document_h_
9#define dom_core_document_h_
24struct dom_configuration;
122 struct dom_configuration **result);
139#define dom_document_get_doctype(d, r) dom_document_get_doctype( \
140 (dom_document *) (d), (struct dom_document_type **) (r))
148#define dom_document_get_implementation(d, r) dom_document_get_implementation(\
149 (dom_document *) (d), (dom_implementation **) (r))
157#define dom_document_get_document_element(d, r) \
158 dom_document_get_document_element((dom_document *) (d), \
159 (struct dom_element **) (r))
168#define dom_document_create_element(d, t, r) dom_document_create_element( \
169 (dom_document *) (d), (t), \
170 (struct dom_element **) (r))
179#define dom_document_create_document_fragment(d, r) \
180 dom_document_create_document_fragment((dom_document *) (d), \
181 (struct dom_document_fragment **) (r))
190#define dom_document_create_text_node(d, data, r) \
191 dom_document_create_text_node((dom_document *) (d), \
192 (data), (struct dom_text **) (r))
201#define dom_document_create_comment(d, data, r) dom_document_create_comment( \
202 (dom_document *) (d), (data), \
203 (struct dom_comment **) (r))
212#define dom_document_create_cdata_section(d, data, r) \
213 dom_document_create_cdata_section((dom_document *) (d), \
214 (data), (struct dom_cdata_section **) (r))
225#define dom_document_create_processing_instruction(d, t, data, r) \
226 dom_document_create_processing_instruction( \
227 (dom_document *) (d), (t), (data), \
228 (struct dom_processing_instruction **) (r))
237#define dom_document_create_attribute(d, n, r) dom_document_create_attribute( \
238 (dom_document *) (d), (n), \
239 (struct dom_attr **) (r))
249#define dom_document_create_entity_reference(d, n, r) \
250 dom_document_create_entity_reference((dom_document *) (d), \
251 (n), (struct dom_entity_reference **) (r))
261#define dom_document_get_elements_by_tag_name(d, t, r) \
262 dom_document_get_elements_by_tag_name((dom_document *) (d), \
263 (t), (struct dom_nodelist **) (r))
271#define dom_document_import_node(d, n, deep, r) dom_document_import_node( \
272 (dom_document *) (d), (dom_node *) (n), (bool) deep, \
283#define dom_document_create_element_ns(d, n, q, r) \
284 dom_document_create_element_ns((dom_document *) (d), \
286 (struct dom_element **) (r))
296#define dom_document_create_attribute_ns(d, n, q, r) \
297 dom_document_create_attribute_ns((dom_document *) (d), \
298 (n), (q), (struct dom_attr **) (r))
306 namespace, localname, result);
308#define dom_document_get_elements_by_tag_name_ns(d, n, l, r) \
309 dom_document_get_elements_by_tag_name_ns((dom_document *) (d),\
310 (n), (l), (struct dom_nodelist **) (r))
319#define dom_document_get_element_by_id(d, i, r) \
320 dom_document_get_element_by_id((dom_document *) (d), \
321 (i), (struct dom_element **) (r))
329#define dom_document_get_input_encoding(d, r) dom_document_get_input_encoding(\
330 (dom_document *) (d), (r))
338#define dom_document_get_xml_encoding(d, r) dom_document_get_xml_encoding( \
339 (dom_document *) (d), (r))
347#define dom_document_get_xml_standalone(d, r) dom_document_get_xml_standalone(\
348 (dom_document *) (d), (bool *) (r))
356#define dom_document_set_xml_standalone(d, s) dom_document_set_xml_standalone(\
357 (dom_document *) (d), (bool) (s))
365#define dom_document_get_xml_version(d, r) dom_document_get_xml_version( \
366 (dom_document *) (d), (r))
374#define dom_document_set_xml_version(d, v) dom_document_set_xml_version( \
375 (dom_document *) (d), (v))
383#define dom_document_get_strict_error_checking(d, r) \
384 dom_document_get_strict_error_checking((dom_document *) (d), \
393#define dom_document_set_strict_error_checking(d, s) \
394 dom_document_set_strict_error_checking((dom_document *) (d), \
403#define dom_document_get_uri(d, r) dom_document_get_uri((dom_document *) (d), \
412#define dom_document_set_uri(d, u) dom_document_set_uri((dom_document *) (d), \
421#define dom_document_adopt_node(d, n, r) dom_document_adopt_node( \
422 (dom_document *) (d), (dom_node *) (n), (dom_node **) (r))
425 struct dom_document *doc,
struct dom_configuration **result)
430#define dom_document_get_dom_config(d, r) dom_document_get_dom_config( \
431 (dom_document *) (d), (struct dom_configuration **) (r))
438#define dom_document_normalize(d) dom_document_normalize((dom_document *) (d))
449#define dom_document_rename_node(d, n, ns, q, r) dom_document_rename_node( \
450 (dom_document *) (d), (ns), \
451 (q), (dom_node **) (r))
457 get_quirks_mode(doc, result);
459#define dom_document_get_quirks_mode(d, r) \
460 dom_document_get_quirks_mode((dom_document *) (d), (r))
466 set_quirks_mode(doc, quirks);
468#define dom_document_set_quirks_mode(d, q) \
469 dom_document_set_quirks_mode((dom_document *) (d), (q))
dom_exception
Definition exceptions.h:24
const char dom_implementation
Definition implementation.h:20
#define dom_document_get_doctype(d, r)
Definition document.h:139
#define dom_document_get_uri(d, r)
Definition document.h:403
#define dom_document_create_comment(d, data, r)
Definition document.h:201
#define dom_document_create_entity_reference(d, n, r)
Definition document.h:249
#define dom_document_get_strict_error_checking(d, r)
Definition document.h:383
#define dom_document_set_xml_standalone(d, s)
Definition document.h:356
#define dom_document_get_element_by_id(d, i, r)
Definition document.h:319
#define dom_document_set_xml_version(d, v)
Definition document.h:374
#define dom_document_create_attribute_ns(d, n, q, r)
Definition document.h:296
#define dom_document_create_text_node(d, data, r)
Definition document.h:190
#define dom_document_create_element(d, t, r)
Definition document.h:168
#define dom_document_get_document_element(d, r)
Definition document.h:157
#define dom_document_get_input_encoding(d, r)
Definition document.h:329
#define dom_document_set_uri(d, u)
Definition document.h:412
#define dom_document_create_document_fragment(d, r)
Definition document.h:179
#define dom_document_get_quirks_mode(d, r)
Definition document.h:459
#define dom_document_create_attribute(d, n, r)
Definition document.h:237
#define dom_document_create_cdata_section(d, data, r)
Definition document.h:212
#define dom_document_get_xml_encoding(d, r)
Definition document.h:338
#define dom_document_adopt_node(d, n, r)
Definition document.h:421
#define dom_document_import_node(d, n, deep, r)
Definition document.h:271
#define dom_document_create_element_ns(d, n, q, r)
Definition document.h:283
#define dom_document_get_xml_standalone(d, r)
Definition document.h:347
#define dom_document_get_elements_by_tag_name(d, t, r)
Definition document.h:261
#define dom_document_get_dom_config(d, r)
Definition document.h:430
struct dom_document_vtable dom_document_vtable
#define dom_document_set_quirks_mode(d, q)
Definition document.h:468
#define dom_document_set_strict_error_checking(d, s)
Definition document.h:393
#define dom_document_normalize(d)
Definition document.h:438
#define dom_document_get_implementation(d, r)
Definition document.h:148
#define dom_document_rename_node(d, n, ns, q, r)
Definition document.h:449
#define dom_document_create_processing_instruction(d, t, data, r)
Definition document.h:225
#define dom_document_get_xml_version(d, r)
Definition document.h:365
dom_document_quirks_mode
Definition document.h:40
@ DOM_DOCUMENT_QUIRKS_MODE_LIMITED
Definition document.h:42
@ DOM_DOCUMENT_QUIRKS_MODE_FULL
Definition document.h:43
@ DOM_DOCUMENT_QUIRKS_MODE_NONE
Definition document.h:41
#define dom_document_get_elements_by_tag_name_ns(d, n, l, r)
Definition document.h:308
Definition cdatasection.c:19
Definition characterdata.h:18
Definition doc_fragment.c:21
Definition document_type.c:23
dom_exception(* dom_document_get_xml_standalone)(struct dom_document *doc, bool *result)
Definition document.h:103
dom_exception(* dom_document_get_strict_error_checking)(struct dom_document *doc, bool *result)
Definition document.h:111
dom_exception(* dom_document_create_document_fragment)(struct dom_document *doc, struct dom_document_fragment **result)
Definition document.h:61
dom_exception(* dom_document_normalize)(struct dom_document *doc)
Definition document.h:123
dom_exception(* set_quirks_mode)(dom_document *doc, dom_document_quirks_mode quirks)
Definition document.h:129
dom_exception(* dom_document_set_strict_error_checking)(struct dom_document *doc, bool strict)
Definition document.h:113
dom_exception(* get_quirks_mode)(dom_document *doc, dom_document_quirks_mode *result)
Definition document.h:127
dom_exception(* dom_document_get_xml_encoding)(struct dom_document *doc, dom_string **result)
Definition document.h:101
dom_exception(* dom_document_import_node)(struct dom_document *doc, struct dom_node *node, bool deep, struct dom_node **result)
Definition document.h:83
dom_exception(* dom_document_set_xml_version)(struct dom_document *doc, dom_string *version)
Definition document.h:109
dom_exception(* dom_document_create_attribute)(struct dom_document *doc, dom_string *name, struct dom_attr **result)
Definition document.h:75
dom_exception(* dom_document_set_uri)(struct dom_document *doc, dom_string *uri)
Definition document.h:117
dom_exception(* dom_document_get_dom_config)(struct dom_document *doc, struct dom_configuration **result)
Definition document.h:121
dom_exception(* dom_document_create_text_node)(struct dom_document *doc, dom_string *data, struct dom_text **result)
Definition document.h:64
dom_exception(* dom_document_create_attribute_ns)(struct dom_document *doc, dom_string *namespace, dom_string *qname, struct dom_attr **result)
Definition document.h:89
dom_exception(* dom_document_create_element_ns)(struct dom_document *doc, dom_string *namespace, dom_string *qname, struct dom_element **result)
Definition document.h:86
dom_exception(* dom_document_get_input_encoding)(struct dom_document *doc, dom_string **result)
Definition document.h:99
dom_exception(* dom_document_get_implementation)(struct dom_document *doc, dom_implementation **result)
Definition document.h:53
dom_exception(* dom_document_set_xml_standalone)(struct dom_document *doc, bool standalone)
Definition document.h:105
dom_exception(* dom_document_get_document_element)(struct dom_document *doc, struct dom_element **result)
Definition document.h:56
dom_exception(* dom_document_get_doctype)(struct dom_document *doc, struct dom_document_type **result)
Definition document.h:51
dom_exception(* dom_document_create_entity_reference)(struct dom_document *doc, dom_string *name, struct dom_entity_reference **result)
Definition document.h:77
dom_exception(* dom_document_get_elements_by_tag_name)(struct dom_document *doc, dom_string *tagname, struct dom_nodelist **result)
Definition document.h:80
dom_exception(* dom_document_get_xml_version)(struct dom_document *doc, dom_string **result)
Definition document.h:107
dom_exception(* dom_document_create_element)(struct dom_document *doc, dom_string *tag_name, struct dom_element **result)
Definition document.h:58
dom_exception(* dom_document_get_element_by_id)(struct dom_document *doc, dom_string *id, struct dom_element **result)
Definition document.h:96
dom_exception(* dom_document_create_cdata_section)(struct dom_document *doc, dom_string *data, struct dom_cdata_section **result)
Definition document.h:68
dom_exception(* dom_document_adopt_node)(struct dom_document *doc, struct dom_node *node, struct dom_node **result)
Definition document.h:119
dom_exception(* dom_document_create_processing_instruction)(struct dom_document *doc, dom_string *target, dom_string *data, struct dom_processing_instruction **result)
Definition document.h:71
dom_exception(* dom_document_get_elements_by_tag_name_ns)(struct dom_document *doc, dom_string *namespace, dom_string *localname, struct dom_nodelist **result)
Definition document.h:92
dom_exception(* dom_document_rename_node)(struct dom_document *doc, struct dom_node *node, dom_string *namespace, dom_string *qname, struct dom_node **result)
Definition document.h:124
struct dom_node_vtable base
Definition document.h:49
dom_exception(* dom_document_get_uri)(struct dom_document *doc, dom_string **result)
Definition document.h:115
dom_exception(* dom_document_create_comment)(struct dom_document *doc, dom_string *data, struct dom_comment **result)
Definition document.h:66
Definition entity_ref.c:19
const void * vtable
Definition node.h:80