OSDN Git Service

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