Class XmlDecl

Superclasses :
xml::Node
Package :
xml

This class represents the XML declaration in the 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)
Methods defined in this class
get_encoding() get_standalone() get_type() get_version() initially() set_encoding(encoding) set_standalone(standalone) set_version(version) to_string()
Variables defined in this class
encoding standalone version

Method detail

get_encoding()

Get the encoding
Source

get_standalone()

Get the standalone attribute
Source

get_type()

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

get_version()

Get the version
Source

initially()

Overrides initially() in xml::Node

set_encoding(encoding)

Set the encoding
Source

set_standalone(standalone)

Set the standalone attribute
Source

set_version(version)

Set the version
Source

to_string()

Overrides to_string(depth, seen) in lang::Object
Get a string representation of this object.
Source

Variable detail

encoding


standalone


version