OSDN Git Service

04fc6dbda654e155a81c7ab29dfbe045d87faaac
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / shapeType.java
1 /**\r
2  * shapeType.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 shapeType extends com.jmex.xml.xml.Node {\r
18 \r
19         public shapeType(shapeType node) {\r
20                 super(node);\r
21         }\r
22 \r
23         public shapeType(org.w3c.dom.Node node) {\r
24                 super(node);\r
25         }\r
26 \r
27         public shapeType(org.w3c.dom.Document doc) {\r
28                 super(doc);\r
29         }\r
30 \r
31         public shapeType(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", "hollow" );\r
37                                 tmpNode != null;\r
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow", tmpNode )\r
39                         ) {\r
40                         internalAdjustPrefix(tmpNode, true);\r
41                         new hollowType(tmpNode).adjustPrefix();\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new TargetableFloat(tmpNode).adjustPrefix();\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "density" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "density", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                         new TargetableFloat(tmpNode).adjustPrefix();\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                         new InstanceWithExtra(tmpNode).adjustPrefix();\r
63                 }\r
64                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );\r
65                                 tmpNode != null;\r
66                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", tmpNode )\r
67                         ) {\r
68                         internalAdjustPrefix(tmpNode, true);\r
69                         new physics_materialType(tmpNode).adjustPrefix();\r
70                 }\r
71                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry" );\r
72                                 tmpNode != null;\r
73                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", tmpNode )\r
74                         ) {\r
75                         internalAdjustPrefix(tmpNode, true);\r
76                         new instance_geometryType(tmpNode).adjustPrefix();\r
77                 }\r
78                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "plane" );\r
79                                 tmpNode != null;\r
80                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "plane", tmpNode )\r
81                         ) {\r
82                         internalAdjustPrefix(tmpNode, true);\r
83                         new planeType(tmpNode).adjustPrefix();\r
84                 }\r
85                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "box" );\r
86                                 tmpNode != null;\r
87                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "box", tmpNode )\r
88                         ) {\r
89                         internalAdjustPrefix(tmpNode, true);\r
90                         new boxType(tmpNode).adjustPrefix();\r
91                 }\r
92                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere" );\r
93                                 tmpNode != null;\r
94                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere", tmpNode )\r
95                         ) {\r
96                         internalAdjustPrefix(tmpNode, true);\r
97                         new sphereType(tmpNode).adjustPrefix();\r
98                 }\r
99                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder" );\r
100                                 tmpNode != null;\r
101                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder", tmpNode )\r
102                         ) {\r
103                         internalAdjustPrefix(tmpNode, true);\r
104                         new cylinderType(tmpNode).adjustPrefix();\r
105                 }\r
106                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder" );\r
107                                 tmpNode != null;\r
108                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", tmpNode )\r
109                         ) {\r
110                         internalAdjustPrefix(tmpNode, true);\r
111                         new tapered_cylinderType(tmpNode).adjustPrefix();\r
112                 }\r
113                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule" );\r
114                                 tmpNode != null;\r
115                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule", tmpNode )\r
116                         ) {\r
117                         internalAdjustPrefix(tmpNode, true);\r
118                         new capsuleType(tmpNode).adjustPrefix();\r
119                 }\r
120                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule" );\r
121                                 tmpNode != null;\r
122                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", tmpNode )\r
123                         ) {\r
124                         internalAdjustPrefix(tmpNode, true);\r
125                         new tapered_capsuleType(tmpNode).adjustPrefix();\r
126                 }\r
127                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "translate" );\r
128                                 tmpNode != null;\r
129                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "translate", tmpNode )\r
130                         ) {\r
131                         internalAdjustPrefix(tmpNode, true);\r
132                         new TargetableFloat3(tmpNode).adjustPrefix();\r
133                 }\r
134                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate" );\r
135                                 tmpNode != null;\r
136                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate", tmpNode )\r
137                         ) {\r
138                         internalAdjustPrefix(tmpNode, true);\r
139                         new rotateType(tmpNode).adjustPrefix();\r
140                 }\r
141                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
142                                 tmpNode != null;\r
143                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )\r
144                         ) {\r
145                         internalAdjustPrefix(tmpNode, true);\r
146                         new extraType(tmpNode).adjustPrefix();\r
147                 }\r
148         }\r
149         public void setXsiType() {\r
150                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
151                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "shape");\r
152         }\r
153 \r
154         public static int gethollowMinCount() {\r
155                 return 0;\r
156         }\r
157 \r
158         public static int gethollowMaxCount() {\r
159                 return 1;\r
160         }\r
161 \r
162         public int gethollowCount() {\r
163                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow");\r
164         }\r
165 \r
166         public boolean hashollow() {\r
167                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow");\r
168         }\r
169 \r
170         public hollowType newhollow() {\r
171                 return new hollowType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "hollow"));\r
172         }\r
173 \r
174         public hollowType gethollowAt(int index) throws Exception {\r
175                 return new hollowType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow", index));\r
176         }\r
177 \r
178         public org.w3c.dom.Node getStartinghollowCursor() throws Exception {\r
179                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow" );\r
180         }\r
181 \r
182         public org.w3c.dom.Node getAdvancedhollowCursor( org.w3c.dom.Node curNode ) throws Exception {\r
183                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow", curNode );\r
184         }\r
185 \r
186         public hollowType gethollowValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
187                 if( curNode == null )\r
188                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
189                 else\r
190                         return new hollowType(curNode);\r
191         }\r
192 \r
193         public hollowType gethollow() throws Exception \r
194  {\r
195                 return gethollowAt(0);\r
196         }\r
197 \r
198         public void removehollowAt(int index) {\r
199                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow", index);\r
200         }\r
201 \r
202         public void removehollow() {\r
203                 removehollowAt(0);\r
204         }\r
205 \r
206         public org.w3c.dom.Node addhollow(hollowType value) {\r
207                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "hollow", value);\r
208         }\r
209 \r
210         public void inserthollowAt(hollowType value, int index) {\r
211                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "hollow", index, value);\r
212         }\r
213 \r
214         public void replacehollowAt(hollowType value, int index) {\r
215                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "hollow", index, value);\r
216         }\r
217 \r
218         public static int getmassMinCount() {\r
219                 return 0;\r
220         }\r
221 \r
222         public static int getmassMaxCount() {\r
223                 return 1;\r
224         }\r
225 \r
226         public int getmassCount() {\r
227                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");\r
228         }\r
229 \r
230         public boolean hasmass() {\r
231                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");\r
232         }\r
233 \r
234         public TargetableFloat newmass() {\r
235                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass"));\r
236         }\r
237 \r
238         public TargetableFloat getmassAt(int index) throws Exception {\r
239                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index));\r
240         }\r
241 \r
242         public org.w3c.dom.Node getStartingmassCursor() throws Exception {\r
243                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );\r
244         }\r
245 \r
246         public org.w3c.dom.Node getAdvancedmassCursor( org.w3c.dom.Node curNode ) throws Exception {\r
247                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", curNode );\r
248         }\r
249 \r
250         public TargetableFloat getmassValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
251                 if( curNode == null )\r
252                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
253                 else\r
254                         return new TargetableFloat(curNode);\r
255         }\r
256 \r
257         public TargetableFloat getmass() throws Exception \r
258  {\r
259                 return getmassAt(0);\r
260         }\r
261 \r
262         public void removemassAt(int index) {\r
263                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index);\r
264         }\r
265 \r
266         public void removemass() {\r
267                 removemassAt(0);\r
268         }\r
269 \r
270         public org.w3c.dom.Node addmass(TargetableFloat value) {\r
271                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass", value);\r
272         }\r
273 \r
274         public void insertmassAt(TargetableFloat value, int index) {\r
275                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);\r
276         }\r
277 \r
278         public void replacemassAt(TargetableFloat value, int index) {\r
279                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);\r
280         }\r
281 \r
282         public static int getdensityMinCount() {\r
283                 return 0;\r
284         }\r
285 \r
286         public static int getdensityMaxCount() {\r
287                 return 1;\r
288         }\r
289 \r
290         public int getdensityCount() {\r
291                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "density");\r
292         }\r
293 \r
294         public boolean hasdensity() {\r
295                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "density");\r
296         }\r
297 \r
298         public TargetableFloat newdensity() {\r
299                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "density"));\r
300         }\r
301 \r
302         public TargetableFloat getdensityAt(int index) throws Exception {\r
303                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "density", index));\r
304         }\r
305 \r
306         public org.w3c.dom.Node getStartingdensityCursor() throws Exception {\r
307                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "density" );\r
308         }\r
309 \r
310         public org.w3c.dom.Node getAdvanceddensityCursor( org.w3c.dom.Node curNode ) throws Exception {\r
311                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "density", curNode );\r
312         }\r
313 \r
314         public TargetableFloat getdensityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
315                 if( curNode == null )\r
316                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
317                 else\r
318                         return new TargetableFloat(curNode);\r
319         }\r
320 \r
321         public TargetableFloat getdensity() throws Exception \r
322  {\r
323                 return getdensityAt(0);\r
324         }\r
325 \r
326         public void removedensityAt(int index) {\r
327                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "density", index);\r
328         }\r
329 \r
330         public void removedensity() {\r
331                 removedensityAt(0);\r
332         }\r
333 \r
334         public org.w3c.dom.Node adddensity(TargetableFloat value) {\r
335                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "density", value);\r
336         }\r
337 \r
338         public void insertdensityAt(TargetableFloat value, int index) {\r
339                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "density", index, value);\r
340         }\r
341 \r
342         public void replacedensityAt(TargetableFloat value, int index) {\r
343                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "density", index, value);\r
344         }\r
345 \r
346         public static int getinstance_physics_materialMinCount() {\r
347                 return 1;\r
348         }\r
349 \r
350         public static int getinstance_physics_materialMaxCount() {\r
351                 return 1;\r
352         }\r
353 \r
354         public int getinstance_physics_materialCount() {\r
355                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");\r
356         }\r
357 \r
358         public boolean hasinstance_physics_material() {\r
359                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");\r
360         }\r
361 \r
362         public InstanceWithExtra newinstance_physics_material() {\r
363                 return new InstanceWithExtra(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material"));\r
364         }\r
365 \r
366         public InstanceWithExtra getinstance_physics_materialAt(int index) throws Exception {\r
367                 return new InstanceWithExtra(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index));\r
368         }\r
369 \r
370         public org.w3c.dom.Node getStartinginstance_physics_materialCursor() throws Exception {\r
371                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );\r
372         }\r
373 \r
374         public org.w3c.dom.Node getAdvancedinstance_physics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {\r
375                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", curNode );\r
376         }\r
377 \r
378         public InstanceWithExtra getinstance_physics_materialValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
379                 if( curNode == null )\r
380                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
381                 else\r
382                         return new InstanceWithExtra(curNode);\r
383         }\r
384 \r
385         public InstanceWithExtra getinstance_physics_material() throws Exception \r
386  {\r
387                 return getinstance_physics_materialAt(0);\r
388         }\r
389 \r
390         public void removeinstance_physics_materialAt(int index) {\r
391                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index);\r
392         }\r
393 \r
394         public void removeinstance_physics_material() {\r
395                 removeinstance_physics_materialAt(0);\r
396         }\r
397 \r
398         public org.w3c.dom.Node addinstance_physics_material(InstanceWithExtra value) {\r
399                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", value);\r
400         }\r
401 \r
402         public void insertinstance_physics_materialAt(InstanceWithExtra value, int index) {\r
403                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);\r
404         }\r
405 \r
406         public void replaceinstance_physics_materialAt(InstanceWithExtra value, int index) {\r
407                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);\r
408         }\r
409 \r
410         public static int getphysics_materialMinCount() {\r
411                 return 1;\r
412         }\r
413 \r
414         public static int getphysics_materialMaxCount() {\r
415                 return 1;\r
416         }\r
417 \r
418         public int getphysics_materialCount() {\r
419                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");\r
420         }\r
421 \r
422         public boolean hasphysics_material() {\r
423                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");\r
424         }\r
425 \r
426         public physics_materialType newphysics_material() {\r
427                 return new physics_materialType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "physics_material"));\r
428         }\r
429 \r
430         public physics_materialType getphysics_materialAt(int index) throws Exception {\r
431                 return new physics_materialType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index));\r
432         }\r
433 \r
434         public org.w3c.dom.Node getStartingphysics_materialCursor() throws Exception {\r
435                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );\r
436         }\r
437 \r
438         public org.w3c.dom.Node getAdvancedphysics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {\r
439                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", curNode );\r
440         }\r
441 \r
442         public physics_materialType getphysics_materialValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
443                 if( curNode == null )\r
444                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
445                 else\r
446                         return new physics_materialType(curNode);\r
447         }\r
448 \r
449         public physics_materialType getphysics_material() throws Exception \r
450  {\r
451                 return getphysics_materialAt(0);\r
452         }\r
453 \r
454         public void removephysics_materialAt(int index) {\r
455                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index);\r
456         }\r
457 \r
458         public void removephysics_material() {\r
459                 removephysics_materialAt(0);\r
460         }\r
461 \r
462         public org.w3c.dom.Node addphysics_material(physics_materialType value) {\r
463                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "physics_material", value);\r
464         }\r
465 \r
466         public void insertphysics_materialAt(physics_materialType value, int index) {\r
467                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);\r
468         }\r
469 \r
470         public void replacephysics_materialAt(physics_materialType value, int index) {\r
471                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);\r
472         }\r
473 \r
474         public static int getinstance_geometryMinCount() {\r
475                 return 1;\r
476         }\r
477 \r
478         public static int getinstance_geometryMaxCount() {\r
479                 return 1;\r
480         }\r
481 \r
482         public int getinstance_geometryCount() {\r
483                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry");\r
484         }\r
485 \r
486         public boolean hasinstance_geometry() {\r
487                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry");\r
488         }\r
489 \r
490         public instance_geometryType newinstance_geometry() {\r
491                 return new instance_geometryType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "instance_geometry"));\r
492         }\r
493 \r
494         public instance_geometryType getinstance_geometryAt(int index) throws Exception {\r
495                 return new instance_geometryType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", index));\r
496         }\r
497 \r
498         public org.w3c.dom.Node getStartinginstance_geometryCursor() throws Exception {\r
499                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry" );\r
500         }\r
501 \r
502         public org.w3c.dom.Node getAdvancedinstance_geometryCursor( org.w3c.dom.Node curNode ) throws Exception {\r
503                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", curNode );\r
504         }\r
505 \r
506         public instance_geometryType getinstance_geometryValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
507                 if( curNode == null )\r
508                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
509                 else\r
510                         return new instance_geometryType(curNode);\r
511         }\r
512 \r
513         public instance_geometryType getinstance_geometry() throws Exception \r
514  {\r
515                 return getinstance_geometryAt(0);\r
516         }\r
517 \r
518         public void removeinstance_geometryAt(int index) {\r
519                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", index);\r
520         }\r
521 \r
522         public void removeinstance_geometry() {\r
523                 removeinstance_geometryAt(0);\r
524         }\r
525 \r
526         public org.w3c.dom.Node addinstance_geometry(instance_geometryType value) {\r
527                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", value);\r
528         }\r
529 \r
530         public void insertinstance_geometryAt(instance_geometryType value, int index) {\r
531                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", index, value);\r
532         }\r
533 \r
534         public void replaceinstance_geometryAt(instance_geometryType value, int index) {\r
535                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", index, value);\r
536         }\r
537 \r
538         public static int getplaneMinCount() {\r
539                 return 1;\r
540         }\r
541 \r
542         public static int getplaneMaxCount() {\r
543                 return 1;\r
544         }\r
545 \r
546         public int getplaneCount() {\r
547                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "plane");\r
548         }\r
549 \r
550         public boolean hasplane() {\r
551                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "plane");\r
552         }\r
553 \r
554         public planeType newplane() {\r
555                 return new planeType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "plane"));\r
556         }\r
557 \r
558         public planeType getplaneAt(int index) throws Exception {\r
559                 return new planeType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "plane", index));\r
560         }\r
561 \r
562         public org.w3c.dom.Node getStartingplaneCursor() throws Exception {\r
563                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "plane" );\r
564         }\r
565 \r
566         public org.w3c.dom.Node getAdvancedplaneCursor( org.w3c.dom.Node curNode ) throws Exception {\r
567                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "plane", curNode );\r
568         }\r
569 \r
570         public planeType getplaneValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
571                 if( curNode == null )\r
572                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
573                 else\r
574                         return new planeType(curNode);\r
575         }\r
576 \r
577         public planeType getplane() throws Exception \r
578  {\r
579                 return getplaneAt(0);\r
580         }\r
581 \r
582         public void removeplaneAt(int index) {\r
583                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "plane", index);\r
584         }\r
585 \r
586         public void removeplane() {\r
587                 removeplaneAt(0);\r
588         }\r
589 \r
590         public org.w3c.dom.Node addplane(planeType value) {\r
591                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "plane", value);\r
592         }\r
593 \r
594         public void insertplaneAt(planeType value, int index) {\r
595                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "plane", index, value);\r
596         }\r
597 \r
598         public void replaceplaneAt(planeType value, int index) {\r
599                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "plane", index, value);\r
600         }\r
601 \r
602         public static int getboxMinCount() {\r
603                 return 1;\r
604         }\r
605 \r
606         public static int getboxMaxCount() {\r
607                 return 1;\r
608         }\r
609 \r
610         public int getboxCount() {\r
611                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "box");\r
612         }\r
613 \r
614         public boolean hasbox() {\r
615                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "box");\r
616         }\r
617 \r
618         public boxType newbox() {\r
619                 return new boxType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "box"));\r
620         }\r
621 \r
622         public boxType getboxAt(int index) throws Exception {\r
623                 return new boxType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "box", index));\r
624         }\r
625 \r
626         public org.w3c.dom.Node getStartingboxCursor() throws Exception {\r
627                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "box" );\r
628         }\r
629 \r
630         public org.w3c.dom.Node getAdvancedboxCursor( org.w3c.dom.Node curNode ) throws Exception {\r
631                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "box", curNode );\r
632         }\r
633 \r
634         public boxType getboxValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
635                 if( curNode == null )\r
636                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
637                 else\r
638                         return new boxType(curNode);\r
639         }\r
640 \r
641         public boxType getbox() throws Exception \r
642  {\r
643                 return getboxAt(0);\r
644         }\r
645 \r
646         public void removeboxAt(int index) {\r
647                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "box", index);\r
648         }\r
649 \r
650         public void removebox() {\r
651                 removeboxAt(0);\r
652         }\r
653 \r
654         public org.w3c.dom.Node addbox(boxType value) {\r
655                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "box", value);\r
656         }\r
657 \r
658         public void insertboxAt(boxType value, int index) {\r
659                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "box", index, value);\r
660         }\r
661 \r
662         public void replaceboxAt(boxType value, int index) {\r
663                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "box", index, value);\r
664         }\r
665 \r
666         public static int getsphereMinCount() {\r
667                 return 1;\r
668         }\r
669 \r
670         public static int getsphereMaxCount() {\r
671                 return 1;\r
672         }\r
673 \r
674         public int getsphereCount() {\r
675                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere");\r
676         }\r
677 \r
678         public boolean hassphere() {\r
679                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere");\r
680         }\r
681 \r
682         public sphereType newsphere() {\r
683                 return new sphereType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "sphere"));\r
684         }\r
685 \r
686         public sphereType getsphereAt(int index) throws Exception {\r
687                 return new sphereType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere", index));\r
688         }\r
689 \r
690         public org.w3c.dom.Node getStartingsphereCursor() throws Exception {\r
691                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere" );\r
692         }\r
693 \r
694         public org.w3c.dom.Node getAdvancedsphereCursor( org.w3c.dom.Node curNode ) throws Exception {\r
695                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere", curNode );\r
696         }\r
697 \r
698         public sphereType getsphereValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
699                 if( curNode == null )\r
700                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
701                 else\r
702                         return new sphereType(curNode);\r
703         }\r
704 \r
705         public sphereType getsphere() throws Exception \r
706  {\r
707                 return getsphereAt(0);\r
708         }\r
709 \r
710         public void removesphereAt(int index) {\r
711                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere", index);\r
712         }\r
713 \r
714         public void removesphere() {\r
715                 removesphereAt(0);\r
716         }\r
717 \r
718         public org.w3c.dom.Node addsphere(sphereType value) {\r
719                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "sphere", value);\r
720         }\r
721 \r
722         public void insertsphereAt(sphereType value, int index) {\r
723                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sphere", index, value);\r
724         }\r
725 \r
726         public void replacesphereAt(sphereType value, int index) {\r
727                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "sphere", index, value);\r
728         }\r
729 \r
730         public static int getcylinderMinCount() {\r
731                 return 1;\r
732         }\r
733 \r
734         public static int getcylinderMaxCount() {\r
735                 return 1;\r
736         }\r
737 \r
738         public int getcylinderCount() {\r
739                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder");\r
740         }\r
741 \r
742         public boolean hascylinder() {\r
743                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder");\r
744         }\r
745 \r
746         public cylinderType newcylinder() {\r
747                 return new cylinderType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "cylinder"));\r
748         }\r
749 \r
750         public cylinderType getcylinderAt(int index) throws Exception {\r
751                 return new cylinderType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder", index));\r
752         }\r
753 \r
754         public org.w3c.dom.Node getStartingcylinderCursor() throws Exception {\r
755                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder" );\r
756         }\r
757 \r
758         public org.w3c.dom.Node getAdvancedcylinderCursor( org.w3c.dom.Node curNode ) throws Exception {\r
759                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder", curNode );\r
760         }\r
761 \r
762         public cylinderType getcylinderValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
763                 if( curNode == null )\r
764                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
765                 else\r
766                         return new cylinderType(curNode);\r
767         }\r
768 \r
769         public cylinderType getcylinder() throws Exception \r
770  {\r
771                 return getcylinderAt(0);\r
772         }\r
773 \r
774         public void removecylinderAt(int index) {\r
775                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder", index);\r
776         }\r
777 \r
778         public void removecylinder() {\r
779                 removecylinderAt(0);\r
780         }\r
781 \r
782         public org.w3c.dom.Node addcylinder(cylinderType value) {\r
783                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "cylinder", value);\r
784         }\r
785 \r
786         public void insertcylinderAt(cylinderType value, int index) {\r
787                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "cylinder", index, value);\r
788         }\r
789 \r
790         public void replacecylinderAt(cylinderType value, int index) {\r
791                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "cylinder", index, value);\r
792         }\r
793 \r
794         public static int gettapered_cylinderMinCount() {\r
795                 return 1;\r
796         }\r
797 \r
798         public static int gettapered_cylinderMaxCount() {\r
799                 return 1;\r
800         }\r
801 \r
802         public int gettapered_cylinderCount() {\r
803                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder");\r
804         }\r
805 \r
806         public boolean hastapered_cylinder() {\r
807                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder");\r
808         }\r
809 \r
810         public tapered_cylinderType newtapered_cylinder() {\r
811                 return new tapered_cylinderType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder"));\r
812         }\r
813 \r
814         public tapered_cylinderType gettapered_cylinderAt(int index) throws Exception {\r
815                 return new tapered_cylinderType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", index));\r
816         }\r
817 \r
818         public org.w3c.dom.Node getStartingtapered_cylinderCursor() throws Exception {\r
819                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder" );\r
820         }\r
821 \r
822         public org.w3c.dom.Node getAdvancedtapered_cylinderCursor( org.w3c.dom.Node curNode ) throws Exception {\r
823                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", curNode );\r
824         }\r
825 \r
826         public tapered_cylinderType gettapered_cylinderValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
827                 if( curNode == null )\r
828                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
829                 else\r
830                         return new tapered_cylinderType(curNode);\r
831         }\r
832 \r
833         public tapered_cylinderType gettapered_cylinder() throws Exception \r
834  {\r
835                 return gettapered_cylinderAt(0);\r
836         }\r
837 \r
838         public void removetapered_cylinderAt(int index) {\r
839                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", index);\r
840         }\r
841 \r
842         public void removetapered_cylinder() {\r
843                 removetapered_cylinderAt(0);\r
844         }\r
845 \r
846         public org.w3c.dom.Node addtapered_cylinder(tapered_cylinderType value) {\r
847                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", value);\r
848         }\r
849 \r
850         public void inserttapered_cylinderAt(tapered_cylinderType value, int index) {\r
851                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", index, value);\r
852         }\r
853 \r
854         public void replacetapered_cylinderAt(tapered_cylinderType value, int index) {\r
855                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", index, value);\r
856         }\r
857 \r
858         public static int getcapsuleMinCount() {\r
859                 return 1;\r
860         }\r
861 \r
862         public static int getcapsuleMaxCount() {\r
863                 return 1;\r
864         }\r
865 \r
866         public int getcapsuleCount() {\r
867                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule");\r
868         }\r
869 \r
870         public boolean hascapsule() {\r
871                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule");\r
872         }\r
873 \r
874         public capsuleType newcapsule() {\r
875                 return new capsuleType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "capsule"));\r
876         }\r
877 \r
878         public capsuleType getcapsuleAt(int index) throws Exception {\r
879                 return new capsuleType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule", index));\r
880         }\r
881 \r
882         public org.w3c.dom.Node getStartingcapsuleCursor() throws Exception {\r
883                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule" );\r
884         }\r
885 \r
886         public org.w3c.dom.Node getAdvancedcapsuleCursor( org.w3c.dom.Node curNode ) throws Exception {\r
887                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule", curNode );\r
888         }\r
889 \r
890         public capsuleType getcapsuleValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
891                 if( curNode == null )\r
892                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
893                 else\r
894                         return new capsuleType(curNode);\r
895         }\r
896 \r
897         public capsuleType getcapsule() throws Exception \r
898  {\r
899                 return getcapsuleAt(0);\r
900         }\r
901 \r
902         public void removecapsuleAt(int index) {\r
903                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule", index);\r
904         }\r
905 \r
906         public void removecapsule() {\r
907                 removecapsuleAt(0);\r
908         }\r
909 \r
910         public org.w3c.dom.Node addcapsule(capsuleType value) {\r
911                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "capsule", value);\r
912         }\r
913 \r
914         public void insertcapsuleAt(capsuleType value, int index) {\r
915                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "capsule", index, value);\r
916         }\r
917 \r
918         public void replacecapsuleAt(capsuleType value, int index) {\r
919                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "capsule", index, value);\r
920         }\r
921 \r
922         public static int gettapered_capsuleMinCount() {\r
923                 return 1;\r
924         }\r
925 \r
926         public static int gettapered_capsuleMaxCount() {\r
927                 return 1;\r
928         }\r
929 \r
930         public int gettapered_capsuleCount() {\r
931                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule");\r
932         }\r
933 \r
934         public boolean hastapered_capsule() {\r
935                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule");\r
936         }\r
937 \r
938         public tapered_capsuleType newtapered_capsule() {\r
939                 return new tapered_capsuleType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule"));\r
940         }\r
941 \r
942         public tapered_capsuleType gettapered_capsuleAt(int index) throws Exception {\r
943                 return new tapered_capsuleType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", index));\r
944         }\r
945 \r
946         public org.w3c.dom.Node getStartingtapered_capsuleCursor() throws Exception {\r
947                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule" );\r
948         }\r
949 \r
950         public org.w3c.dom.Node getAdvancedtapered_capsuleCursor( org.w3c.dom.Node curNode ) throws Exception {\r
951                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", curNode );\r
952         }\r
953 \r
954         public tapered_capsuleType gettapered_capsuleValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
955                 if( curNode == null )\r
956                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
957                 else\r
958                         return new tapered_capsuleType(curNode);\r
959         }\r
960 \r
961         public tapered_capsuleType gettapered_capsule() throws Exception \r
962  {\r
963                 return gettapered_capsuleAt(0);\r
964         }\r
965 \r
966         public void removetapered_capsuleAt(int index) {\r
967                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", index);\r
968         }\r
969 \r
970         public void removetapered_capsule() {\r
971                 removetapered_capsuleAt(0);\r
972         }\r
973 \r
974         public org.w3c.dom.Node addtapered_capsule(tapered_capsuleType value) {\r
975                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", value);\r
976         }\r
977 \r
978         public void inserttapered_capsuleAt(tapered_capsuleType value, int index) {\r
979                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", index, value);\r
980         }\r
981 \r
982         public void replacetapered_capsuleAt(tapered_capsuleType value, int index) {\r
983                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", index, value);\r
984         }\r
985 \r
986         public static int gettranslateMinCount() {\r
987                 return 1;\r
988         }\r
989 \r
990         public static int gettranslateMaxCount() {\r
991                 return 1;\r
992         }\r
993 \r
994         public int gettranslateCount() {\r
995                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "translate");\r
996         }\r
997 \r
998         public boolean hastranslate() {\r
999                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "translate");\r
1000         }\r
1001 \r
1002         public TargetableFloat3 newtranslate() {\r
1003                 return new TargetableFloat3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "translate"));\r
1004         }\r
1005 \r
1006         public TargetableFloat3 gettranslateAt(int index) throws Exception {\r
1007                 return new TargetableFloat3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "translate", index));\r
1008         }\r
1009 \r
1010         public org.w3c.dom.Node getStartingtranslateCursor() throws Exception {\r
1011                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "translate" );\r
1012         }\r
1013 \r
1014         public org.w3c.dom.Node getAdvancedtranslateCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1015                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "translate", curNode );\r
1016         }\r
1017 \r
1018         public TargetableFloat3 gettranslateValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1019                 if( curNode == null )\r
1020                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1021                 else\r
1022                         return new TargetableFloat3(curNode);\r
1023         }\r
1024 \r
1025         public TargetableFloat3 gettranslate() throws Exception \r
1026  {\r
1027                 return gettranslateAt(0);\r
1028         }\r
1029 \r
1030         public void removetranslateAt(int index) {\r
1031                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "translate", index);\r
1032         }\r
1033 \r
1034         public void removetranslate() {\r
1035                 removetranslateAt(0);\r
1036         }\r
1037 \r
1038         public org.w3c.dom.Node addtranslate(TargetableFloat3 value) {\r
1039                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "translate", value);\r
1040         }\r
1041 \r
1042         public void inserttranslateAt(TargetableFloat3 value, int index) {\r
1043                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "translate", index, value);\r
1044         }\r
1045 \r
1046         public void replacetranslateAt(TargetableFloat3 value, int index) {\r
1047                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "translate", index, value);\r
1048         }\r
1049 \r
1050         public static int getrotateMinCount() {\r
1051                 return 1;\r
1052         }\r
1053 \r
1054         public static int getrotateMaxCount() {\r
1055                 return 1;\r
1056         }\r
1057 \r
1058         public int getrotateCount() {\r
1059                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate");\r
1060         }\r
1061 \r
1062         public boolean hasrotate() {\r
1063                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate");\r
1064         }\r
1065 \r
1066         public rotateType newrotate() {\r
1067                 return new rotateType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "rotate"));\r
1068         }\r
1069 \r
1070         public rotateType getrotateAt(int index) throws Exception {\r
1071                 return new rotateType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate", index));\r
1072         }\r
1073 \r
1074         public org.w3c.dom.Node getStartingrotateCursor() throws Exception {\r
1075                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate" );\r
1076         }\r
1077 \r
1078         public org.w3c.dom.Node getAdvancedrotateCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1079                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate", curNode );\r
1080         }\r
1081 \r
1082         public rotateType getrotateValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1083                 if( curNode == null )\r
1084                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1085                 else\r
1086                         return new rotateType(curNode);\r
1087         }\r
1088 \r
1089         public rotateType getrotate() throws Exception \r
1090  {\r
1091                 return getrotateAt(0);\r
1092         }\r
1093 \r
1094         public void removerotateAt(int index) {\r
1095                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate", index);\r
1096         }\r
1097 \r
1098         public void removerotate() {\r
1099                 removerotateAt(0);\r
1100         }\r
1101 \r
1102         public org.w3c.dom.Node addrotate(rotateType value) {\r
1103                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "rotate", value);\r
1104         }\r
1105 \r
1106         public void insertrotateAt(rotateType value, int index) {\r
1107                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "rotate", index, value);\r
1108         }\r
1109 \r
1110         public void replacerotateAt(rotateType value, int index) {\r
1111                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "rotate", index, value);\r
1112         }\r
1113 \r
1114         public static int getextraMinCount() {\r
1115                 return 0;\r
1116         }\r
1117 \r
1118         public static int getextraMaxCount() {\r
1119                 return Integer.MAX_VALUE;\r
1120         }\r
1121 \r
1122         public int getextraCount() {\r
1123                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
1124         }\r
1125 \r
1126         public boolean hasextra() {\r
1127                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
1128         }\r
1129 \r
1130         public extraType newextra() {\r
1131                 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));\r
1132         }\r
1133 \r
1134         public extraType getextraAt(int index) throws Exception {\r
1135                 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));\r
1136         }\r
1137 \r
1138         public org.w3c.dom.Node getStartingextraCursor() throws Exception {\r
1139                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
1140         }\r
1141 \r
1142         public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1143                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );\r
1144         }\r
1145 \r
1146         public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
1147                 if( curNode == null )\r
1148                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
1149                 else\r
1150                         return new extraType(curNode);\r
1151         }\r
1152 \r
1153         public extraType getextra() throws Exception \r
1154  {\r
1155                 return getextraAt(0);\r
1156         }\r
1157 \r
1158         public void removeextraAt(int index) {\r
1159                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);\r
1160         }\r
1161 \r
1162         public void removeextra() {\r
1163                 while (hasextra())\r
1164                         removeextraAt(0);\r
1165         }\r
1166 \r
1167         public org.w3c.dom.Node addextra(extraType value) {\r
1168                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);\r
1169         }\r
1170 \r
1171         public void insertextraAt(extraType value, int index) {\r
1172                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
1173         }\r
1174 \r
1175         public void replaceextraAt(extraType value, int index) {\r
1176                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
1177         }\r
1178 \r
1179 }\r