Class ProcessingInstruction

Superclasses :
xml::Node
Package :
xml

This class represents a processing instruction 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_content() get_target() get_type() initially() set_content(content) set_target(target) to_string()
Variables defined in this class
content target

Method detail

get_content()

Get the content, ie everything in the PI other than the target.
Source

get_target()

Return the target
Source

get_type()

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

initially()

Overrides initially() in xml::Node

set_content(content)

Set the content
Source

set_target(target)

Set the target
Source

to_string()

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

Variable detail

content


target