13
13
<!-- = incidental or special damages arising in any way out of the use = -->
14
14
<!-- = of this software. = -->
15
15
<!-- ====================================================================== -->
16
<!-- = copyright (c)1999-2007 - amaury darsch = -->
16
<!-- = copyright (c)1999-2011 - amaury darsch = -->
17
17
<!-- ====================================================================== -->
19
19
<appendix module="xml" number="iv">
31
The <code>XsoInfo</code> class is a xml/xsm information node used
32
to carry simple information about a tag. The node is constructed
33
by name, with a set of atributes and eventually a text associated
34
with the node. The text information is generally the one
35
associated between the start tag and the end tag. In the case of
36
complex tree, such text data might be empty.
31
The <code>XsoInfo</code> class is a xml/xsm information node used
32
to carry simple information about a tag. The node is constructed
33
by name, with a set of attributes and eventually a text associated
34
with the node. The text information is generally the one
35
associated between the start tag and the end tag. In the case of
36
complex tree, such text data might be empty.
47
47
<!-- constructors -->
53
The <code>XsoInfo</code> constructor creates a default info
62
The <code>XsoInfo</code> constructor creates an info object by
63
name. The string argument is the node info name.
69
<args>String String</args>
71
The <code>XsoInfo</code> constructor creates an info object by
72
name and text. The first argument is the node info name. The
73
second argument is the node text information.
53
The <code>XsoInfo</code> constructor creates a default info
62
The <code>XsoInfo</code> constructor creates an info object by
63
name. The string argument is the node info name.
69
<args>String String</args>
71
The <code>XsoInfo</code> constructor creates an info object by
72
name and text. The first argument is the node info name. The
73
second argument is the node text information.
85
The <code>set-name</code> method sets the info object name.
90
<name>set-attribute</name>
92
<args>String Literal</args>
94
The <code>set-attribute</code> method sets an attribute by name
95
and value. The first argument is the attribute name. The second
96
argument is the attribute value.
101
<name>get-attribute-list</name>
105
The <code>get-attribute-list</code> method returns the node
106
attribute list in the form of a property list object.
111
<name>get-attribute-value</name>
115
The <code>get-attribute-value</code> method returns the attribute
116
value by name. The string argument is the attribute name.
121
<name>set-text</name>
125
The <code>set-text</code> method sets the info object text.
130
<name>get-text</name>
134
The <code>get-text</code> method returns the text information.
85
The <code>set-name</code> method sets the info object name.
90
<name>set-attribute</name>
92
<args>String Literal</args>
94
The <code>set-attribute</code> method sets an attribute by name
95
and value. The first argument is the attribute name. The second
96
argument is the attribute value.
101
<name>get-attribute-list</name>
105
The <code>get-attribute-list</code> method returns the node
106
attribute list in the form of a property list object.
111
<name>get-attribute-value</name>
115
The <code>get-attribute-value</code> method returns the attribute
116
value by name. The string argument is the attribute name.
121
<name>set-text</name>
125
The <code>set-text</code> method sets the info object text.
130
<name>get-text</name>
134
The <code>get-text</code> method returns the text information.