Skip to content

Commit 7fdb46b

Browse files
committed
XML.xml: add all methods (order basd on java reference doc)
1 parent 61c4928 commit 7fdb46b

1 file changed

Lines changed: 144 additions & 0 deletions

File tree

‎Reference/api_en/XML.xml‎

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,150 @@ Only files encoded as UTF-8 (or plain ASCII) are parsed properly; the encoding p
4444

4545
<type>class</type>
4646

47+
<method>
48+
<label>getParent()</label>
49+
<description>Gets a copy of the element's parent</description>
50+
<ref>XML_getParent</ref>
51+
</method>
52+
53+
<method>
54+
<label>setName()</label>
55+
<description>Sets the element's name</description>
56+
<ref>XML_setName</ref>
57+
</method>
58+
59+
<method>
60+
<label>hasChildren()</label>
61+
<description>Checks whether or not an element has any children</description>
62+
<ref>XML_hasChildren</ref>
63+
</method>
64+
65+
<method>
66+
<label>listChildren()</label>
67+
<description>Returns the names of all children as an array</description>
68+
<ref>XML_listChildren</ref>
69+
</method>
70+
71+
<method>
72+
<label>getChildren()</label>
73+
<description>Returns an array containing all child elements</description>
74+
<ref>XML_getChildren</ref>
75+
</method>
76+
77+
<method>
78+
<label>getChild()</label>
79+
<description>Returns the child element with the specified index value or path</description>
80+
<ref>XML_getChild</ref>
81+
</method>
82+
83+
<method>
84+
<label>addChild()</label>
85+
<description>Appends a new child to the element</description>
86+
<ref>XML_addChild</ref>
87+
</method>
88+
89+
<method>
90+
<label>removeChild()</label>
91+
<description>Removes the specified child</description>
92+
<ref>XML_removeChild</ref>
93+
</method>
94+
95+
<method>
96+
<label>getAttributeCount()</label>
97+
<description>Counts the specified element's number of attributes</description>
98+
<ref>XML_getAttributeCount</ref>
99+
</method>
100+
101+
<method>
102+
<label>listAttributes()</label>
103+
<description>Returns a list of names of all attributes as an array</description>
104+
<ref>XML_listAttributes</ref>
105+
</method>
106+
107+
<method>
108+
<label>hasAttribute()</label>
109+
<description>Checks whether or not an element has the specified attribute</description>
110+
<ref>XML_hasAttribute</ref>
111+
</method>
112+
113+
<method>
114+
<label>getString()</label>
115+
<description>Gets the content of an attribute as a String</description>
116+
<ref>XML_getString</ref>
117+
</method>
118+
119+
<method>
120+
<label>setString()</label>
121+
<description>Sets the content of an attribute as a String</description>
122+
<ref>XML_setString</ref>
123+
</method>
124+
125+
<method>
126+
<label>getInt()</label>
127+
<description>Gets the content of an attribute as an int</description>
128+
<ref>XML_getInt</ref>
129+
</method>
130+
131+
<method>
132+
<label>setInt()</label>
133+
<description>Sets the content of an attribute as an int</description>
134+
<ref>XML_setInt</ref>
135+
</method>
136+
137+
<method>
138+
<label>getFloat()</label>
139+
<description>Gets the content of an attribute as a float</description>
140+
<ref>XML_getFloat</ref>
141+
</method>
142+
143+
<method>
144+
<label>setFloat()</label>
145+
<description>Sets the content of an attribute as a float</description>
146+
<ref>XML_setFloat</ref>
147+
</method>
148+
149+
<method>
150+
<label>getContent()</label>
151+
<description>Gets the content of an element</description>
152+
<ref>XML_getContent</ref>
153+
</method>
154+
155+
<method>
156+
<label>getIntContent()</label>
157+
<description>Gets the content of an element as an int</description>
158+
<ref>XML_getIntContent</ref>
159+
</method>
160+
161+
<method>
162+
<label>getIntContent()</label>
163+
<description>Gets the content of an element as an int</description>
164+
<ref>XML_getIntContent</ref>
165+
</method>
166+
167+
<method>
168+
<label>getFloatContent()</label>
169+
<description>Gets the content of an element as a float</description>
170+
<ref>XML_getFloatContent</ref>
171+
</method>
172+
173+
<method>
174+
<label>setContent()</label>
175+
<description>Sets the content of an element</description>
176+
<ref>XML_setContent</ref>
177+
</method>
178+
179+
<method>
180+
<label>format()</label>
181+
<description>Formats XML data as a String</description>
182+
<ref>XML_format</ref>
183+
</method>
184+
185+
<method>
186+
<label>toString()</label>
187+
<description>Gets XML data as a String using default formatting</description>
188+
<ref>XML_toString</ref>
189+
</method>
190+
47191
<related>loadXML</related>
48192
<related>parseXML</related>
49193
<related>saveXML</related>

0 commit comments

Comments
 (0)