Class Comment

Superclasses :
xml::Node
Package :
xml

This class represents a comment.

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_comment() get_type() initially() set_comment(comment) to_string()
Variables defined in this class
comment

Method detail

get_comment()

Get the comment body.
Source

get_type()

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

initially()

Overrides initially() in xml::Node

set_comment(comment)

Set the comment body
Source

to_string()

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

Variable detail

comment