OSDN Git Service

39460d634e8bd98e7d8186f3ec65aca6044aac2e
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / glsl_newparam.java
1 /**\r
2  * glsl_newparam.java\r
3  *\r
4  * This file was generated by XMLSpy 2007sp2 Enterprise Edition.\r
5  *\r
6  * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
7  * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
8  *\r
9  * Refer to the XMLSpy Documentation for further details.\r
10  * http://www.altova.com/xmlspy\r
11  */\r
12 \r
13 \r
14 package com.jmex.model.collada.schema;\r
15 \r
16 import com.jmex.xml.types.SchemaNCName;\r
17 \r
18 public class glsl_newparam extends com.jmex.xml.xml.Node {\r
19 \r
20         public glsl_newparam(glsl_newparam node) {\r
21                 super(node);\r
22         }\r
23 \r
24         public glsl_newparam(org.w3c.dom.Node node) {\r
25                 super(node);\r
26         }\r
27 \r
28         public glsl_newparam(org.w3c.dom.Document doc) {\r
29                 super(doc);\r
30         }\r
31 \r
32         public glsl_newparam(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {\r
33                 super(doc, namespaceURI, prefix, name);\r
34         }\r
35         \r
36         public void adjustPrefix() {\r
37                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "sid" );\r
38                                 tmpNode != null;\r
39                                 tmpNode = getDomNextChild( Attribute, null, "sid", tmpNode )\r
40                         ) {\r
41                         internalAdjustPrefix(tmpNode, false);\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new fx_annotate_common(tmpNode).adjustPrefix();\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                 }\r
56                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier" );\r
57                                 tmpNode != null;\r
58                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", tmpNode )\r
59                         ) {\r
60                         internalAdjustPrefix(tmpNode, true);\r
61                 }\r
62                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );\r
63                                 tmpNode != null;\r
64                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", tmpNode )\r
65                         ) {\r
66                         internalAdjustPrefix(tmpNode, true);\r
67                 }\r
68                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );\r
69                                 tmpNode != null;\r
70                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", tmpNode )\r
71                         ) {\r
72                         internalAdjustPrefix(tmpNode, true);\r
73                 }\r
74                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3" );\r
75                                 tmpNode != null;\r
76                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", tmpNode )\r
77                         ) {\r
78                         internalAdjustPrefix(tmpNode, true);\r
79                 }\r
80                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4" );\r
81                                 tmpNode != null;\r
82                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", tmpNode )\r
83                         ) {\r
84                         internalAdjustPrefix(tmpNode, true);\r
85                 }\r
86                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float" );\r
87                                 tmpNode != null;\r
88                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float", tmpNode )\r
89                         ) {\r
90                         internalAdjustPrefix(tmpNode, true);\r
91                 }\r
92                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2" );\r
93                                 tmpNode != null;\r
94                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", tmpNode )\r
95                         ) {\r
96                         internalAdjustPrefix(tmpNode, true);\r
97                 }\r
98                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3" );\r
99                                 tmpNode != null;\r
100                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", tmpNode )\r
101                         ) {\r
102                         internalAdjustPrefix(tmpNode, true);\r
103                 }\r
104                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4" );\r
105                                 tmpNode != null;\r
106                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", tmpNode )\r
107                         ) {\r
108                         internalAdjustPrefix(tmpNode, true);\r
109                 }\r
110                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2" );\r
111                                 tmpNode != null;\r
112                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", tmpNode )\r
113                         ) {\r
114                         internalAdjustPrefix(tmpNode, true);\r
115                 }\r
116                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3" );\r
117                                 tmpNode != null;\r
118                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", tmpNode )\r
119                         ) {\r
120                         internalAdjustPrefix(tmpNode, true);\r
121                 }\r
122                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4" );\r
123                                 tmpNode != null;\r
124                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", tmpNode )\r
125                         ) {\r
126                         internalAdjustPrefix(tmpNode, true);\r
127                 }\r
128                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int" );\r
129                                 tmpNode != null;\r
130                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int", tmpNode )\r
131                         ) {\r
132                         internalAdjustPrefix(tmpNode, true);\r
133                 }\r
134                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2" );\r
135                                 tmpNode != null;\r
136                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", tmpNode )\r
137                         ) {\r
138                         internalAdjustPrefix(tmpNode, true);\r
139                 }\r
140                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3" );\r
141                                 tmpNode != null;\r
142                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", tmpNode )\r
143                         ) {\r
144                         internalAdjustPrefix(tmpNode, true);\r
145                 }\r
146                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4" );\r
147                                 tmpNode != null;\r
148                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", tmpNode )\r
149                         ) {\r
150                         internalAdjustPrefix(tmpNode, true);\r
151                 }\r
152                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "surface" );\r
153                                 tmpNode != null;\r
154                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "surface", tmpNode )\r
155                         ) {\r
156                         internalAdjustPrefix(tmpNode, true);\r
157                         new glsl_surface_type(tmpNode).adjustPrefix();\r
158                 }\r
159                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D" );\r
160                                 tmpNode != null;\r
161                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D", tmpNode )\r
162                         ) {\r
163                         internalAdjustPrefix(tmpNode, true);\r
164                         new gl_sampler1D(tmpNode).adjustPrefix();\r
165                 }\r
166                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D" );\r
167                                 tmpNode != null;\r
168                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D", tmpNode )\r
169                         ) {\r
170                         internalAdjustPrefix(tmpNode, true);\r
171                         new gl_sampler2D(tmpNode).adjustPrefix();\r
172                 }\r
173                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D" );\r
174                                 tmpNode != null;\r
175                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D", tmpNode )\r
176                         ) {\r
177                         internalAdjustPrefix(tmpNode, true);\r
178                         new gl_sampler3D(tmpNode).adjustPrefix();\r
179                 }\r
180                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE" );\r
181                                 tmpNode != null;\r
182                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", tmpNode )\r
183                         ) {\r
184                         internalAdjustPrefix(tmpNode, true);\r
185                         new gl_samplerCUBE(tmpNode).adjustPrefix();\r
186                 }\r
187                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT" );\r
188                                 tmpNode != null;\r
189                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", tmpNode )\r
190                         ) {\r
191                         internalAdjustPrefix(tmpNode, true);\r
192                         new gl_samplerRECT(tmpNode).adjustPrefix();\r
193                 }\r
194                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH" );\r
195                                 tmpNode != null;\r
196                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", tmpNode )\r
197                         ) {\r
198                         internalAdjustPrefix(tmpNode, true);\r
199                         new gl_samplerDEPTH(tmpNode).adjustPrefix();\r
200                 }\r
201                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "enum" );\r
202                                 tmpNode != null;\r
203                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", tmpNode )\r
204                         ) {\r
205                         internalAdjustPrefix(tmpNode, true);\r
206                 }\r
207                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "array" );\r
208                                 tmpNode != null;\r
209                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "array", tmpNode )\r
210                         ) {\r
211                         internalAdjustPrefix(tmpNode, true);\r
212                         new glsl_newarray_type(tmpNode).adjustPrefix();\r
213                 }\r
214         }\r
215         public void setXsiType() {\r
216                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
217                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "glsl_newparam");\r
218         }\r
219 \r
220         public static int getsidMinCount() {\r
221                 return 1;\r
222         }\r
223 \r
224         public static int getsidMaxCount() {\r
225                 return 1;\r
226         }\r
227 \r
228         public int getsidCount() {\r
229                 return getDomChildCount(Attribute, null, "sid");\r
230         }\r
231 \r
232         public boolean hassid() {\r
233                 return hasDomChild(Attribute, null, "sid");\r
234         }\r
235 \r
236         public glsl_identifier newsid() {\r
237                 return new glsl_identifier();\r
238         }\r
239 \r
240         public glsl_identifier getsidAt(int index) throws Exception {\r
241                 return new glsl_identifier(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));\r
242         }\r
243 \r
244         public org.w3c.dom.Node getStartingsidCursor() throws Exception {\r
245                 return getDomFirstChild(Attribute, null, "sid" );\r
246         }\r
247 \r
248         public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {\r
249                 return getDomNextChild( Attribute, null, "sid", curNode );\r
250         }\r
251 \r
252         public glsl_identifier getsidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
253                 if( curNode == null )\r
254                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
255                 else\r
256                         return new glsl_identifier(getDomNodeValue(curNode));\r
257         }\r
258 \r
259         public glsl_identifier getsid() throws Exception \r
260  {\r
261                 return getsidAt(0);\r
262         }\r
263 \r
264         public void removesidAt(int index) {\r
265                 removeDomChildAt(Attribute, null, "sid", index);\r
266         }\r
267 \r
268         public void removesid() {\r
269                 removesidAt(0);\r
270         }\r
271 \r
272         public org.w3c.dom.Node addsid(glsl_identifier value) {\r
273                 if( value.isNull() )\r
274                         return null;\r
275 \r
276                 return  appendDomChild(Attribute, null, "sid", value.toString());\r
277         }\r
278 \r
279         public org.w3c.dom.Node addsid(String value) throws Exception {\r
280                 return addsid(new glsl_identifier(value));\r
281         }\r
282 \r
283         public void insertsidAt(glsl_identifier value, int index) {\r
284                 insertDomChildAt(Attribute, null, "sid", index, value.toString());\r
285         }\r
286 \r
287         public void insertsidAt(String value, int index) throws Exception {\r
288                 insertsidAt(new glsl_identifier(value), index);\r
289         }\r
290 \r
291         public void replacesidAt(glsl_identifier value, int index) {\r
292                 replaceDomChildAt(Attribute, null, "sid", index, value.toString());\r
293         }\r
294 \r
295         public void replacesidAt(String value, int index) throws Exception {\r
296                 replacesidAt(new glsl_identifier(value), index);\r
297         }\r
298 \r
299         public static int getannotateMinCount() {\r
300                 return 0;\r
301         }\r
302 \r
303         public static int getannotateMaxCount() {\r
304                 return Integer.MAX_VALUE;\r
305         }\r
306 \r
307         public int getannotateCount() {\r
308                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate");\r
309         }\r
310 \r
311         public boolean hasannotate() {\r
312                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate");\r
313         }\r
314 \r
315         public fx_annotate_common newannotate() {\r
316                 return new fx_annotate_common(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "annotate"));\r
317         }\r
318 \r
319         public fx_annotate_common getannotateAt(int index) throws Exception {\r
320                 return new fx_annotate_common(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", index));\r
321         }\r
322 \r
323         public org.w3c.dom.Node getStartingannotateCursor() throws Exception {\r
324                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate" );\r
325         }\r
326 \r
327         public org.w3c.dom.Node getAdvancedannotateCursor( org.w3c.dom.Node curNode ) throws Exception {\r
328                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", curNode );\r
329         }\r
330 \r
331         public fx_annotate_common getannotateValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
332                 if( curNode == null )\r
333                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
334                 else\r
335                         return new fx_annotate_common(curNode);\r
336         }\r
337 \r
338         public fx_annotate_common getannotate() throws Exception \r
339  {\r
340                 return getannotateAt(0);\r
341         }\r
342 \r
343         public void removeannotateAt(int index) {\r
344                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", index);\r
345         }\r
346 \r
347         public void removeannotate() {\r
348                 while (hasannotate())\r
349                         removeannotateAt(0);\r
350         }\r
351 \r
352         public org.w3c.dom.Node addannotate(fx_annotate_common value) {\r
353                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "annotate", value);\r
354         }\r
355 \r
356         public void insertannotateAt(fx_annotate_common value, int index) {\r
357                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);\r
358         }\r
359 \r
360         public void replaceannotateAt(fx_annotate_common value, int index) {\r
361                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);\r
362         }\r
363 \r
364         public static int getsemanticMinCount() {\r
365                 return 0;\r
366         }\r
367 \r
368         public static int getsemanticMaxCount() {\r
369                 return 1;\r
370         }\r
371 \r
372         public int getsemanticCount() {\r
373                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic");\r
374         }\r
375 \r
376         public boolean hassemantic() {\r
377                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic");\r
378         }\r
379 \r
380         public SchemaNCName newsemantic() {\r
381                 return new SchemaNCName();\r
382         }\r
383 \r
384         public SchemaNCName getsemanticAt(int index) throws Exception {\r
385                 return new SchemaNCName(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index)));\r
386         }\r
387 \r
388         public org.w3c.dom.Node getStartingsemanticCursor() throws Exception {\r
389                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic" );\r
390         }\r
391 \r
392         public org.w3c.dom.Node getAdvancedsemanticCursor( org.w3c.dom.Node curNode ) throws Exception {\r
393                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", curNode );\r
394         }\r
395 \r
396         public SchemaNCName getsemanticValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
397                 if( curNode == null )\r
398                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
399                 else\r
400                         return new SchemaNCName(getDomNodeValue(curNode));\r
401         }\r
402 \r
403         public SchemaNCName getsemantic() throws Exception \r
404  {\r
405                 return getsemanticAt(0);\r
406         }\r
407 \r
408         public void removesemanticAt(int index) {\r
409                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index);\r
410         }\r
411 \r
412         public void removesemantic() {\r
413                 removesemanticAt(0);\r
414         }\r
415 \r
416         public org.w3c.dom.Node addsemantic(SchemaNCName value) {\r
417                 if( value.isNull() )\r
418                         return null;\r
419 \r
420                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", value.toString());\r
421         }\r
422 \r
423         public org.w3c.dom.Node addsemantic(String value) throws Exception {\r
424                 return addsemantic(new SchemaNCName(value));\r
425         }\r
426 \r
427         public void insertsemanticAt(SchemaNCName value, int index) {\r
428                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index, value.toString());\r
429         }\r
430 \r
431         public void insertsemanticAt(String value, int index) throws Exception {\r
432                 insertsemanticAt(new SchemaNCName(value), index);\r
433         }\r
434 \r
435         public void replacesemanticAt(SchemaNCName value, int index) {\r
436                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index, value.toString());\r
437         }\r
438 \r
439         public void replacesemanticAt(String value, int index) throws Exception {\r
440                 replacesemanticAt(new SchemaNCName(value), index);\r
441         }\r
442 \r
443         public static int getmodifierMinCount() {\r
444                 return 0;\r
445         }\r
446 \r
447         public static int getmodifierMaxCount() {\r
448                 return 1;\r
449         }\r
450 \r
451         public int getmodifierCount() {\r
452                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier");\r
453         }\r
454 \r
455         public boolean hasmodifier() {\r
456                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier");\r
457         }\r
458 \r
459         public fx_modifier_enum_common newmodifier() {\r
460                 return new fx_modifier_enum_common();\r
461         }\r
462 \r
463         public fx_modifier_enum_common getmodifierAt(int index) throws Exception {\r
464                 return new fx_modifier_enum_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index)));\r
465         }\r
466 \r
467         public org.w3c.dom.Node getStartingmodifierCursor() throws Exception {\r
468                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier" );\r
469         }\r
470 \r
471         public org.w3c.dom.Node getAdvancedmodifierCursor( org.w3c.dom.Node curNode ) throws Exception {\r
472                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", curNode );\r
473         }\r
474 \r
475         public fx_modifier_enum_common getmodifierValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
476                 if( curNode == null )\r
477                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
478                 else\r
479                         return new fx_modifier_enum_common(getDomNodeValue(curNode));\r
480         }\r
481 \r
482         public fx_modifier_enum_common getmodifier() throws Exception \r
483  {\r
484                 return getmodifierAt(0);\r
485         }\r
486 \r
487         public void removemodifierAt(int index) {\r
488                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index);\r
489         }\r
490 \r
491         public void removemodifier() {\r
492                 removemodifierAt(0);\r
493         }\r
494 \r
495         public org.w3c.dom.Node addmodifier(fx_modifier_enum_common value) {\r
496                 if( value.isNull() )\r
497                         return null;\r
498 \r
499                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", value.toString());\r
500         }\r
501 \r
502         public org.w3c.dom.Node addmodifier(String value) throws Exception {\r
503                 return addmodifier(new fx_modifier_enum_common(value));\r
504         }\r
505 \r
506         public void insertmodifierAt(fx_modifier_enum_common value, int index) {\r
507                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index, value.toString());\r
508         }\r
509 \r
510         public void insertmodifierAt(String value, int index) throws Exception {\r
511                 insertmodifierAt(new fx_modifier_enum_common(value), index);\r
512         }\r
513 \r
514         public void replacemodifierAt(fx_modifier_enum_common value, int index) {\r
515                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index, value.toString());\r
516         }\r
517 \r
518         public void replacemodifierAt(String value, int index) throws Exception {\r
519                 replacemodifierAt(new fx_modifier_enum_common(value), index);\r
520         }\r
521 \r
522         public static int getboolMinCount() {\r
523                 return 1;\r
524         }\r
525 \r
526         public static int getboolMaxCount() {\r
527                 return 1;\r
528         }\r
529 \r
530         public int getboolCount() {\r
531                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");\r
532         }\r
533 \r
534         public boolean hasbool() {\r
535                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");\r
536         }\r
537 \r
538         public glsl_bool newbool() {\r
539                 return new glsl_bool();\r
540         }\r
541 \r
542         public glsl_bool getboolAt(int index) throws Exception {\r
543                 return new glsl_bool(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index)));\r
544         }\r
545 \r
546         public org.w3c.dom.Node getStartingboolCursor() throws Exception {\r
547                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );\r
548         }\r
549 \r
550         public org.w3c.dom.Node getAdvancedboolCursor( org.w3c.dom.Node curNode ) throws Exception {\r
551                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", curNode );\r
552         }\r
553 \r
554         public glsl_bool getboolValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
555                 if( curNode == null )\r
556                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
557                 else\r
558                         return new glsl_bool(getDomNodeValue(curNode));\r
559         }\r
560 \r
561         public glsl_bool getbool() throws Exception \r
562  {\r
563                 return getboolAt(0);\r
564         }\r
565 \r
566         public void removeboolAt(int index) {\r
567                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index);\r
568         }\r
569 \r
570         public void removebool() {\r
571                 removeboolAt(0);\r
572         }\r
573 \r
574         public org.w3c.dom.Node addbool(glsl_bool value) {\r
575                 if( value.isNull() )\r
576                         return null;\r
577 \r
578                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", value.toString());\r
579         }\r
580 \r
581         public org.w3c.dom.Node addbool(String value) throws Exception {\r
582                 return addbool(new glsl_bool(value));\r
583         }\r
584 \r
585         public void insertboolAt(glsl_bool value, int index) {\r
586                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());\r
587         }\r
588 \r
589         public void insertboolAt(String value, int index) throws Exception {\r
590                 insertboolAt(new glsl_bool(value), index);\r
591         }\r
592 \r
593         public void replaceboolAt(glsl_bool value, int index) {\r
594                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());\r
595         }\r
596 \r
597         public void replaceboolAt(String value, int index) throws Exception {\r
598                 replaceboolAt(new glsl_bool(value), index);\r
599         }\r
600 \r
601         public static int getbool2MinCount() {\r
602                 return 1;\r
603         }\r
604 \r
605         public static int getbool2MaxCount() {\r
606                 return 1;\r
607         }\r
608 \r
609         public int getbool2Count() {\r
610                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");\r
611         }\r
612 \r
613         public boolean hasbool2() {\r
614                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");\r
615         }\r
616 \r
617         public glsl_bool2 newbool2() {\r
618                 return new glsl_bool2();\r
619         }\r
620 \r
621         public glsl_bool2 getbool2At(int index) throws Exception {\r
622                 return new glsl_bool2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index)));\r
623         }\r
624 \r
625         public org.w3c.dom.Node getStartingbool2Cursor() throws Exception {\r
626                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );\r
627         }\r
628 \r
629         public org.w3c.dom.Node getAdvancedbool2Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
630                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", curNode );\r
631         }\r
632 \r
633         public glsl_bool2 getbool2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
634                 if( curNode == null )\r
635                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
636                 else\r
637                         return new glsl_bool2(getDomNodeValue(curNode));\r
638         }\r
639 \r
640         public glsl_bool2 getbool2() throws Exception \r
641  {\r
642                 return getbool2At(0);\r
643         }\r
644 \r
645         public void removebool2At(int index) {\r
646                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index);\r
647         }\r
648 \r
649         public void removebool2() {\r
650                 removebool2At(0);\r
651         }\r
652 \r
653         public org.w3c.dom.Node addbool2(glsl_bool2 value) {\r
654                 if( value.isNull() )\r
655                         return null;\r
656 \r
657                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", value.toString());\r
658         }\r
659 \r
660         public org.w3c.dom.Node addbool2(String value) throws Exception {\r
661                 return addbool2(new glsl_bool2(value));\r
662         }\r
663 \r
664         public void insertbool2At(glsl_bool2 value, int index) {\r
665                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());\r
666         }\r
667 \r
668         public void insertbool2At(String value, int index) throws Exception {\r
669                 insertbool2At(new glsl_bool2(value), index);\r
670         }\r
671 \r
672         public void replacebool2At(glsl_bool2 value, int index) {\r
673                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());\r
674         }\r
675 \r
676         public void replacebool2At(String value, int index) throws Exception {\r
677                 replacebool2At(new glsl_bool2(value), index);\r
678         }\r
679 \r
680         public static int getbool3MinCount() {\r
681                 return 1;\r
682         }\r
683 \r
684         public static int getbool3MaxCount() {\r
685                 return 1;\r
686         }\r
687 \r
688         public int getbool3Count() {\r
689                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3");\r
690         }\r
691 \r
692         public boolean hasbool3() {\r
693                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3");\r
694         }\r
695 \r
696         public glsl_bool3 newbool3() {\r
697                 return new glsl_bool3();\r
698         }\r
699 \r
700         public glsl_bool3 getbool3At(int index) throws Exception {\r
701                 return new glsl_bool3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index)));\r
702         }\r
703 \r
704         public org.w3c.dom.Node getStartingbool3Cursor() throws Exception {\r
705                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3" );\r
706         }\r
707 \r
708         public org.w3c.dom.Node getAdvancedbool3Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
709                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", curNode );\r
710         }\r
711 \r
712         public glsl_bool3 getbool3ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
713                 if( curNode == null )\r
714                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
715                 else\r
716                         return new glsl_bool3(getDomNodeValue(curNode));\r
717         }\r
718 \r
719         public glsl_bool3 getbool3() throws Exception \r
720  {\r
721                 return getbool3At(0);\r
722         }\r
723 \r
724         public void removebool3At(int index) {\r
725                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index);\r
726         }\r
727 \r
728         public void removebool3() {\r
729                 removebool3At(0);\r
730         }\r
731 \r
732         public org.w3c.dom.Node addbool3(glsl_bool3 value) {\r
733                 if( value.isNull() )\r
734                         return null;\r
735 \r
736                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", value.toString());\r
737         }\r
738 \r
739         public org.w3c.dom.Node addbool3(String value) throws Exception {\r
740                 return addbool3(new glsl_bool3(value));\r
741         }\r
742 \r
743         public void insertbool3At(glsl_bool3 value, int index) {\r
744                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index, value.toString());\r
745         }\r
746 \r
747         public void insertbool3At(String value, int index) throws Exception {\r
748                 insertbool3At(new glsl_bool3(value), index);\r
749         }\r
750 \r
751         public void replacebool3At(glsl_bool3 value, int index) {\r
752                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", index, value.toString());\r
753         }\r
754 \r
755         public void replacebool3At(String value, int index) throws Exception {\r
756                 replacebool3At(new glsl_bool3(value), index);\r
757         }\r
758 \r
759         public static int getbool4MinCount() {\r
760                 return 1;\r
761         }\r
762 \r
763         public static int getbool4MaxCount() {\r
764                 return 1;\r
765         }\r
766 \r
767         public int getbool4Count() {\r
768                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4");\r
769         }\r
770 \r
771         public boolean hasbool4() {\r
772                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4");\r
773         }\r
774 \r
775         public glsl_bool4 newbool4() {\r
776                 return new glsl_bool4();\r
777         }\r
778 \r
779         public glsl_bool4 getbool4At(int index) throws Exception {\r
780                 return new glsl_bool4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index)));\r
781         }\r
782 \r
783         public org.w3c.dom.Node getStartingbool4Cursor() throws Exception {\r
784                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4" );\r
785         }\r
786 \r
787         public org.w3c.dom.Node getAdvancedbool4Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
788                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", curNode );\r
789         }\r
790 \r
791         public glsl_bool4 getbool4ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
792                 if( curNode == null )\r
793                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
794                 else\r
795                         return new glsl_bool4(getDomNodeValue(curNode));\r
796         }\r
797 \r
798         public glsl_bool4 getbool4() throws Exception \r
799  {\r
800                 return getbool4At(0);\r
801         }\r
802 \r
803         public void removebool4At(int index) {\r
804                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index);\r
805         }\r
806 \r
807         public void removebool4() {\r
808                 removebool4At(0);\r
809         }\r
810 \r
811         public org.w3c.dom.Node addbool4(glsl_bool4 value) {\r
812                 if( value.isNull() )\r
813                         return null;\r
814 \r
815                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", value.toString());\r
816         }\r
817 \r
818         public org.w3c.dom.Node addbool4(String value) throws Exception {\r
819                 return addbool4(new glsl_bool4(value));\r
820         }\r
821 \r
822         public void insertbool4At(glsl_bool4 value, int index) {\r
823                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index, value.toString());\r
824         }\r
825 \r
826         public void insertbool4At(String value, int index) throws Exception {\r
827                 insertbool4At(new glsl_bool4(value), index);\r
828         }\r
829 \r
830         public void replacebool4At(glsl_bool4 value, int index) {\r
831                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", index, value.toString());\r
832         }\r
833 \r
834         public void replacebool4At(String value, int index) throws Exception {\r
835                 replacebool4At(new glsl_bool4(value), index);\r
836         }\r
837 \r
838         public static int getfloat2MinCount() {\r
839                 return 1;\r
840         }\r
841 \r
842         public static int getfloat2MaxCount() {\r
843                 return 1;\r
844         }\r
845 \r
846         public int getfloat2Count() {\r
847                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float");\r
848         }\r
849 \r
850         public boolean hasfloat2() {\r
851                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float");\r
852         }\r
853 \r
854         public glsl_float newfloat2() {\r
855                 return new glsl_float();\r
856         }\r
857 \r
858         public glsl_float getfloat2At(int index) throws Exception {\r
859                 return new glsl_float(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", index)));\r
860         }\r
861 \r
862         public org.w3c.dom.Node getStartingfloat2Cursor() throws Exception {\r
863                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float" );\r
864         }\r
865 \r
866         public org.w3c.dom.Node getAdvancedfloat2Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
867                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float", curNode );\r
868         }\r
869 \r
870         public glsl_float getfloat2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
871                 if( curNode == null )\r
872                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
873                 else\r
874                         return new glsl_float(getDomNodeValue(curNode));\r
875         }\r
876 \r
877         public glsl_float getfloat2() throws Exception \r
878  {\r
879                 return getfloat2At(0);\r
880         }\r
881 \r
882         public void removefloat2At(int index) {\r
883                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", index);\r
884         }\r
885 \r
886         public void removefloat2() {\r
887                 removefloat2At(0);\r
888         }\r
889 \r
890         public org.w3c.dom.Node addfloat2(glsl_float value) {\r
891                 if( value.isNull() )\r
892                         return null;\r
893 \r
894                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", value.toString());\r
895         }\r
896 \r
897         public org.w3c.dom.Node addfloat2(String value) throws Exception {\r
898                 return addfloat2(new glsl_float(value));\r
899         }\r
900 \r
901         public void insertfloat2At(glsl_float value, int index) {\r
902                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", index, value.toString());\r
903         }\r
904 \r
905         public void insertfloat2At(String value, int index) throws Exception {\r
906                 insertfloat2At(new glsl_float(value), index);\r
907         }\r
908 \r
909         public void replacefloat2At(glsl_float value, int index) {\r
910                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float", index, value.toString());\r
911         }\r
912 \r
913         public void replacefloat2At(String value, int index) throws Exception {\r
914                 replacefloat2At(new glsl_float(value), index);\r
915         }\r
916 \r
917         public static int getfloat22MinCount() {\r
918                 return 1;\r
919         }\r
920 \r
921         public static int getfloat22MaxCount() {\r
922                 return 1;\r
923         }\r
924 \r
925         public int getfloat22Count() {\r
926                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2");\r
927         }\r
928 \r
929         public boolean hasfloat22() {\r
930                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2");\r
931         }\r
932 \r
933         public glsl_float2 newfloat22() {\r
934                 return new glsl_float2();\r
935         }\r
936 \r
937         public glsl_float2 getfloat22At(int index) throws Exception {\r
938                 return new glsl_float2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", index)));\r
939         }\r
940 \r
941         public org.w3c.dom.Node getStartingfloat22Cursor() throws Exception {\r
942                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2" );\r
943         }\r
944 \r
945         public org.w3c.dom.Node getAdvancedfloat22Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
946                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", curNode );\r
947         }\r
948 \r
949         public glsl_float2 getfloat22ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
950                 if( curNode == null )\r
951                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
952                 else\r
953                         return new glsl_float2(getDomNodeValue(curNode));\r
954         }\r
955 \r
956         public glsl_float2 getfloat22() throws Exception \r
957  {\r
958                 return getfloat22At(0);\r
959         }\r
960 \r
961         public void removefloat22At(int index) {\r
962                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", index);\r
963         }\r
964 \r
965         public void removefloat22() {\r
966                 removefloat22At(0);\r
967         }\r
968 \r
969         public org.w3c.dom.Node addfloat22(glsl_float2 value) {\r
970                 if( value.isNull() )\r
971                         return null;\r
972 \r
973                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", value.toString());\r
974         }\r
975 \r
976         public org.w3c.dom.Node addfloat22(String value) throws Exception {\r
977                 return addfloat22(new glsl_float2(value));\r
978         }\r
979 \r
980         public void insertfloat22At(glsl_float2 value, int index) {\r
981                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", index, value.toString());\r
982         }\r
983 \r
984         public void insertfloat22At(String value, int index) throws Exception {\r
985                 insertfloat22At(new glsl_float2(value), index);\r
986         }\r
987 \r
988         public void replacefloat22At(glsl_float2 value, int index) {\r
989                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", index, value.toString());\r
990         }\r
991 \r
992         public void replacefloat22At(String value, int index) throws Exception {\r
993                 replacefloat22At(new glsl_float2(value), index);\r
994         }\r
995 \r
996         public static int getfloat3MinCount() {\r
997                 return 1;\r
998         }\r
999 \r
1000         public static int getfloat3MaxCount() {\r
1001                 return 1;\r
1002         }\r
1003 \r
1004         public int getfloat3Count() {\r
1005                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3");\r
1006         }\r
1007 \r
1008         public boolean hasfloat3() {\r
1009                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3");\r
1010         }\r
1011 \r
1012         public glsl_float3 newfloat3() {\r
1013                 return new glsl_float3();\r
1014         }\r
1015 \r
1016         public glsl_float3 getfloat3At(int index) throws Exception {\r
1017                 return new glsl_float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", index)));\r
1018         }\r
1019 \r
1020         public org.w3c.dom.Node getStartingfloat3Cursor() throws Exception {\r
1021                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3" );\r
1022         }\r
1023 \r
1024         public org.w3c.dom.Node getAdvancedfloat3Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1025                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", curNode );\r
1026         }\r
1027 \r
1028         public glsl_float3 getfloat3ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1029                 if( curNode == null )\r
1030                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1031                 else\r
1032                         return new glsl_float3(getDomNodeValue(curNode));\r
1033         }\r
1034 \r
1035         public glsl_float3 getfloat3() throws Exception \r
1036  {\r
1037                 return getfloat3At(0);\r
1038         }\r
1039 \r
1040         public void removefloat3At(int index) {\r
1041                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", index);\r
1042         }\r
1043 \r
1044         public void removefloat3() {\r
1045                 removefloat3At(0);\r
1046         }\r
1047 \r
1048         public org.w3c.dom.Node addfloat3(glsl_float3 value) {\r
1049                 if( value.isNull() )\r
1050                         return null;\r
1051 \r
1052                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", value.toString());\r
1053         }\r
1054 \r
1055         public org.w3c.dom.Node addfloat3(String value) throws Exception {\r
1056                 return addfloat3(new glsl_float3(value));\r
1057         }\r
1058 \r
1059         public void insertfloat3At(glsl_float3 value, int index) {\r
1060                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", index, value.toString());\r
1061         }\r
1062 \r
1063         public void insertfloat3At(String value, int index) throws Exception {\r
1064                 insertfloat3At(new glsl_float3(value), index);\r
1065         }\r
1066 \r
1067         public void replacefloat3At(glsl_float3 value, int index) {\r
1068                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", index, value.toString());\r
1069         }\r
1070 \r
1071         public void replacefloat3At(String value, int index) throws Exception {\r
1072                 replacefloat3At(new glsl_float3(value), index);\r
1073         }\r
1074 \r
1075         public static int getfloat4MinCount() {\r
1076                 return 1;\r
1077         }\r
1078 \r
1079         public static int getfloat4MaxCount() {\r
1080                 return 1;\r
1081         }\r
1082 \r
1083         public int getfloat4Count() {\r
1084                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4");\r
1085         }\r
1086 \r
1087         public boolean hasfloat4() {\r
1088                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4");\r
1089         }\r
1090 \r
1091         public glsl_float4 newfloat4() {\r
1092                 return new glsl_float4();\r
1093         }\r
1094 \r
1095         public glsl_float4 getfloat4At(int index) throws Exception {\r
1096                 return new glsl_float4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", index)));\r
1097         }\r
1098 \r
1099         public org.w3c.dom.Node getStartingfloat4Cursor() throws Exception {\r
1100                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4" );\r
1101         }\r
1102 \r
1103         public org.w3c.dom.Node getAdvancedfloat4Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1104                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", curNode );\r
1105         }\r
1106 \r
1107         public glsl_float4 getfloat4ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1108                 if( curNode == null )\r
1109                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1110                 else\r
1111                         return new glsl_float4(getDomNodeValue(curNode));\r
1112         }\r
1113 \r
1114         public glsl_float4 getfloat4() throws Exception \r
1115  {\r
1116                 return getfloat4At(0);\r
1117         }\r
1118 \r
1119         public void removefloat4At(int index) {\r
1120                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", index);\r
1121         }\r
1122 \r
1123         public void removefloat4() {\r
1124                 removefloat4At(0);\r
1125         }\r
1126 \r
1127         public org.w3c.dom.Node addfloat4(glsl_float4 value) {\r
1128                 if( value.isNull() )\r
1129                         return null;\r
1130 \r
1131                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", value.toString());\r
1132         }\r
1133 \r
1134         public org.w3c.dom.Node addfloat4(String value) throws Exception {\r
1135                 return addfloat4(new glsl_float4(value));\r
1136         }\r
1137 \r
1138         public void insertfloat4At(glsl_float4 value, int index) {\r
1139                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", index, value.toString());\r
1140         }\r
1141 \r
1142         public void insertfloat4At(String value, int index) throws Exception {\r
1143                 insertfloat4At(new glsl_float4(value), index);\r
1144         }\r
1145 \r
1146         public void replacefloat4At(glsl_float4 value, int index) {\r
1147                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", index, value.toString());\r
1148         }\r
1149 \r
1150         public void replacefloat4At(String value, int index) throws Exception {\r
1151                 replacefloat4At(new glsl_float4(value), index);\r
1152         }\r
1153 \r
1154         public static int getfloat2x2MinCount() {\r
1155                 return 1;\r
1156         }\r
1157 \r
1158         public static int getfloat2x2MaxCount() {\r
1159                 return 1;\r
1160         }\r
1161 \r
1162         public int getfloat2x2Count() {\r
1163                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2");\r
1164         }\r
1165 \r
1166         public boolean hasfloat2x2() {\r
1167                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2");\r
1168         }\r
1169 \r
1170         public glsl_float2x2 newfloat2x2() {\r
1171                 return new glsl_float2x2();\r
1172         }\r
1173 \r
1174         public glsl_float2x2 getfloat2x2At(int index) throws Exception {\r
1175                 return new glsl_float2x2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", index)));\r
1176         }\r
1177 \r
1178         public org.w3c.dom.Node getStartingfloat2x2Cursor() throws Exception {\r
1179                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2" );\r
1180         }\r
1181 \r
1182         public org.w3c.dom.Node getAdvancedfloat2x2Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1183                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", curNode );\r
1184         }\r
1185 \r
1186         public glsl_float2x2 getfloat2x2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1187                 if( curNode == null )\r
1188                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1189                 else\r
1190                         return new glsl_float2x2(getDomNodeValue(curNode));\r
1191         }\r
1192 \r
1193         public glsl_float2x2 getfloat2x2() throws Exception \r
1194  {\r
1195                 return getfloat2x2At(0);\r
1196         }\r
1197 \r
1198         public void removefloat2x2At(int index) {\r
1199                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", index);\r
1200         }\r
1201 \r
1202         public void removefloat2x2() {\r
1203                 removefloat2x2At(0);\r
1204         }\r
1205 \r
1206         public org.w3c.dom.Node addfloat2x2(glsl_float2x2 value) {\r
1207                 if( value.isNull() )\r
1208                         return null;\r
1209 \r
1210                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", value.toString());\r
1211         }\r
1212 \r
1213         public org.w3c.dom.Node addfloat2x2(String value) throws Exception {\r
1214                 return addfloat2x2(new glsl_float2x2(value));\r
1215         }\r
1216 \r
1217         public void insertfloat2x2At(glsl_float2x2 value, int index) {\r
1218                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", index, value.toString());\r
1219         }\r
1220 \r
1221         public void insertfloat2x2At(String value, int index) throws Exception {\r
1222                 insertfloat2x2At(new glsl_float2x2(value), index);\r
1223         }\r
1224 \r
1225         public void replacefloat2x2At(glsl_float2x2 value, int index) {\r
1226                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", index, value.toString());\r
1227         }\r
1228 \r
1229         public void replacefloat2x2At(String value, int index) throws Exception {\r
1230                 replacefloat2x2At(new glsl_float2x2(value), index);\r
1231         }\r
1232 \r
1233         public static int getfloat3x3MinCount() {\r
1234                 return 1;\r
1235         }\r
1236 \r
1237         public static int getfloat3x3MaxCount() {\r
1238                 return 1;\r
1239         }\r
1240 \r
1241         public int getfloat3x3Count() {\r
1242                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3");\r
1243         }\r
1244 \r
1245         public boolean hasfloat3x3() {\r
1246                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3");\r
1247         }\r
1248 \r
1249         public glsl_float3x3 newfloat3x3() {\r
1250                 return new glsl_float3x3();\r
1251         }\r
1252 \r
1253         public glsl_float3x3 getfloat3x3At(int index) throws Exception {\r
1254                 return new glsl_float3x3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", index)));\r
1255         }\r
1256 \r
1257         public org.w3c.dom.Node getStartingfloat3x3Cursor() throws Exception {\r
1258                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3" );\r
1259         }\r
1260 \r
1261         public org.w3c.dom.Node getAdvancedfloat3x3Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1262                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", curNode );\r
1263         }\r
1264 \r
1265         public glsl_float3x3 getfloat3x3ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1266                 if( curNode == null )\r
1267                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1268                 else\r
1269                         return new glsl_float3x3(getDomNodeValue(curNode));\r
1270         }\r
1271 \r
1272         public glsl_float3x3 getfloat3x3() throws Exception \r
1273  {\r
1274                 return getfloat3x3At(0);\r
1275         }\r
1276 \r
1277         public void removefloat3x3At(int index) {\r
1278                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", index);\r
1279         }\r
1280 \r
1281         public void removefloat3x3() {\r
1282                 removefloat3x3At(0);\r
1283         }\r
1284 \r
1285         public org.w3c.dom.Node addfloat3x3(glsl_float3x3 value) {\r
1286                 if( value.isNull() )\r
1287                         return null;\r
1288 \r
1289                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", value.toString());\r
1290         }\r
1291 \r
1292         public org.w3c.dom.Node addfloat3x3(String value) throws Exception {\r
1293                 return addfloat3x3(new glsl_float3x3(value));\r
1294         }\r
1295 \r
1296         public void insertfloat3x3At(glsl_float3x3 value, int index) {\r
1297                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", index, value.toString());\r
1298         }\r
1299 \r
1300         public void insertfloat3x3At(String value, int index) throws Exception {\r
1301                 insertfloat3x3At(new glsl_float3x3(value), index);\r
1302         }\r
1303 \r
1304         public void replacefloat3x3At(glsl_float3x3 value, int index) {\r
1305                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", index, value.toString());\r
1306         }\r
1307 \r
1308         public void replacefloat3x3At(String value, int index) throws Exception {\r
1309                 replacefloat3x3At(new glsl_float3x3(value), index);\r
1310         }\r
1311 \r
1312         public static int getfloat4x4MinCount() {\r
1313                 return 1;\r
1314         }\r
1315 \r
1316         public static int getfloat4x4MaxCount() {\r
1317                 return 1;\r
1318         }\r
1319 \r
1320         public int getfloat4x4Count() {\r
1321                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4");\r
1322         }\r
1323 \r
1324         public boolean hasfloat4x4() {\r
1325                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4");\r
1326         }\r
1327 \r
1328         public glsl_float4x4 newfloat4x4() {\r
1329                 return new glsl_float4x4();\r
1330         }\r
1331 \r
1332         public glsl_float4x4 getfloat4x4At(int index) throws Exception {\r
1333                 return new glsl_float4x4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", index)));\r
1334         }\r
1335 \r
1336         public org.w3c.dom.Node getStartingfloat4x4Cursor() throws Exception {\r
1337                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4" );\r
1338         }\r
1339 \r
1340         public org.w3c.dom.Node getAdvancedfloat4x4Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1341                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", curNode );\r
1342         }\r
1343 \r
1344         public glsl_float4x4 getfloat4x4ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1345                 if( curNode == null )\r
1346                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1347                 else\r
1348                         return new glsl_float4x4(getDomNodeValue(curNode));\r
1349         }\r
1350 \r
1351         public glsl_float4x4 getfloat4x4() throws Exception \r
1352  {\r
1353                 return getfloat4x4At(0);\r
1354         }\r
1355 \r
1356         public void removefloat4x4At(int index) {\r
1357                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", index);\r
1358         }\r
1359 \r
1360         public void removefloat4x4() {\r
1361                 removefloat4x4At(0);\r
1362         }\r
1363 \r
1364         public org.w3c.dom.Node addfloat4x4(glsl_float4x4 value) {\r
1365                 if( value.isNull() )\r
1366                         return null;\r
1367 \r
1368                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", value.toString());\r
1369         }\r
1370 \r
1371         public org.w3c.dom.Node addfloat4x4(String value) throws Exception {\r
1372                 return addfloat4x4(new glsl_float4x4(value));\r
1373         }\r
1374 \r
1375         public void insertfloat4x4At(glsl_float4x4 value, int index) {\r
1376                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", index, value.toString());\r
1377         }\r
1378 \r
1379         public void insertfloat4x4At(String value, int index) throws Exception {\r
1380                 insertfloat4x4At(new glsl_float4x4(value), index);\r
1381         }\r
1382 \r
1383         public void replacefloat4x4At(glsl_float4x4 value, int index) {\r
1384                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", index, value.toString());\r
1385         }\r
1386 \r
1387         public void replacefloat4x4At(String value, int index) throws Exception {\r
1388                 replacefloat4x4At(new glsl_float4x4(value), index);\r
1389         }\r
1390 \r
1391         public static int getint2MinCount() {\r
1392                 return 1;\r
1393         }\r
1394 \r
1395         public static int getint2MaxCount() {\r
1396                 return 1;\r
1397         }\r
1398 \r
1399         public int getint2Count() {\r
1400                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int");\r
1401         }\r
1402 \r
1403         public boolean hasint2() {\r
1404                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int");\r
1405         }\r
1406 \r
1407         public glsl_int newint2() {\r
1408                 return new glsl_int();\r
1409         }\r
1410 \r
1411         public glsl_int getint2At(int index) throws Exception {\r
1412                 return new glsl_int(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index)));\r
1413         }\r
1414 \r
1415         public org.w3c.dom.Node getStartingint2Cursor() throws Exception {\r
1416                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int" );\r
1417         }\r
1418 \r
1419         public org.w3c.dom.Node getAdvancedint2Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1420                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int", curNode );\r
1421         }\r
1422 \r
1423         public glsl_int getint2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1424                 if( curNode == null )\r
1425                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1426                 else\r
1427                         return new glsl_int(getDomNodeValue(curNode));\r
1428         }\r
1429 \r
1430         public glsl_int getint2() throws Exception \r
1431  {\r
1432                 return getint2At(0);\r
1433         }\r
1434 \r
1435         public void removeint2At(int index) {\r
1436                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index);\r
1437         }\r
1438 \r
1439         public void removeint2() {\r
1440                 removeint2At(0);\r
1441         }\r
1442 \r
1443         public org.w3c.dom.Node addint2(glsl_int value) {\r
1444                 if( value.isNull() )\r
1445                         return null;\r
1446 \r
1447                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", value.toString());\r
1448         }\r
1449 \r
1450         public org.w3c.dom.Node addint2(String value) throws Exception {\r
1451                 return addint2(new glsl_int(value));\r
1452         }\r
1453 \r
1454         public void insertint2At(glsl_int value, int index) {\r
1455                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index, value.toString());\r
1456         }\r
1457 \r
1458         public void insertint2At(String value, int index) throws Exception {\r
1459                 insertint2At(new glsl_int(value), index);\r
1460         }\r
1461 \r
1462         public void replaceint2At(glsl_int value, int index) {\r
1463                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int", index, value.toString());\r
1464         }\r
1465 \r
1466         public void replaceint2At(String value, int index) throws Exception {\r
1467                 replaceint2At(new glsl_int(value), index);\r
1468         }\r
1469 \r
1470         public static int getint22MinCount() {\r
1471                 return 1;\r
1472         }\r
1473 \r
1474         public static int getint22MaxCount() {\r
1475                 return 1;\r
1476         }\r
1477 \r
1478         public int getint22Count() {\r
1479                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2");\r
1480         }\r
1481 \r
1482         public boolean hasint22() {\r
1483                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2");\r
1484         }\r
1485 \r
1486         public glsl_int2 newint22() {\r
1487                 return new glsl_int2();\r
1488         }\r
1489 \r
1490         public glsl_int2 getint22At(int index) throws Exception {\r
1491                 return new glsl_int2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index)));\r
1492         }\r
1493 \r
1494         public org.w3c.dom.Node getStartingint22Cursor() throws Exception {\r
1495                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2" );\r
1496         }\r
1497 \r
1498         public org.w3c.dom.Node getAdvancedint22Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1499                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", curNode );\r
1500         }\r
1501 \r
1502         public glsl_int2 getint22ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1503                 if( curNode == null )\r
1504                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1505                 else\r
1506                         return new glsl_int2(getDomNodeValue(curNode));\r
1507         }\r
1508 \r
1509         public glsl_int2 getint22() throws Exception \r
1510  {\r
1511                 return getint22At(0);\r
1512         }\r
1513 \r
1514         public void removeint22At(int index) {\r
1515                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index);\r
1516         }\r
1517 \r
1518         public void removeint22() {\r
1519                 removeint22At(0);\r
1520         }\r
1521 \r
1522         public org.w3c.dom.Node addint22(glsl_int2 value) {\r
1523                 if( value.isNull() )\r
1524                         return null;\r
1525 \r
1526                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", value.toString());\r
1527         }\r
1528 \r
1529         public org.w3c.dom.Node addint22(String value) throws Exception {\r
1530                 return addint22(new glsl_int2(value));\r
1531         }\r
1532 \r
1533         public void insertint22At(glsl_int2 value, int index) {\r
1534                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index, value.toString());\r
1535         }\r
1536 \r
1537         public void insertint22At(String value, int index) throws Exception {\r
1538                 insertint22At(new glsl_int2(value), index);\r
1539         }\r
1540 \r
1541         public void replaceint22At(glsl_int2 value, int index) {\r
1542                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", index, value.toString());\r
1543         }\r
1544 \r
1545         public void replaceint22At(String value, int index) throws Exception {\r
1546                 replaceint22At(new glsl_int2(value), index);\r
1547         }\r
1548 \r
1549         public static int getint3MinCount() {\r
1550                 return 1;\r
1551         }\r
1552 \r
1553         public static int getint3MaxCount() {\r
1554                 return 1;\r
1555         }\r
1556 \r
1557         public int getint3Count() {\r
1558                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3");\r
1559         }\r
1560 \r
1561         public boolean hasint3() {\r
1562                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3");\r
1563         }\r
1564 \r
1565         public glsl_int3 newint3() {\r
1566                 return new glsl_int3();\r
1567         }\r
1568 \r
1569         public glsl_int3 getint3At(int index) throws Exception {\r
1570                 return new glsl_int3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index)));\r
1571         }\r
1572 \r
1573         public org.w3c.dom.Node getStartingint3Cursor() throws Exception {\r
1574                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3" );\r
1575         }\r
1576 \r
1577         public org.w3c.dom.Node getAdvancedint3Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1578                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", curNode );\r
1579         }\r
1580 \r
1581         public glsl_int3 getint3ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1582                 if( curNode == null )\r
1583                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1584                 else\r
1585                         return new glsl_int3(getDomNodeValue(curNode));\r
1586         }\r
1587 \r
1588         public glsl_int3 getint3() throws Exception \r
1589  {\r
1590                 return getint3At(0);\r
1591         }\r
1592 \r
1593         public void removeint3At(int index) {\r
1594                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index);\r
1595         }\r
1596 \r
1597         public void removeint3() {\r
1598                 removeint3At(0);\r
1599         }\r
1600 \r
1601         public org.w3c.dom.Node addint3(glsl_int3 value) {\r
1602                 if( value.isNull() )\r
1603                         return null;\r
1604 \r
1605                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", value.toString());\r
1606         }\r
1607 \r
1608         public org.w3c.dom.Node addint3(String value) throws Exception {\r
1609                 return addint3(new glsl_int3(value));\r
1610         }\r
1611 \r
1612         public void insertint3At(glsl_int3 value, int index) {\r
1613                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index, value.toString());\r
1614         }\r
1615 \r
1616         public void insertint3At(String value, int index) throws Exception {\r
1617                 insertint3At(new glsl_int3(value), index);\r
1618         }\r
1619 \r
1620         public void replaceint3At(glsl_int3 value, int index) {\r
1621                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", index, value.toString());\r
1622         }\r
1623 \r
1624         public void replaceint3At(String value, int index) throws Exception {\r
1625                 replaceint3At(new glsl_int3(value), index);\r
1626         }\r
1627 \r
1628         public static int getint4MinCount() {\r
1629                 return 1;\r
1630         }\r
1631 \r
1632         public static int getint4MaxCount() {\r
1633                 return 1;\r
1634         }\r
1635 \r
1636         public int getint4Count() {\r
1637                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4");\r
1638         }\r
1639 \r
1640         public boolean hasint4() {\r
1641                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4");\r
1642         }\r
1643 \r
1644         public glsl_int4 newint4() {\r
1645                 return new glsl_int4();\r
1646         }\r
1647 \r
1648         public glsl_int4 getint4At(int index) throws Exception {\r
1649                 return new glsl_int4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", index)));\r
1650         }\r
1651 \r
1652         public org.w3c.dom.Node getStartingint4Cursor() throws Exception {\r
1653                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4" );\r
1654         }\r
1655 \r
1656         public org.w3c.dom.Node getAdvancedint4Cursor( org.w3c.dom.Node curNode ) throws Exception {\r
1657                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", curNode );\r
1658         }\r
1659 \r
1660         public glsl_int4 getint4ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1661                 if( curNode == null )\r
1662                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1663                 else\r
1664                         return new glsl_int4(getDomNodeValue(curNode));\r
1665         }\r
1666 \r
1667         public glsl_int4 getint4() throws Exception \r
1668  {\r
1669                 return getint4At(0);\r
1670         }\r
1671 \r
1672         public void removeint4At(int index) {\r
1673                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", index);\r
1674         }\r
1675 \r
1676         public void removeint4() {\r
1677                 removeint4At(0);\r
1678         }\r
1679 \r
1680         public org.w3c.dom.Node addint4(glsl_int4 value) {\r
1681                 if( value.isNull() )\r
1682                         return null;\r
1683 \r
1684                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", value.toString());\r
1685         }\r
1686 \r
1687         public org.w3c.dom.Node addint4(String value) throws Exception {\r
1688                 return addint4(new glsl_int4(value));\r
1689         }\r
1690 \r
1691         public void insertint4At(glsl_int4 value, int index) {\r
1692                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", index, value.toString());\r
1693         }\r
1694 \r
1695         public void insertint4At(String value, int index) throws Exception {\r
1696                 insertint4At(new glsl_int4(value), index);\r
1697         }\r
1698 \r
1699         public void replaceint4At(glsl_int4 value, int index) {\r
1700                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", index, value.toString());\r
1701         }\r
1702 \r
1703         public void replaceint4At(String value, int index) throws Exception {\r
1704                 replaceint4At(new glsl_int4(value), index);\r
1705         }\r
1706 \r
1707         public static int getsurfaceMinCount() {\r
1708                 return 1;\r
1709         }\r
1710 \r
1711         public static int getsurfaceMaxCount() {\r
1712                 return 1;\r
1713         }\r
1714 \r
1715         public int getsurfaceCount() {\r
1716                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "surface");\r
1717         }\r
1718 \r
1719         public boolean hassurface() {\r
1720                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "surface");\r
1721         }\r
1722 \r
1723         public glsl_surface_type newsurface() {\r
1724                 return new glsl_surface_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "surface"));\r
1725         }\r
1726 \r
1727         public glsl_surface_type getsurfaceAt(int index) throws Exception {\r
1728                 return new glsl_surface_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "surface", index));\r
1729         }\r
1730 \r
1731         public org.w3c.dom.Node getStartingsurfaceCursor() throws Exception {\r
1732                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "surface" );\r
1733         }\r
1734 \r
1735         public org.w3c.dom.Node getAdvancedsurfaceCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1736                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "surface", curNode );\r
1737         }\r
1738 \r
1739         public glsl_surface_type getsurfaceValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1740                 if( curNode == null )\r
1741                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1742                 else\r
1743                         return new glsl_surface_type(curNode);\r
1744         }\r
1745 \r
1746         public glsl_surface_type getsurface() throws Exception \r
1747  {\r
1748                 return getsurfaceAt(0);\r
1749         }\r
1750 \r
1751         public void removesurfaceAt(int index) {\r
1752                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "surface", index);\r
1753         }\r
1754 \r
1755         public void removesurface() {\r
1756                 removesurfaceAt(0);\r
1757         }\r
1758 \r
1759         public org.w3c.dom.Node addsurface(glsl_surface_type value) {\r
1760                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "surface", value);\r
1761         }\r
1762 \r
1763         public void insertsurfaceAt(glsl_surface_type value, int index) {\r
1764                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "surface", index, value);\r
1765         }\r
1766 \r
1767         public void replacesurfaceAt(glsl_surface_type value, int index) {\r
1768                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "surface", index, value);\r
1769         }\r
1770 \r
1771         public static int getsampler1DMinCount() {\r
1772                 return 1;\r
1773         }\r
1774 \r
1775         public static int getsampler1DMaxCount() {\r
1776                 return 1;\r
1777         }\r
1778 \r
1779         public int getsampler1DCount() {\r
1780                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D");\r
1781         }\r
1782 \r
1783         public boolean hassampler1D() {\r
1784                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D");\r
1785         }\r
1786 \r
1787         public gl_sampler1D newsampler1D() {\r
1788                 return new gl_sampler1D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler1D"));\r
1789         }\r
1790 \r
1791         public gl_sampler1D getsampler1DAt(int index) throws Exception {\r
1792                 return new gl_sampler1D(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index));\r
1793         }\r
1794 \r
1795         public org.w3c.dom.Node getStartingsampler1DCursor() throws Exception {\r
1796                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D" );\r
1797         }\r
1798 \r
1799         public org.w3c.dom.Node getAdvancedsampler1DCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1800                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D", curNode );\r
1801         }\r
1802 \r
1803         public gl_sampler1D getsampler1DValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1804                 if( curNode == null )\r
1805                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1806                 else\r
1807                         return new gl_sampler1D(curNode);\r
1808         }\r
1809 \r
1810         public gl_sampler1D getsampler1D() throws Exception \r
1811  {\r
1812                 return getsampler1DAt(0);\r
1813         }\r
1814 \r
1815         public void removesampler1DAt(int index) {\r
1816                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index);\r
1817         }\r
1818 \r
1819         public void removesampler1D() {\r
1820                 removesampler1DAt(0);\r
1821         }\r
1822 \r
1823         public org.w3c.dom.Node addsampler1D(gl_sampler1D value) {\r
1824                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "sampler1D", value);\r
1825         }\r
1826 \r
1827         public void insertsampler1DAt(gl_sampler1D value, int index) {\r
1828                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index, value);\r
1829         }\r
1830 \r
1831         public void replacesampler1DAt(gl_sampler1D value, int index) {\r
1832                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler1D", index, value);\r
1833         }\r
1834 \r
1835         public static int getsampler2DMinCount() {\r
1836                 return 1;\r
1837         }\r
1838 \r
1839         public static int getsampler2DMaxCount() {\r
1840                 return 1;\r
1841         }\r
1842 \r
1843         public int getsampler2DCount() {\r
1844                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D");\r
1845         }\r
1846 \r
1847         public boolean hassampler2D() {\r
1848                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D");\r
1849         }\r
1850 \r
1851         public gl_sampler2D newsampler2D() {\r
1852                 return new gl_sampler2D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler2D"));\r
1853         }\r
1854 \r
1855         public gl_sampler2D getsampler2DAt(int index) throws Exception {\r
1856                 return new gl_sampler2D(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index));\r
1857         }\r
1858 \r
1859         public org.w3c.dom.Node getStartingsampler2DCursor() throws Exception {\r
1860                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D" );\r
1861         }\r
1862 \r
1863         public org.w3c.dom.Node getAdvancedsampler2DCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1864                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D", curNode );\r
1865         }\r
1866 \r
1867         public gl_sampler2D getsampler2DValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1868                 if( curNode == null )\r
1869                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1870                 else\r
1871                         return new gl_sampler2D(curNode);\r
1872         }\r
1873 \r
1874         public gl_sampler2D getsampler2D() throws Exception \r
1875  {\r
1876                 return getsampler2DAt(0);\r
1877         }\r
1878 \r
1879         public void removesampler2DAt(int index) {\r
1880                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index);\r
1881         }\r
1882 \r
1883         public void removesampler2D() {\r
1884                 removesampler2DAt(0);\r
1885         }\r
1886 \r
1887         public org.w3c.dom.Node addsampler2D(gl_sampler2D value) {\r
1888                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "sampler2D", value);\r
1889         }\r
1890 \r
1891         public void insertsampler2DAt(gl_sampler2D value, int index) {\r
1892                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index, value);\r
1893         }\r
1894 \r
1895         public void replacesampler2DAt(gl_sampler2D value, int index) {\r
1896                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler2D", index, value);\r
1897         }\r
1898 \r
1899         public static int getsampler3DMinCount() {\r
1900                 return 1;\r
1901         }\r
1902 \r
1903         public static int getsampler3DMaxCount() {\r
1904                 return 1;\r
1905         }\r
1906 \r
1907         public int getsampler3DCount() {\r
1908                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D");\r
1909         }\r
1910 \r
1911         public boolean hassampler3D() {\r
1912                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D");\r
1913         }\r
1914 \r
1915         public gl_sampler3D newsampler3D() {\r
1916                 return new gl_sampler3D(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sampler3D"));\r
1917         }\r
1918 \r
1919         public gl_sampler3D getsampler3DAt(int index) throws Exception {\r
1920                 return new gl_sampler3D(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index));\r
1921         }\r
1922 \r
1923         public org.w3c.dom.Node getStartingsampler3DCursor() throws Exception {\r
1924                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D" );\r
1925         }\r
1926 \r
1927         public org.w3c.dom.Node getAdvancedsampler3DCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1928                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D", curNode );\r
1929         }\r
1930 \r
1931         public gl_sampler3D getsampler3DValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1932                 if( curNode == null )\r
1933                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1934                 else\r
1935                         return new gl_sampler3D(curNode);\r
1936         }\r
1937 \r
1938         public gl_sampler3D getsampler3D() throws Exception \r
1939  {\r
1940                 return getsampler3DAt(0);\r
1941         }\r
1942 \r
1943         public void removesampler3DAt(int index) {\r
1944                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index);\r
1945         }\r
1946 \r
1947         public void removesampler3D() {\r
1948                 removesampler3DAt(0);\r
1949         }\r
1950 \r
1951         public org.w3c.dom.Node addsampler3D(gl_sampler3D value) {\r
1952                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "sampler3D", value);\r
1953         }\r
1954 \r
1955         public void insertsampler3DAt(gl_sampler3D value, int index) {\r
1956                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index, value);\r
1957         }\r
1958 \r
1959         public void replacesampler3DAt(gl_sampler3D value, int index) {\r
1960                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sampler3D", index, value);\r
1961         }\r
1962 \r
1963         public static int getsamplerCUBEMinCount() {\r
1964                 return 1;\r
1965         }\r
1966 \r
1967         public static int getsamplerCUBEMaxCount() {\r
1968                 return 1;\r
1969         }\r
1970 \r
1971         public int getsamplerCUBECount() {\r
1972                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE");\r
1973         }\r
1974 \r
1975         public boolean hassamplerCUBE() {\r
1976                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE");\r
1977         }\r
1978 \r
1979         public gl_samplerCUBE newsamplerCUBE() {\r
1980                 return new gl_samplerCUBE(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE"));\r
1981         }\r
1982 \r
1983         public gl_samplerCUBE getsamplerCUBEAt(int index) throws Exception {\r
1984                 return new gl_samplerCUBE(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index));\r
1985         }\r
1986 \r
1987         public org.w3c.dom.Node getStartingsamplerCUBECursor() throws Exception {\r
1988                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE" );\r
1989         }\r
1990 \r
1991         public org.w3c.dom.Node getAdvancedsamplerCUBECursor( org.w3c.dom.Node curNode ) throws Exception {\r
1992                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", curNode );\r
1993         }\r
1994 \r
1995         public gl_samplerCUBE getsamplerCUBEValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1996                 if( curNode == null )\r
1997                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1998                 else\r
1999                         return new gl_samplerCUBE(curNode);\r
2000         }\r
2001 \r
2002         public gl_samplerCUBE getsamplerCUBE() throws Exception \r
2003  {\r
2004                 return getsamplerCUBEAt(0);\r
2005         }\r
2006 \r
2007         public void removesamplerCUBEAt(int index) {\r
2008                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index);\r
2009         }\r
2010 \r
2011         public void removesamplerCUBE() {\r
2012                 removesamplerCUBEAt(0);\r
2013         }\r
2014 \r
2015         public org.w3c.dom.Node addsamplerCUBE(gl_samplerCUBE value) {\r
2016                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", value);\r
2017         }\r
2018 \r
2019         public void insertsamplerCUBEAt(gl_samplerCUBE value, int index) {\r
2020                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index, value);\r
2021         }\r
2022 \r
2023         public void replacesamplerCUBEAt(gl_samplerCUBE value, int index) {\r
2024                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", index, value);\r
2025         }\r
2026 \r
2027         public static int getsamplerRECTMinCount() {\r
2028                 return 1;\r
2029         }\r
2030 \r
2031         public static int getsamplerRECTMaxCount() {\r
2032                 return 1;\r
2033         }\r
2034 \r
2035         public int getsamplerRECTCount() {\r
2036                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT");\r
2037         }\r
2038 \r
2039         public boolean hassamplerRECT() {\r
2040                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT");\r
2041         }\r
2042 \r
2043         public gl_samplerRECT newsamplerRECT() {\r
2044                 return new gl_samplerRECT(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "samplerRECT"));\r
2045         }\r
2046 \r
2047         public gl_samplerRECT getsamplerRECTAt(int index) throws Exception {\r
2048                 return new gl_samplerRECT(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", index));\r
2049         }\r
2050 \r
2051         public org.w3c.dom.Node getStartingsamplerRECTCursor() throws Exception {\r
2052                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT" );\r
2053         }\r
2054 \r
2055         public org.w3c.dom.Node getAdvancedsamplerRECTCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2056                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", curNode );\r
2057         }\r
2058 \r
2059         public gl_samplerRECT getsamplerRECTValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2060                 if( curNode == null )\r
2061                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
2062                 else\r
2063                         return new gl_samplerRECT(curNode);\r
2064         }\r
2065 \r
2066         public gl_samplerRECT getsamplerRECT() throws Exception \r
2067  {\r
2068                 return getsamplerRECTAt(0);\r
2069         }\r
2070 \r
2071         public void removesamplerRECTAt(int index) {\r
2072                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", index);\r
2073         }\r
2074 \r
2075         public void removesamplerRECT() {\r
2076                 removesamplerRECTAt(0);\r
2077         }\r
2078 \r
2079         public org.w3c.dom.Node addsamplerRECT(gl_samplerRECT value) {\r
2080                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", value);\r
2081         }\r
2082 \r
2083         public void insertsamplerRECTAt(gl_samplerRECT value, int index) {\r
2084                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", index, value);\r
2085         }\r
2086 \r
2087         public void replacesamplerRECTAt(gl_samplerRECT value, int index) {\r
2088                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", index, value);\r
2089         }\r
2090 \r
2091         public static int getsamplerDEPTHMinCount() {\r
2092                 return 1;\r
2093         }\r
2094 \r
2095         public static int getsamplerDEPTHMaxCount() {\r
2096                 return 1;\r
2097         }\r
2098 \r
2099         public int getsamplerDEPTHCount() {\r
2100                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH");\r
2101         }\r
2102 \r
2103         public boolean hassamplerDEPTH() {\r
2104                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH");\r
2105         }\r
2106 \r
2107         public gl_samplerDEPTH newsamplerDEPTH() {\r
2108                 return new gl_samplerDEPTH(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH"));\r
2109         }\r
2110 \r
2111         public gl_samplerDEPTH getsamplerDEPTHAt(int index) throws Exception {\r
2112                 return new gl_samplerDEPTH(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", index));\r
2113         }\r
2114 \r
2115         public org.w3c.dom.Node getStartingsamplerDEPTHCursor() throws Exception {\r
2116                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH" );\r
2117         }\r
2118 \r
2119         public org.w3c.dom.Node getAdvancedsamplerDEPTHCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2120                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", curNode );\r
2121         }\r
2122 \r
2123         public gl_samplerDEPTH getsamplerDEPTHValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2124                 if( curNode == null )\r
2125                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
2126                 else\r
2127                         return new gl_samplerDEPTH(curNode);\r
2128         }\r
2129 \r
2130         public gl_samplerDEPTH getsamplerDEPTH() throws Exception \r
2131  {\r
2132                 return getsamplerDEPTHAt(0);\r
2133         }\r
2134 \r
2135         public void removesamplerDEPTHAt(int index) {\r
2136                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", index);\r
2137         }\r
2138 \r
2139         public void removesamplerDEPTH() {\r
2140                 removesamplerDEPTHAt(0);\r
2141         }\r
2142 \r
2143         public org.w3c.dom.Node addsamplerDEPTH(gl_samplerDEPTH value) {\r
2144                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", value);\r
2145         }\r
2146 \r
2147         public void insertsamplerDEPTHAt(gl_samplerDEPTH value, int index) {\r
2148                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", index, value);\r
2149         }\r
2150 \r
2151         public void replacesamplerDEPTHAt(gl_samplerDEPTH value, int index) {\r
2152                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", index, value);\r
2153         }\r
2154 \r
2155         public static int getenumMinCount() {\r
2156                 return 1;\r
2157         }\r
2158 \r
2159         public static int getenumMaxCount() {\r
2160                 return 1;\r
2161         }\r
2162 \r
2163         public int getenumCount() {\r
2164                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum");\r
2165         }\r
2166 \r
2167         public boolean hasenum() {\r
2168                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum");\r
2169         }\r
2170 \r
2171         public gl_enumeration newenum() {\r
2172                 return new gl_enumeration();\r
2173         }\r
2174 \r
2175         public gl_enumeration getenumAt(int index) throws Exception {\r
2176                 return new gl_enumeration(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", index)));\r
2177         }\r
2178 \r
2179         public org.w3c.dom.Node getStartingenumCursor() throws Exception {\r
2180                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum" );\r
2181         }\r
2182 \r
2183         public org.w3c.dom.Node getAdvancedenumCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2184                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", curNode );\r
2185         }\r
2186 \r
2187         public gl_enumeration getenumValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2188                 if( curNode == null )\r
2189                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
2190                 else\r
2191                         return new gl_enumeration(getDomNodeValue(curNode));\r
2192         }\r
2193 \r
2194         public gl_enumeration getenum() throws Exception \r
2195  {\r
2196                 return getenumAt(0);\r
2197         }\r
2198 \r
2199         public void removeenumAt(int index) {\r
2200                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", index);\r
2201         }\r
2202 \r
2203         public void removeenum() {\r
2204                 removeenumAt(0);\r
2205         }\r
2206 \r
2207         public org.w3c.dom.Node addenum(gl_enumeration value) {\r
2208                 if( value.isNull() )\r
2209                         return null;\r
2210 \r
2211                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", value.toString());\r
2212         }\r
2213 \r
2214         public org.w3c.dom.Node addenum(String value) throws Exception {\r
2215                 return addenum(new gl_enumeration(value));\r
2216         }\r
2217 \r
2218         public void insertenumAt(gl_enumeration value, int index) {\r
2219                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", index, value.toString());\r
2220         }\r
2221 \r
2222         public void insertenumAt(String value, int index) throws Exception {\r
2223                 insertenumAt(new gl_enumeration(value), index);\r
2224         }\r
2225 \r
2226         public void replaceenumAt(gl_enumeration value, int index) {\r
2227                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", index, value.toString());\r
2228         }\r
2229 \r
2230         public void replaceenumAt(String value, int index) throws Exception {\r
2231                 replaceenumAt(new gl_enumeration(value), index);\r
2232         }\r
2233 \r
2234         public static int getarrayMinCount() {\r
2235                 return 1;\r
2236         }\r
2237 \r
2238         public static int getarrayMaxCount() {\r
2239                 return 1;\r
2240         }\r
2241 \r
2242         public int getarrayCount() {\r
2243                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "array");\r
2244         }\r
2245 \r
2246         public boolean hasarray() {\r
2247                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "array");\r
2248         }\r
2249 \r
2250         public glsl_newarray_type newarray() {\r
2251                 return new glsl_newarray_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "array"));\r
2252         }\r
2253 \r
2254         public glsl_newarray_type getarrayAt(int index) throws Exception {\r
2255                 return new glsl_newarray_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "array", index));\r
2256         }\r
2257 \r
2258         public org.w3c.dom.Node getStartingarrayCursor() throws Exception {\r
2259                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "array" );\r
2260         }\r
2261 \r
2262         public org.w3c.dom.Node getAdvancedarrayCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2263                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "array", curNode );\r
2264         }\r
2265 \r
2266         public glsl_newarray_type getarrayValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
2267                 if( curNode == null )\r
2268                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
2269                 else\r
2270                         return new glsl_newarray_type(curNode);\r
2271         }\r
2272 \r
2273         public glsl_newarray_type getarray() throws Exception \r
2274  {\r
2275                 return getarrayAt(0);\r
2276         }\r
2277 \r
2278         public void removearrayAt(int index) {\r
2279                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "array", index);\r
2280         }\r
2281 \r
2282         public void removearray() {\r
2283                 removearrayAt(0);\r
2284         }\r
2285 \r
2286         public org.w3c.dom.Node addarray(glsl_newarray_type value) {\r
2287                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "array", value);\r
2288         }\r
2289 \r
2290         public void insertarrayAt(glsl_newarray_type value, int index) {\r
2291                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "array", index, value);\r
2292         }\r
2293 \r
2294         public void replacearrayAt(glsl_newarray_type value, int index) {\r
2295                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "array", index, value);\r
2296         }\r
2297 \r
2298 }\r