OSDN Git Service

Set optimal mime types and executable settings.
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / blinnType.java
1 /**
2  * blinnType.java
3  *
4  * This file was generated by XMLSpy 2007sp2 Enterprise Edition.
5  *
6  * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
7  * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
8  *
9  * Refer to the XMLSpy Documentation for further details.
10  * http://www.altova.com/xmlspy
11  */
12
13
14 package com.jmex.model.collada.schema;
15
16
17 public class blinnType extends com.jmex.xml.xml.Node {
18
19         public blinnType(blinnType node) {
20                 super(node);
21         }
22
23         public blinnType(org.w3c.dom.Node node) {
24                 super(node);
25         }
26
27         public blinnType(org.w3c.dom.Document doc) {
28                 super(doc);
29         }
30
31         public blinnType(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
32                 super(doc, namespaceURI, prefix, name);
33         }
34         
35         public void adjustPrefix() {
36                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission" );
37                                 tmpNode != null;
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", tmpNode )
39                         ) {
40                         internalAdjustPrefix(tmpNode, true);
41                         new common_color_or_texture_type(tmpNode).adjustPrefix();
42                 }
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient" );
44                                 tmpNode != null;
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient", tmpNode )
46                         ) {
47                         internalAdjustPrefix(tmpNode, true);
48                         new common_color_or_texture_type(tmpNode).adjustPrefix();
49                 }
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse" );
51                                 tmpNode != null;
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse", tmpNode )
53                         ) {
54                         internalAdjustPrefix(tmpNode, true);
55                         new common_color_or_texture_type(tmpNode).adjustPrefix();
56                 }
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "specular" );
58                                 tmpNode != null;
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "specular", tmpNode )
60                         ) {
61                         internalAdjustPrefix(tmpNode, true);
62                         new common_color_or_texture_type(tmpNode).adjustPrefix();
63                 }
64                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess" );
65                                 tmpNode != null;
66                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess", tmpNode )
67                         ) {
68                         internalAdjustPrefix(tmpNode, true);
69                         new common_float_or_param_type(tmpNode).adjustPrefix();
70                 }
71                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective" );
72                                 tmpNode != null;
73                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", tmpNode )
74                         ) {
75                         internalAdjustPrefix(tmpNode, true);
76                         new common_color_or_texture_type(tmpNode).adjustPrefix();
77                 }
78                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity" );
79                                 tmpNode != null;
80                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", tmpNode )
81                         ) {
82                         internalAdjustPrefix(tmpNode, true);
83                         new common_float_or_param_type(tmpNode).adjustPrefix();
84                 }
85                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent" );
86                                 tmpNode != null;
87                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", tmpNode )
88                         ) {
89                         internalAdjustPrefix(tmpNode, true);
90                         new common_transparent_type(tmpNode).adjustPrefix();
91                 }
92                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency" );
93                                 tmpNode != null;
94                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", tmpNode )
95                         ) {
96                         internalAdjustPrefix(tmpNode, true);
97                         new common_float_or_param_type(tmpNode).adjustPrefix();
98                 }
99                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction" );
100                                 tmpNode != null;
101                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", tmpNode )
102                         ) {
103                         internalAdjustPrefix(tmpNode, true);
104                         new common_float_or_param_type(tmpNode).adjustPrefix();
105                 }
106         }
107         public void setXsiType() {
108                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
109                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "blinn");
110         }
111
112         public static int getemissionMinCount() {
113                 return 0;
114         }
115
116         public static int getemissionMaxCount() {
117                 return 1;
118         }
119
120         public int getemissionCount() {
121                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission");
122         }
123
124         public boolean hasemission() {
125                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission");
126         }
127
128         public common_color_or_texture_type newemission() {
129                 return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "emission"));
130         }
131
132         public common_color_or_texture_type getemissionAt(int index) throws Exception {
133                 return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", index));
134         }
135
136         public org.w3c.dom.Node getStartingemissionCursor() throws Exception {
137                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission" );
138         }
139
140         public org.w3c.dom.Node getAdvancedemissionCursor( org.w3c.dom.Node curNode ) throws Exception {
141                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", curNode );
142         }
143
144         public common_color_or_texture_type getemissionValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
145                 if( curNode == null )
146                         throw new com.jmex.xml.xml.XmlException("Out of range");
147                 else
148                         return new common_color_or_texture_type(curNode);
149         }
150
151         public common_color_or_texture_type getemission() throws Exception 
152  {
153                 return getemissionAt(0);
154         }
155
156         public void removeemissionAt(int index) {
157                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", index);
158         }
159
160         public void removeemission() {
161                 removeemissionAt(0);
162         }
163
164         public org.w3c.dom.Node addemission(common_color_or_texture_type value) {
165                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "emission", value);
166         }
167
168         public void insertemissionAt(common_color_or_texture_type value, int index) {
169                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
170         }
171
172         public void replaceemissionAt(common_color_or_texture_type value, int index) {
173                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
174         }
175
176         public static int getambientMinCount() {
177                 return 0;
178         }
179
180         public static int getambientMaxCount() {
181                 return 1;
182         }
183
184         public int getambientCount() {
185                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient");
186         }
187
188         public boolean hasambient() {
189                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient");
190         }
191
192         public common_color_or_texture_type newambient() {
193                 return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "ambient"));
194         }
195
196         public common_color_or_texture_type getambientAt(int index) throws Exception {
197                 return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient", index));
198         }
199
200         public org.w3c.dom.Node getStartingambientCursor() throws Exception {
201                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient" );
202         }
203
204         public org.w3c.dom.Node getAdvancedambientCursor( org.w3c.dom.Node curNode ) throws Exception {
205                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient", curNode );
206         }
207
208         public common_color_or_texture_type getambientValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
209                 if( curNode == null )
210                         throw new com.jmex.xml.xml.XmlException("Out of range");
211                 else
212                         return new common_color_or_texture_type(curNode);
213         }
214
215         public common_color_or_texture_type getambient() throws Exception 
216  {
217                 return getambientAt(0);
218         }
219
220         public void removeambientAt(int index) {
221                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient", index);
222         }
223
224         public void removeambient() {
225                 removeambientAt(0);
226         }
227
228         public org.w3c.dom.Node addambient(common_color_or_texture_type value) {
229                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "ambient", value);
230         }
231
232         public void insertambientAt(common_color_or_texture_type value, int index) {
233                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ambient", index, value);
234         }
235
236         public void replaceambientAt(common_color_or_texture_type value, int index) {
237                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ambient", index, value);
238         }
239
240         public static int getdiffuseMinCount() {
241                 return 0;
242         }
243
244         public static int getdiffuseMaxCount() {
245                 return 1;
246         }
247
248         public int getdiffuseCount() {
249                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse");
250         }
251
252         public boolean hasdiffuse() {
253                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse");
254         }
255
256         public common_color_or_texture_type newdiffuse() {
257                 return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "diffuse"));
258         }
259
260         public common_color_or_texture_type getdiffuseAt(int index) throws Exception {
261                 return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse", index));
262         }
263
264         public org.w3c.dom.Node getStartingdiffuseCursor() throws Exception {
265                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse" );
266         }
267
268         public org.w3c.dom.Node getAdvanceddiffuseCursor( org.w3c.dom.Node curNode ) throws Exception {
269                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse", curNode );
270         }
271
272         public common_color_or_texture_type getdiffuseValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
273                 if( curNode == null )
274                         throw new com.jmex.xml.xml.XmlException("Out of range");
275                 else
276                         return new common_color_or_texture_type(curNode);
277         }
278
279         public common_color_or_texture_type getdiffuse() throws Exception 
280  {
281                 return getdiffuseAt(0);
282         }
283
284         public void removediffuseAt(int index) {
285                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse", index);
286         }
287
288         public void removediffuse() {
289                 removediffuseAt(0);
290         }
291
292         public org.w3c.dom.Node adddiffuse(common_color_or_texture_type value) {
293                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "diffuse", value);
294         }
295
296         public void insertdiffuseAt(common_color_or_texture_type value, int index) {
297                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "diffuse", index, value);
298         }
299
300         public void replacediffuseAt(common_color_or_texture_type value, int index) {
301                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "diffuse", index, value);
302         }
303
304         public static int getspecularMinCount() {
305                 return 0;
306         }
307
308         public static int getspecularMaxCount() {
309                 return 1;
310         }
311
312         public int getspecularCount() {
313                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "specular");
314         }
315
316         public boolean hasspecular() {
317                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "specular");
318         }
319
320         public common_color_or_texture_type newspecular() {
321                 return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "specular"));
322         }
323
324         public common_color_or_texture_type getspecularAt(int index) throws Exception {
325                 return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "specular", index));
326         }
327
328         public org.w3c.dom.Node getStartingspecularCursor() throws Exception {
329                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "specular" );
330         }
331
332         public org.w3c.dom.Node getAdvancedspecularCursor( org.w3c.dom.Node curNode ) throws Exception {
333                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "specular", curNode );
334         }
335
336         public common_color_or_texture_type getspecularValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
337                 if( curNode == null )
338                         throw new com.jmex.xml.xml.XmlException("Out of range");
339                 else
340                         return new common_color_or_texture_type(curNode);
341         }
342
343         public common_color_or_texture_type getspecular() throws Exception 
344  {
345                 return getspecularAt(0);
346         }
347
348         public void removespecularAt(int index) {
349                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "specular", index);
350         }
351
352         public void removespecular() {
353                 removespecularAt(0);
354         }
355
356         public org.w3c.dom.Node addspecular(common_color_or_texture_type value) {
357                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "specular", value);
358         }
359
360         public void insertspecularAt(common_color_or_texture_type value, int index) {
361                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "specular", index, value);
362         }
363
364         public void replacespecularAt(common_color_or_texture_type value, int index) {
365                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "specular", index, value);
366         }
367
368         public static int getshininessMinCount() {
369                 return 0;
370         }
371
372         public static int getshininessMaxCount() {
373                 return 1;
374         }
375
376         public int getshininessCount() {
377                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess");
378         }
379
380         public boolean hasshininess() {
381                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess");
382         }
383
384         public common_float_or_param_type newshininess() {
385                 return new common_float_or_param_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "shininess"));
386         }
387
388         public common_float_or_param_type getshininessAt(int index) throws Exception {
389                 return new common_float_or_param_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess", index));
390         }
391
392         public org.w3c.dom.Node getStartingshininessCursor() throws Exception {
393                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess" );
394         }
395
396         public org.w3c.dom.Node getAdvancedshininessCursor( org.w3c.dom.Node curNode ) throws Exception {
397                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess", curNode );
398         }
399
400         public common_float_or_param_type getshininessValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
401                 if( curNode == null )
402                         throw new com.jmex.xml.xml.XmlException("Out of range");
403                 else
404                         return new common_float_or_param_type(curNode);
405         }
406
407         public common_float_or_param_type getshininess() throws Exception 
408  {
409                 return getshininessAt(0);
410         }
411
412         public void removeshininessAt(int index) {
413                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess", index);
414         }
415
416         public void removeshininess() {
417                 removeshininessAt(0);
418         }
419
420         public org.w3c.dom.Node addshininess(common_float_or_param_type value) {
421                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "shininess", value);
422         }
423
424         public void insertshininessAt(common_float_or_param_type value, int index) {
425                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shininess", index, value);
426         }
427
428         public void replaceshininessAt(common_float_or_param_type value, int index) {
429                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shininess", index, value);
430         }
431
432         public static int getreflectiveMinCount() {
433                 return 0;
434         }
435
436         public static int getreflectiveMaxCount() {
437                 return 1;
438         }
439
440         public int getreflectiveCount() {
441                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective");
442         }
443
444         public boolean hasreflective() {
445                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective");
446         }
447
448         public common_color_or_texture_type newreflective() {
449                 return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "reflective"));
450         }
451
452         public common_color_or_texture_type getreflectiveAt(int index) throws Exception {
453                 return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", index));
454         }
455
456         public org.w3c.dom.Node getStartingreflectiveCursor() throws Exception {
457                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective" );
458         }
459
460         public org.w3c.dom.Node getAdvancedreflectiveCursor( org.w3c.dom.Node curNode ) throws Exception {
461                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", curNode );
462         }
463
464         public common_color_or_texture_type getreflectiveValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
465                 if( curNode == null )
466                         throw new com.jmex.xml.xml.XmlException("Out of range");
467                 else
468                         return new common_color_or_texture_type(curNode);
469         }
470
471         public common_color_or_texture_type getreflective() throws Exception 
472  {
473                 return getreflectiveAt(0);
474         }
475
476         public void removereflectiveAt(int index) {
477                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", index);
478         }
479
480         public void removereflective() {
481                 removereflectiveAt(0);
482         }
483
484         public org.w3c.dom.Node addreflective(common_color_or_texture_type value) {
485                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "reflective", value);
486         }
487
488         public void insertreflectiveAt(common_color_or_texture_type value, int index) {
489                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflective", index, value);
490         }
491
492         public void replacereflectiveAt(common_color_or_texture_type value, int index) {
493                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflective", index, value);
494         }
495
496         public static int getreflectivityMinCount() {
497                 return 0;
498         }
499
500         public static int getreflectivityMaxCount() {
501                 return 1;
502         }
503
504         public int getreflectivityCount() {
505                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity");
506         }
507
508         public boolean hasreflectivity() {
509                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity");
510         }
511
512         public common_float_or_param_type newreflectivity() {
513                 return new common_float_or_param_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "reflectivity"));
514         }
515
516         public common_float_or_param_type getreflectivityAt(int index) throws Exception {
517                 return new common_float_or_param_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", index));
518         }
519
520         public org.w3c.dom.Node getStartingreflectivityCursor() throws Exception {
521                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity" );
522         }
523
524         public org.w3c.dom.Node getAdvancedreflectivityCursor( org.w3c.dom.Node curNode ) throws Exception {
525                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", curNode );
526         }
527
528         public common_float_or_param_type getreflectivityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
529                 if( curNode == null )
530                         throw new com.jmex.xml.xml.XmlException("Out of range");
531                 else
532                         return new common_float_or_param_type(curNode);
533         }
534
535         public common_float_or_param_type getreflectivity() throws Exception 
536  {
537                 return getreflectivityAt(0);
538         }
539
540         public void removereflectivityAt(int index) {
541                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", index);
542         }
543
544         public void removereflectivity() {
545                 removereflectivityAt(0);
546         }
547
548         public org.w3c.dom.Node addreflectivity(common_float_or_param_type value) {
549                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "reflectivity", value);
550         }
551
552         public void insertreflectivityAt(common_float_or_param_type value, int index) {
553                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflectivity", index, value);
554         }
555
556         public void replacereflectivityAt(common_float_or_param_type value, int index) {
557                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflectivity", index, value);
558         }
559
560         public static int gettransparentMinCount() {
561                 return 0;
562         }
563
564         public static int gettransparentMaxCount() {
565                 return 1;
566         }
567
568         public int gettransparentCount() {
569                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent");
570         }
571
572         public boolean hastransparent() {
573                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent");
574         }
575
576         public common_transparent_type newtransparent() {
577                 return new common_transparent_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "transparent"));
578         }
579
580         public common_transparent_type gettransparentAt(int index) throws Exception {
581                 return new common_transparent_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", index));
582         }
583
584         public org.w3c.dom.Node getStartingtransparentCursor() throws Exception {
585                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent" );
586         }
587
588         public org.w3c.dom.Node getAdvancedtransparentCursor( org.w3c.dom.Node curNode ) throws Exception {
589                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", curNode );
590         }
591
592         public common_transparent_type gettransparentValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
593                 if( curNode == null )
594                         throw new com.jmex.xml.xml.XmlException("Out of range");
595                 else
596                         return new common_transparent_type(curNode);
597         }
598
599         public common_transparent_type gettransparent() throws Exception 
600  {
601                 return gettransparentAt(0);
602         }
603
604         public void removetransparentAt(int index) {
605                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", index);
606         }
607
608         public void removetransparent() {
609                 removetransparentAt(0);
610         }
611
612         public org.w3c.dom.Node addtransparent(common_transparent_type value) {
613                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "transparent", value);
614         }
615
616         public void inserttransparentAt(common_transparent_type value, int index) {
617                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "transparent", index, value);
618         }
619
620         public void replacetransparentAt(common_transparent_type value, int index) {
621                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "transparent", index, value);
622         }
623
624         public static int gettransparencyMinCount() {
625                 return 0;
626         }
627
628         public static int gettransparencyMaxCount() {
629                 return 1;
630         }
631
632         public int gettransparencyCount() {
633                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency");
634         }
635
636         public boolean hastransparency() {
637                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency");
638         }
639
640         public common_float_or_param_type newtransparency() {
641                 return new common_float_or_param_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "transparency"));
642         }
643
644         public common_float_or_param_type gettransparencyAt(int index) throws Exception {
645                 return new common_float_or_param_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", index));
646         }
647
648         public org.w3c.dom.Node getStartingtransparencyCursor() throws Exception {
649                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency" );
650         }
651
652         public org.w3c.dom.Node getAdvancedtransparencyCursor( org.w3c.dom.Node curNode ) throws Exception {
653                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", curNode );
654         }
655
656         public common_float_or_param_type gettransparencyValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
657                 if( curNode == null )
658                         throw new com.jmex.xml.xml.XmlException("Out of range");
659                 else
660                         return new common_float_or_param_type(curNode);
661         }
662
663         public common_float_or_param_type gettransparency() throws Exception 
664  {
665                 return gettransparencyAt(0);
666         }
667
668         public void removetransparencyAt(int index) {
669                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", index);
670         }
671
672         public void removetransparency() {
673                 removetransparencyAt(0);
674         }
675
676         public org.w3c.dom.Node addtransparency(common_float_or_param_type value) {
677                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "transparency", value);
678         }
679
680         public void inserttransparencyAt(common_float_or_param_type value, int index) {
681                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "transparency", index, value);
682         }
683
684         public void replacetransparencyAt(common_float_or_param_type value, int index) {
685                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "transparency", index, value);
686         }
687
688         public static int getindex_of_refractionMinCount() {
689                 return 0;
690         }
691
692         public static int getindex_of_refractionMaxCount() {
693                 return 1;
694         }
695
696         public int getindex_of_refractionCount() {
697                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction");
698         }
699
700         public boolean hasindex_of_refraction() {
701                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction");
702         }
703
704         public common_float_or_param_type newindex_of_refraction() {
705                 return new common_float_or_param_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction"));
706         }
707
708         public common_float_or_param_type getindex_of_refractionAt(int index) throws Exception {
709                 return new common_float_or_param_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", index));
710         }
711
712         public org.w3c.dom.Node getStartingindex_of_refractionCursor() throws Exception {
713                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction" );
714         }
715
716         public org.w3c.dom.Node getAdvancedindex_of_refractionCursor( org.w3c.dom.Node curNode ) throws Exception {
717                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", curNode );
718         }
719
720         public common_float_or_param_type getindex_of_refractionValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
721                 if( curNode == null )
722                         throw new com.jmex.xml.xml.XmlException("Out of range");
723                 else
724                         return new common_float_or_param_type(curNode);
725         }
726
727         public common_float_or_param_type getindex_of_refraction() throws Exception 
728  {
729                 return getindex_of_refractionAt(0);
730         }
731
732         public void removeindex_of_refractionAt(int index) {
733                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", index);
734         }
735
736         public void removeindex_of_refraction() {
737                 removeindex_of_refractionAt(0);
738         }
739
740         public org.w3c.dom.Node addindex_of_refraction(common_float_or_param_type value) {
741                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", value);
742         }
743
744         public void insertindex_of_refractionAt(common_float_or_param_type value, int index) {
745                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", index, value);
746         }
747
748         public void replaceindex_of_refractionAt(common_float_or_param_type value, int index) {
749                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", index, value);
750         }
751
752 }