34 #include "../api_core.h"
35 #include "../System/sharedptr.h"
52 class CL_DomNode_Generic;
96 CDATA_SECTION_NODE = 4,
97 ENTITY_REFERENCE_NODE = 5,
99 PROCESSING_INSTRUCTION_NODE = 7,
102 DOCUMENT_TYPE_NODE = 10,
103 DOCUMENT_FRAGMENT_NODE = 11,
172 unsigned short get_node_type()
const;
213 bool is_null()
const;
216 bool is_element()
const;
219 bool is_attr()
const;
222 bool is_text()
const;
225 bool is_cdata_section()
const;
228 bool is_entity_reference()
const;
231 bool is_entity()
const;
234 bool is_processing_instruction()
const;
237 bool is_comment()
const;
240 bool is_document()
const;
243 bool is_document_type()
const;
246 bool is_document_fragment()
const;
249 bool is_notation()
const;
255 bool has_attributes()
const;
258 bool has_child_nodes()
const;
387 std::vector<CL_DomNode> select_nodes(
const CL_DomString &xpath_expression)
const;
396 int select_int(
const CL_DomString &xpath_expression)
const;
399 float select_float(
const CL_DomString &xpath_expression)
const;
402 bool select_bool(
const CL_DomString &xpath_expression)
const;
419 CL_DomNode(
const CL_SharedPtr<CL_DomNode_Generic> &impl);
421 CL_SharedPtr<CL_DomNode_Generic>
impl;