OSDN Git Service

Set optimal mime types and executable settings.
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / technique_commonType3.java
1 /**\r
2  * technique_commonType3.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 \r
17 public class technique_commonType3 extends com.jmex.xml.xml.Node {\r
18 \r
19         public technique_commonType3(technique_commonType3 node) {\r
20                 super(node);\r
21         }\r
22 \r
23         public technique_commonType3(org.w3c.dom.Node node) {\r
24                 super(node);\r
25         }\r
26 \r
27         public technique_commonType3(org.w3c.dom.Document doc) {\r
28                 super(doc);\r
29         }\r
30 \r
31         public technique_commonType3(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {\r
32                 super(doc, namespaceURI, prefix, name);\r
33         }\r
34         \r
35         public void adjustPrefix() {\r
36                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity" );\r
37                                 tmpNode != null;\r
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", tmpNode )\r
39                         ) {\r
40                         internalAdjustPrefix(tmpNode, true);\r
41                 }\r
42                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );\r
43                                 tmpNode != null;\r
44                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", tmpNode )\r
45                         ) {\r
46                         internalAdjustPrefix(tmpNode, true);\r
47                 }\r
48                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );\r
49                                 tmpNode != null;\r
50                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", tmpNode )\r
51                         ) {\r
52                         internalAdjustPrefix(tmpNode, true);\r
53                         new dynamicType(tmpNode).adjustPrefix();\r
54                 }\r
55                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );\r
56                                 tmpNode != null;\r
57                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", tmpNode )\r
58                         ) {\r
59                         internalAdjustPrefix(tmpNode, true);\r
60                         new TargetableFloat(tmpNode).adjustPrefix();\r
61                 }\r
62                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );\r
63                                 tmpNode != null;\r
64                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", tmpNode )\r
65                         ) {\r
66                         internalAdjustPrefix(tmpNode, true);\r
67                         new mass_frameType(tmpNode).adjustPrefix();\r
68                 }\r
69                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia" );\r
70                                 tmpNode != null;\r
71                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", tmpNode )\r
72                         ) {\r
73                         internalAdjustPrefix(tmpNode, true);\r
74                         new TargetableFloat3(tmpNode).adjustPrefix();\r
75                 }\r
76                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );\r
77                                 tmpNode != null;\r
78                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", tmpNode )\r
79                         ) {\r
80                         internalAdjustPrefix(tmpNode, true);\r
81                         new InstanceWithExtra(tmpNode).adjustPrefix();\r
82                 }\r
83                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );\r
84                                 tmpNode != null;\r
85                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", tmpNode )\r
86                         ) {\r
87                         internalAdjustPrefix(tmpNode, true);\r
88                         new physics_materialType(tmpNode).adjustPrefix();\r
89                 }\r
90                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape" );\r
91                                 tmpNode != null;\r
92                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", tmpNode )\r
93                         ) {\r
94                         internalAdjustPrefix(tmpNode, true);\r
95                         new shapeType(tmpNode).adjustPrefix();\r
96                 }\r
97         }\r
98         public void setXsiType() {\r
99                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
100                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "technique_common");\r
101         }\r
102 \r
103         public static int getangular_velocityMinCount() {\r
104                 return 0;\r
105         }\r
106 \r
107         public static int getangular_velocityMaxCount() {\r
108                 return 1;\r
109         }\r
110 \r
111         public int getangular_velocityCount() {\r
112                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");\r
113         }\r
114 \r
115         public boolean hasangular_velocity() {\r
116                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");\r
117         }\r
118 \r
119         public float3 newangular_velocity() {\r
120                 return new float3();\r
121         }\r
122 \r
123         public float3 getangular_velocityAt(int index) throws Exception {\r
124                 return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index)));\r
125         }\r
126 \r
127         public org.w3c.dom.Node getStartingangular_velocityCursor() throws Exception {\r
128                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity" );\r
129         }\r
130 \r
131         public org.w3c.dom.Node getAdvancedangular_velocityCursor( org.w3c.dom.Node curNode ) throws Exception {\r
132                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", curNode );\r
133         }\r
134 \r
135         public float3 getangular_velocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
136                 if( curNode == null )\r
137                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
138                 else\r
139                         return new float3(getDomNodeValue(curNode));\r
140         }\r
141 \r
142         public float3 getangular_velocity() throws Exception \r
143  {\r
144                 return getangular_velocityAt(0);\r
145         }\r
146 \r
147         public void removeangular_velocityAt(int index) {\r
148                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index);\r
149         }\r
150 \r
151         public void removeangular_velocity() {\r
152                 removeangular_velocityAt(0);\r
153         }\r
154 \r
155         public org.w3c.dom.Node addangular_velocity(float3 value) {\r
156                 if( value.isNull() )\r
157                         return null;\r
158 \r
159                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", value.toString());\r
160         }\r
161 \r
162         public org.w3c.dom.Node addangular_velocity(String value) throws Exception {\r
163                 return addangular_velocity(new float3(value));\r
164         }\r
165 \r
166         public void insertangular_velocityAt(float3 value, int index) {\r
167                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());\r
168         }\r
169 \r
170         public void insertangular_velocityAt(String value, int index) throws Exception {\r
171                 insertangular_velocityAt(new float3(value), index);\r
172         }\r
173 \r
174         public void replaceangular_velocityAt(float3 value, int index) {\r
175                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());\r
176         }\r
177 \r
178         public void replaceangular_velocityAt(String value, int index) throws Exception {\r
179                 replaceangular_velocityAt(new float3(value), index);\r
180         }\r
181 \r
182         public static int getvelocityMinCount() {\r
183                 return 0;\r
184         }\r
185 \r
186         public static int getvelocityMaxCount() {\r
187                 return 1;\r
188         }\r
189 \r
190         public int getvelocityCount() {\r
191                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");\r
192         }\r
193 \r
194         public boolean hasvelocity() {\r
195                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");\r
196         }\r
197 \r
198         public float3 newvelocity() {\r
199                 return new float3();\r
200         }\r
201 \r
202         public float3 getvelocityAt(int index) throws Exception {\r
203                 return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index)));\r
204         }\r
205 \r
206         public org.w3c.dom.Node getStartingvelocityCursor() throws Exception {\r
207                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );\r
208         }\r
209 \r
210         public org.w3c.dom.Node getAdvancedvelocityCursor( org.w3c.dom.Node curNode ) throws Exception {\r
211                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", curNode );\r
212         }\r
213 \r
214         public float3 getvelocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
215                 if( curNode == null )\r
216                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
217                 else\r
218                         return new float3(getDomNodeValue(curNode));\r
219         }\r
220 \r
221         public float3 getvelocity() throws Exception \r
222  {\r
223                 return getvelocityAt(0);\r
224         }\r
225 \r
226         public void removevelocityAt(int index) {\r
227                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index);\r
228         }\r
229 \r
230         public void removevelocity() {\r
231                 removevelocityAt(0);\r
232         }\r
233 \r
234         public org.w3c.dom.Node addvelocity(float3 value) {\r
235                 if( value.isNull() )\r
236                         return null;\r
237 \r
238                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", value.toString());\r
239         }\r
240 \r
241         public org.w3c.dom.Node addvelocity(String value) throws Exception {\r
242                 return addvelocity(new float3(value));\r
243         }\r
244 \r
245         public void insertvelocityAt(float3 value, int index) {\r
246                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());\r
247         }\r
248 \r
249         public void insertvelocityAt(String value, int index) throws Exception {\r
250                 insertvelocityAt(new float3(value), index);\r
251         }\r
252 \r
253         public void replacevelocityAt(float3 value, int index) {\r
254                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());\r
255         }\r
256 \r
257         public void replacevelocityAt(String value, int index) throws Exception {\r
258                 replacevelocityAt(new float3(value), index);\r
259         }\r
260 \r
261         public static int getdynamicMinCount() {\r
262                 return 0;\r
263         }\r
264 \r
265         public static int getdynamicMaxCount() {\r
266                 return 1;\r
267         }\r
268 \r
269         public int getdynamicCount() {\r
270                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");\r
271         }\r
272 \r
273         public boolean hasdynamic() {\r
274                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");\r
275         }\r
276 \r
277         public dynamicType newdynamic() {\r
278                 return new dynamicType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dynamic"));\r
279         }\r
280 \r
281         public dynamicType getdynamicAt(int index) throws Exception {\r
282                 return new dynamicType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index));\r
283         }\r
284 \r
285         public org.w3c.dom.Node getStartingdynamicCursor() throws Exception {\r
286                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );\r
287         }\r
288 \r
289         public org.w3c.dom.Node getAdvanceddynamicCursor( org.w3c.dom.Node curNode ) throws Exception {\r
290                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", curNode );\r
291         }\r
292 \r
293         public dynamicType getdynamicValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
294                 if( curNode == null )\r
295                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
296                 else\r
297                         return new dynamicType(curNode);\r
298         }\r
299 \r
300         public dynamicType getdynamic() throws Exception \r
301  {\r
302                 return getdynamicAt(0);\r
303         }\r
304 \r
305         public void removedynamicAt(int index) {\r
306                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index);\r
307         }\r
308 \r
309         public void removedynamic() {\r
310                 removedynamicAt(0);\r
311         }\r
312 \r
313         public org.w3c.dom.Node adddynamic(dynamicType value) {\r
314                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "dynamic", value);\r
315         }\r
316 \r
317         public void insertdynamicAt(dynamicType value, int index) {\r
318                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);\r
319         }\r
320 \r
321         public void replacedynamicAt(dynamicType value, int index) {\r
322                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);\r
323         }\r
324 \r
325         public static int getmassMinCount() {\r
326                 return 0;\r
327         }\r
328 \r
329         public static int getmassMaxCount() {\r
330                 return 1;\r
331         }\r
332 \r
333         public int getmassCount() {\r
334                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");\r
335         }\r
336 \r
337         public boolean hasmass() {\r
338                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");\r
339         }\r
340 \r
341         public TargetableFloat newmass() {\r
342                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass"));\r
343         }\r
344 \r
345         public TargetableFloat getmassAt(int index) throws Exception {\r
346                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index));\r
347         }\r
348 \r
349         public org.w3c.dom.Node getStartingmassCursor() throws Exception {\r
350                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );\r
351         }\r
352 \r
353         public org.w3c.dom.Node getAdvancedmassCursor( org.w3c.dom.Node curNode ) throws Exception {\r
354                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", curNode );\r
355         }\r
356 \r
357         public TargetableFloat getmassValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
358                 if( curNode == null )\r
359                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
360                 else\r
361                         return new TargetableFloat(curNode);\r
362         }\r
363 \r
364         public TargetableFloat getmass() throws Exception \r
365  {\r
366                 return getmassAt(0);\r
367         }\r
368 \r
369         public void removemassAt(int index) {\r
370                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index);\r
371         }\r
372 \r
373         public void removemass() {\r
374                 removemassAt(0);\r
375         }\r
376 \r
377         public org.w3c.dom.Node addmass(TargetableFloat value) {\r
378                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass", value);\r
379         }\r
380 \r
381         public void insertmassAt(TargetableFloat value, int index) {\r
382                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);\r
383         }\r
384 \r
385         public void replacemassAt(TargetableFloat value, int index) {\r
386                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);\r
387         }\r
388 \r
389         public static int getmass_frameMinCount() {\r
390                 return 0;\r
391         }\r
392 \r
393         public static int getmass_frameMaxCount() {\r
394                 return 1;\r
395         }\r
396 \r
397         public int getmass_frameCount() {\r
398                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");\r
399         }\r
400 \r
401         public boolean hasmass_frame() {\r
402                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");\r
403         }\r
404 \r
405         public mass_frameType newmass_frame() {\r
406                 return new mass_frameType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass_frame"));\r
407         }\r
408 \r
409         public mass_frameType getmass_frameAt(int index) throws Exception {\r
410                 return new mass_frameType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index));\r
411         }\r
412 \r
413         public org.w3c.dom.Node getStartingmass_frameCursor() throws Exception {\r
414                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );\r
415         }\r
416 \r
417         public org.w3c.dom.Node getAdvancedmass_frameCursor( org.w3c.dom.Node curNode ) throws Exception {\r
418                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", curNode );\r
419         }\r
420 \r
421         public mass_frameType getmass_frameValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
422                 if( curNode == null )\r
423                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
424                 else\r
425                         return new mass_frameType(curNode);\r
426         }\r
427 \r
428         public mass_frameType getmass_frame() throws Exception \r
429  {\r
430                 return getmass_frameAt(0);\r
431         }\r
432 \r
433         public void removemass_frameAt(int index) {\r
434                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index);\r
435         }\r
436 \r
437         public void removemass_frame() {\r
438                 removemass_frameAt(0);\r
439         }\r
440 \r
441         public org.w3c.dom.Node addmass_frame(mass_frameType value) {\r
442                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", value);\r
443         }\r
444 \r
445         public void insertmass_frameAt(mass_frameType value, int index) {\r
446                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index, value);\r
447         }\r
448 \r
449         public void replacemass_frameAt(mass_frameType value, int index) {\r
450                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index, value);\r
451         }\r
452 \r
453         public static int getinertiaMinCount() {\r
454                 return 0;\r
455         }\r
456 \r
457         public static int getinertiaMaxCount() {\r
458                 return 1;\r
459         }\r
460 \r
461         public int getinertiaCount() {\r
462                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia");\r
463         }\r
464 \r
465         public boolean hasinertia() {\r
466                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia");\r
467         }\r
468 \r
469         public TargetableFloat3 newinertia() {\r
470                 return new TargetableFloat3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "inertia"));\r
471         }\r
472 \r
473         public TargetableFloat3 getinertiaAt(int index) throws Exception {\r
474                 return new TargetableFloat3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", index));\r
475         }\r
476 \r
477         public org.w3c.dom.Node getStartinginertiaCursor() throws Exception {\r
478                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia" );\r
479         }\r
480 \r
481         public org.w3c.dom.Node getAdvancedinertiaCursor( org.w3c.dom.Node curNode ) throws Exception {\r
482                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", curNode );\r
483         }\r
484 \r
485         public TargetableFloat3 getinertiaValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
486                 if( curNode == null )\r
487                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
488                 else\r
489                         return new TargetableFloat3(curNode);\r
490         }\r
491 \r
492         public TargetableFloat3 getinertia() throws Exception \r
493  {\r
494                 return getinertiaAt(0);\r
495         }\r
496 \r
497         public void removeinertiaAt(int index) {\r
498                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", index);\r
499         }\r
500 \r
501         public void removeinertia() {\r
502                 removeinertiaAt(0);\r
503         }\r
504 \r
505         public org.w3c.dom.Node addinertia(TargetableFloat3 value) {\r
506                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "inertia", value);\r
507         }\r
508 \r
509         public void insertinertiaAt(TargetableFloat3 value, int index) {\r
510                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "inertia", index, value);\r
511         }\r
512 \r
513         public void replaceinertiaAt(TargetableFloat3 value, int index) {\r
514                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "inertia", index, value);\r
515         }\r
516 \r
517         public static int getinstance_physics_materialMinCount() {\r
518                 return 1;\r
519         }\r
520 \r
521         public static int getinstance_physics_materialMaxCount() {\r
522                 return 1;\r
523         }\r
524 \r
525         public int getinstance_physics_materialCount() {\r
526                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");\r
527         }\r
528 \r
529         public boolean hasinstance_physics_material() {\r
530                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");\r
531         }\r
532 \r
533         public InstanceWithExtra newinstance_physics_material() {\r
534                 return new InstanceWithExtra(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material"));\r
535         }\r
536 \r
537         public InstanceWithExtra getinstance_physics_materialAt(int index) throws Exception {\r
538                 return new InstanceWithExtra(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index));\r
539         }\r
540 \r
541         public org.w3c.dom.Node getStartinginstance_physics_materialCursor() throws Exception {\r
542                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );\r
543         }\r
544 \r
545         public org.w3c.dom.Node getAdvancedinstance_physics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {\r
546                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", curNode );\r
547         }\r
548 \r
549         public InstanceWithExtra getinstance_physics_materialValueAtCursor( 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 InstanceWithExtra(curNode);\r
554         }\r
555 \r
556         public InstanceWithExtra getinstance_physics_material() throws Exception \r
557  {\r
558                 return getinstance_physics_materialAt(0);\r
559         }\r
560 \r
561         public void removeinstance_physics_materialAt(int index) {\r
562                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index);\r
563         }\r
564 \r
565         public void removeinstance_physics_material() {\r
566                 removeinstance_physics_materialAt(0);\r
567         }\r
568 \r
569         public org.w3c.dom.Node addinstance_physics_material(InstanceWithExtra value) {\r
570                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", value);\r
571         }\r
572 \r
573         public void insertinstance_physics_materialAt(InstanceWithExtra value, int index) {\r
574                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);\r
575         }\r
576 \r
577         public void replaceinstance_physics_materialAt(InstanceWithExtra value, int index) {\r
578                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);\r
579         }\r
580 \r
581         public static int getphysics_materialMinCount() {\r
582                 return 1;\r
583         }\r
584 \r
585         public static int getphysics_materialMaxCount() {\r
586                 return 1;\r
587         }\r
588 \r
589         public int getphysics_materialCount() {\r
590                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");\r
591         }\r
592 \r
593         public boolean hasphysics_material() {\r
594                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");\r
595         }\r
596 \r
597         public physics_materialType newphysics_material() {\r
598                 return new physics_materialType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "physics_material"));\r
599         }\r
600 \r
601         public physics_materialType getphysics_materialAt(int index) throws Exception {\r
602                 return new physics_materialType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index));\r
603         }\r
604 \r
605         public org.w3c.dom.Node getStartingphysics_materialCursor() throws Exception {\r
606                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );\r
607         }\r
608 \r
609         public org.w3c.dom.Node getAdvancedphysics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {\r
610                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", curNode );\r
611         }\r
612 \r
613         public physics_materialType getphysics_materialValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
614                 if( curNode == null )\r
615                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
616                 else\r
617                         return new physics_materialType(curNode);\r
618         }\r
619 \r
620         public physics_materialType getphysics_material() throws Exception \r
621  {\r
622                 return getphysics_materialAt(0);\r
623         }\r
624 \r
625         public void removephysics_materialAt(int index) {\r
626                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index);\r
627         }\r
628 \r
629         public void removephysics_material() {\r
630                 removephysics_materialAt(0);\r
631         }\r
632 \r
633         public org.w3c.dom.Node addphysics_material(physics_materialType value) {\r
634                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "physics_material", value);\r
635         }\r
636 \r
637         public void insertphysics_materialAt(physics_materialType value, int index) {\r
638                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);\r
639         }\r
640 \r
641         public void replacephysics_materialAt(physics_materialType value, int index) {\r
642                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);\r
643         }\r
644 \r
645         public static int getshapeMinCount() {\r
646                 return 0;\r
647         }\r
648 \r
649         public static int getshapeMaxCount() {\r
650                 return Integer.MAX_VALUE;\r
651         }\r
652 \r
653         public int getshapeCount() {\r
654                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape");\r
655         }\r
656 \r
657         public boolean hasshape() {\r
658                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape");\r
659         }\r
660 \r
661         public shapeType newshape() {\r
662                 return new shapeType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "shape"));\r
663         }\r
664 \r
665         public shapeType getshapeAt(int index) throws Exception {\r
666                 return new shapeType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", index));\r
667         }\r
668 \r
669         public org.w3c.dom.Node getStartingshapeCursor() throws Exception {\r
670                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape" );\r
671         }\r
672 \r
673         public org.w3c.dom.Node getAdvancedshapeCursor( org.w3c.dom.Node curNode ) throws Exception {\r
674                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", curNode );\r
675         }\r
676 \r
677         public shapeType getshapeValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
678                 if( curNode == null )\r
679                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
680                 else\r
681                         return new shapeType(curNode);\r
682         }\r
683 \r
684         public shapeType getshape() throws Exception \r
685  {\r
686                 return getshapeAt(0);\r
687         }\r
688 \r
689         public void removeshapeAt(int index) {\r
690                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", index);\r
691         }\r
692 \r
693         public void removeshape() {\r
694                 while (hasshape())\r
695                         removeshapeAt(0);\r
696         }\r
697 \r
698         public org.w3c.dom.Node addshape(shapeType value) {\r
699                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "shape", value);\r
700         }\r
701 \r
702         public void insertshapeAt(shapeType value, int index) {\r
703                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shape", index, value);\r
704         }\r
705 \r
706         public void replaceshapeAt(shapeType value, int index) {\r
707                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shape", index, value);\r
708         }\r
709 \r
710 }\r