Go to the source code of this file.
|
dom_exception | _dom_document_type_create (dom_string *qname, dom_string *public_id, dom_string *system_id, dom_document_type **doctype) |
|
void | _dom_document_type_destroy (dom_node_internal *doctypenode) |
|
dom_exception | _dom_document_type_initialise (dom_document_type *doctype, dom_string *qname, dom_string *public_id, dom_string *system_id) |
|
void | _dom_document_type_finalise (dom_document_type *doctype) |
|
dom_exception | _dom_document_type_get_name (dom_document_type *doc_type, dom_string **result) |
|
dom_exception | _dom_document_type_get_entities (dom_document_type *doc_type, struct dom_namednodemap **result) |
|
dom_exception | _dom_document_type_get_notations (dom_document_type *doc_type, struct dom_namednodemap **result) |
|
dom_exception | _dom_document_type_get_public_id (dom_document_type *doc_type, dom_string **result) |
|
dom_exception | _dom_document_type_get_system_id (dom_document_type *doc_type, dom_string **result) |
|
dom_exception | _dom_document_type_get_internal_subset (dom_document_type *doc_type, dom_string **result) |
|
dom_exception | _dom_document_type_get_text_content (dom_node_internal *node, dom_string **result) |
|
dom_exception | _dom_document_type_set_text_content (dom_node_internal *node, dom_string *content) |
|
void | _dom_dt_destroy (dom_node_internal *node) |
|
dom_exception | _dom_dt_copy (dom_node_internal *old, dom_node_internal **copy) |
|
◆ DOM_DOCUMENT_TYPE_VTABLE
#define DOM_DOCUMENT_TYPE_VTABLE |
Value:
dom_exception _dom_document_type_get_system_id(dom_document_type *doc_type, dom_string **result)
Definition document_type.c:270
dom_exception _dom_document_type_get_entities(dom_document_type *doc_type, struct dom_namednodemap **result)
Definition document_type.c:202
dom_exception _dom_document_type_get_public_id(dom_document_type *doc_type, dom_string **result)
Definition document_type.c:247
dom_exception _dom_document_type_get_name(dom_document_type *doc_type, dom_string **result)
Definition document_type.c:182
dom_exception _dom_document_type_get_notations(dom_document_type *doc_type, struct dom_namednodemap **result)
Definition document_type.c:226
dom_exception _dom_document_type_get_internal_subset(dom_document_type *doc_type, dom_string **result)
Definition document_type.c:296
◆ DOM_DT_PROTECT_VTABLE
#define DOM_DT_PROTECT_VTABLE |
Value:
void _dom_dt_destroy(dom_node_internal *node)
Definition document_type.c:330
dom_exception _dom_dt_copy(dom_node_internal *old, dom_node_internal **copy)
Definition document_type.c:336
◆ DOM_NODE_VTABLE_DOCUMENT_TYPE
#define DOM_NODE_VTABLE_DOCUMENT_TYPE |
◆ _dom_document_type_create()
Create a document type node
- Parameters
-
qname | The qualified name of the document type |
public_id | The external subset public identifier |
system_id | The external subset system identifier |
alloc | Memory (de)allocation function |
pw | Pointer to client-specific private data |
doctype | Pointer to location to receive result |
- Returns
- DOM_NO_ERR on success, DOM_NO_MEM_ERR on memory exhaustion.
The doctype will be referenced, so the client need not do so explicitly. The client must unref the doctype once it has finished with it.
◆ _dom_document_type_destroy()
Destroy a DocumentType node
- Parameters
-
doctype | The DocumentType node to destroy |
The contents of ::doctype will be destroyed and ::doctype will be freed.
◆ _dom_document_type_finalise()
◆ _dom_document_type_get_entities()
Retrieve a document type's entities
- Parameters
-
doc_type | Document type to retrieve entities from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned map will have its reference count increased. It is the responsibility of the caller to unref the map once it has finished with it.
We don't support this API now, so this function call should always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_document_type_get_internal_subset()
Retrieve a document type's internal subset
- Parameters
-
doc_type | Document type to retrieve internal subset from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned string will have its reference count increased. It is the responsibility of the caller to unref the string once it has finished with it.
We don't support this API now, so this function call should always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_document_type_get_name()
Retrieve a document type's name
- Parameters
-
doc_type | Document type to retrieve name from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned string will have its reference count increased. It is the responsibility of the caller to unref the string once it has finished with it.
We don't support this API now, so this function call should always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_document_type_get_notations()
Retrieve a document type's notations
- Parameters
-
doc_type | Document type to retrieve notations from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned map will have its reference count increased. It is the responsibility of the caller to unref the map once it has finished with it.
We don't support this API now, so this function call should always return DOM_NOT_SUPPORTED_ERR.
◆ _dom_document_type_get_public_id()
Retrieve a document type's public id
- Parameters
-
doc_type | Document type to retrieve public id from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned string will have its reference count increased. It is the responsibility of the caller to unref the string once it has finished with it.
◆ _dom_document_type_get_system_id()
Retrieve a document type's system id
- Parameters
-
doc_type | Document type to retrieve system id from |
result | Pointer to location to receive result |
- Returns
- DOM_NO_ERR.
The returned string will have its reference count increased. It is the responsibility of the caller to unref the string once it has finished with it.
◆ _dom_document_type_get_text_content()
◆ _dom_document_type_initialise()
◆ _dom_document_type_set_text_content()
◆ _dom_dt_copy()
◆ _dom_dt_destroy()