Class XmlDocument

Superclasses :
xml::Document
Package :
xml

An XML document.

Source

Class summary
Methods inherited from xml::Document
get_root_element() get_type()
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() get_type() 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)
Methods defined in this class
get_attribute_lists() get_element_declarations() get_general_entities() get_id_attribute_ref() get_id_attribute_values() get_notation_declarations() get_parameter_entities() get_validity_errors() get_warnings() initially() is_standalone() show_attribute_lists() show_element_declarations() show_entities() show_id_attributes() show_notation_declarations() to_string()
Variables defined in this class
attribute_lists element_declarations general_entities id_attribute_refs id_attribute_values notation_declarations parameter_entities standalone validity_errors warnings

Method detail

get_attribute_lists()

Return the attribute_lists. A table mapping element names to AttList objects.
Source

get_element_declarations()

Return the element_declarations. This is a table mapping names to ContentSpec objects, ie the root of the parsed regular expression.
Source

get_general_entities()

Return the general_entities. This is a table mapping names to EntityDef objects.
Source

get_id_attribute_ref()

Return the id_attribute_refs. A set of all the IDREF(S) attribute values encountered during parsing
Source

get_id_attribute_values()

Return the id_attribute_values. A set of all the ID attribute values encountered during parsing
Source

get_notation_declarations()

Return the notation_declarations. A table mapping names to NotationDecl objects.
Source

get_parameter_entities()

Return the parameter_entities. This is a table mapping names to EntityDef objects.
Source

get_validity_errors()

Get the number of validity errors during parsing
Source

get_warnings()

Get the number of warnings during parsing
Source

initially()

Overrides initially() in xml::Node

is_standalone()

Fail iff this is a standalone document
Source

show_attribute_lists()

Debug function: Dump the attribute declarations
Source

show_element_declarations()

Debug function: Dump the element declarations
Source

show_entities()

Debug function: Dump the entity definitions.
Source

show_id_attributes()

Debug function: Show the ID attribute values
Source

show_notation_declarations()

Debug function: Dump the notation declarations
Source

to_string()

Overrides to_string(depth, seen) in lang::Object
Source

Variable detail

attribute_lists


element_declarations


general_entities


id_attribute_refs


id_attribute_values


notation_declarations


parameter_entities


standalone


validity_errors


warnings