Class Document

Superclasses :
xml::Node
Subclasses :
xml::HtmlDocument
xml::XmlDocument
Package :
xml

The base class for a document, being either an XML or HTML document.

Source

Class summary
Methods inherited from xml::Node
add_child(obj, pos) add_string(s, pos) do_trim(s) generate_nodes() get_children() get_children_no_whitespace() get_parent() get_string_content() get_trimmed_children() get_trimmed_string_content() print_structure(f, indent, flags) remove_whitespace_children()
Variables inherited from xml::Node
children parent
Methods inherited from lang::Object
clone(seen) equals(other, seen) get_class() get_class_name() get_id() hash_code(depth, seen) is_instance(name) to_string(depth, seen)
Methods defined in this class
get_root_element() get_type() initially()

Method detail

get_root_element()

Source

get_type()

Overrides get_type() in xml::Node
Returns "document"
Source

initially()

Overrides initially() in xml::Node