OSDN Git Service

629707a524a8c5edcffcbb8e339f9cc343b40e9f
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / meshType.java
1 /**\r
2  * meshType.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 meshType extends com.jmex.xml.xml.Node {\r
18 \r
19         public meshType(meshType node) {\r
20                 super(node);\r
21         }\r
22 \r
23         public meshType(org.w3c.dom.Node node) {\r
24                 super(node);\r
25         }\r
26 \r
27         public meshType(org.w3c.dom.Document doc) {\r
28                 super(doc);\r
29         }\r
30 \r
31         public meshType(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", "source" );\r
37                                 tmpNode != null;\r
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", tmpNode )\r
39                         ) {\r
40                         internalAdjustPrefix(tmpNode, true);\r
41                         new sourceType(tmpNode).adjustPrefix();\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new verticesType(tmpNode).adjustPrefix();\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                         new linesType(tmpNode).adjustPrefix();\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                         new linestripsType(tmpNode).adjustPrefix();\r
63                 }\r
64                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons" );\r
65                                 tmpNode != null;\r
66                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", tmpNode )\r
67                         ) {\r
68                         internalAdjustPrefix(tmpNode, true);\r
69                         new polygonsType(tmpNode).adjustPrefix();\r
70                 }\r
71                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist" );\r
72                                 tmpNode != null;\r
73                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", tmpNode )\r
74                         ) {\r
75                         internalAdjustPrefix(tmpNode, true);\r
76                         new polylistType(tmpNode).adjustPrefix();\r
77                 }\r
78                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles" );\r
79                                 tmpNode != null;\r
80                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", tmpNode )\r
81                         ) {\r
82                         internalAdjustPrefix(tmpNode, true);\r
83                         new trianglesType(tmpNode).adjustPrefix();\r
84                 }\r
85                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans" );\r
86                                 tmpNode != null;\r
87                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", tmpNode )\r
88                         ) {\r
89                         internalAdjustPrefix(tmpNode, true);\r
90                         new trifansType(tmpNode).adjustPrefix();\r
91                 }\r
92                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips" );\r
93                                 tmpNode != null;\r
94                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", tmpNode )\r
95                         ) {\r
96                         internalAdjustPrefix(tmpNode, true);\r
97                         new tristripsType(tmpNode).adjustPrefix();\r
98                 }\r
99                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
100                                 tmpNode != null;\r
101                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )\r
102                         ) {\r
103                         internalAdjustPrefix(tmpNode, true);\r
104                         new extraType(tmpNode).adjustPrefix();\r
105                 }\r
106         }\r
107         public void setXsiType() {\r
108                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
109                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "mesh");\r
110         }\r
111 \r
112         public static int getsourceMinCount() {\r
113                 return 1;\r
114         }\r
115 \r
116         public static int getsourceMaxCount() {\r
117                 return Integer.MAX_VALUE;\r
118         }\r
119 \r
120         public int getsourceCount() {\r
121                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");\r
122         }\r
123 \r
124         public boolean hassource() {\r
125                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");\r
126         }\r
127 \r
128         public sourceType newsource() {\r
129                 return new sourceType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "source"));\r
130         }\r
131 \r
132         public sourceType getsourceAt(int index) throws Exception {\r
133                 return new sourceType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index));\r
134         }\r
135 \r
136         public org.w3c.dom.Node getStartingsourceCursor() throws Exception {\r
137                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );\r
138         }\r
139 \r
140         public org.w3c.dom.Node getAdvancedsourceCursor( org.w3c.dom.Node curNode ) throws Exception {\r
141                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", curNode );\r
142         }\r
143 \r
144         public sourceType getsourceValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
145                 if( curNode == null )\r
146                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
147                 else\r
148                         return new sourceType(curNode);\r
149         }\r
150 \r
151         public sourceType getsource() throws Exception \r
152  {\r
153                 return getsourceAt(0);\r
154         }\r
155 \r
156         public void removesourceAt(int index) {\r
157                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index);\r
158         }\r
159 \r
160         public void removesource() {\r
161                 while (hassource())\r
162                         removesourceAt(0);\r
163         }\r
164 \r
165         public org.w3c.dom.Node addsource(sourceType value) {\r
166                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "source", value);\r
167         }\r
168 \r
169         public void insertsourceAt(sourceType value, int index) {\r
170                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "source", index, value);\r
171         }\r
172 \r
173         public void replacesourceAt(sourceType value, int index) {\r
174                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "source", index, value);\r
175         }\r
176 \r
177         public static int getverticesMinCount() {\r
178                 return 1;\r
179         }\r
180 \r
181         public static int getverticesMaxCount() {\r
182                 return 1;\r
183         }\r
184 \r
185         public int getverticesCount() {\r
186                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices");\r
187         }\r
188 \r
189         public boolean hasvertices() {\r
190                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices");\r
191         }\r
192 \r
193         public verticesType newvertices() {\r
194                 return new verticesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "vertices"));\r
195         }\r
196 \r
197         public verticesType getverticesAt(int index) throws Exception {\r
198                 return new verticesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", index));\r
199         }\r
200 \r
201         public org.w3c.dom.Node getStartingverticesCursor() throws Exception {\r
202                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices" );\r
203         }\r
204 \r
205         public org.w3c.dom.Node getAdvancedverticesCursor( org.w3c.dom.Node curNode ) throws Exception {\r
206                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", curNode );\r
207         }\r
208 \r
209         public verticesType getverticesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
210                 if( curNode == null )\r
211                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
212                 else\r
213                         return new verticesType(curNode);\r
214         }\r
215 \r
216         public verticesType getvertices() throws Exception \r
217  {\r
218                 return getverticesAt(0);\r
219         }\r
220 \r
221         public void removeverticesAt(int index) {\r
222                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", index);\r
223         }\r
224 \r
225         public void removevertices() {\r
226                 removeverticesAt(0);\r
227         }\r
228 \r
229         public org.w3c.dom.Node addvertices(verticesType value) {\r
230                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "vertices", value);\r
231         }\r
232 \r
233         public void insertverticesAt(verticesType value, int index) {\r
234                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "vertices", index, value);\r
235         }\r
236 \r
237         public void replaceverticesAt(verticesType value, int index) {\r
238                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "vertices", index, value);\r
239         }\r
240 \r
241         public static int getlinesMinCount() {\r
242                 return 1;\r
243         }\r
244 \r
245         public static int getlinesMaxCount() {\r
246                 return 1;\r
247         }\r
248 \r
249         public int getlinesCount() {\r
250                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines");\r
251         }\r
252 \r
253         public boolean haslines() {\r
254                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines");\r
255         }\r
256 \r
257         public linesType newlines() {\r
258                 return new linesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "lines"));\r
259         }\r
260 \r
261         public linesType getlinesAt(int index) throws Exception {\r
262                 return new linesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", index));\r
263         }\r
264 \r
265         public org.w3c.dom.Node getStartinglinesCursor() throws Exception {\r
266                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines" );\r
267         }\r
268 \r
269         public org.w3c.dom.Node getAdvancedlinesCursor( org.w3c.dom.Node curNode ) throws Exception {\r
270                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", curNode );\r
271         }\r
272 \r
273         public linesType getlinesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
274                 if( curNode == null )\r
275                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
276                 else\r
277                         return new linesType(curNode);\r
278         }\r
279 \r
280         public linesType getlines() throws Exception \r
281  {\r
282                 return getlinesAt(0);\r
283         }\r
284 \r
285         public void removelinesAt(int index) {\r
286                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", index);\r
287         }\r
288 \r
289         public void removelines() {\r
290                 removelinesAt(0);\r
291         }\r
292 \r
293         public org.w3c.dom.Node addlines(linesType value) {\r
294                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "lines", value);\r
295         }\r
296 \r
297         public void insertlinesAt(linesType value, int index) {\r
298                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lines", index, value);\r
299         }\r
300 \r
301         public void replacelinesAt(linesType value, int index) {\r
302                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lines", index, value);\r
303         }\r
304 \r
305         public static int getlinestripsMinCount() {\r
306                 return 1;\r
307         }\r
308 \r
309         public static int getlinestripsMaxCount() {\r
310                 return 1;\r
311         }\r
312 \r
313         public int getlinestripsCount() {\r
314                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips");\r
315         }\r
316 \r
317         public boolean haslinestrips() {\r
318                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips");\r
319         }\r
320 \r
321         public linestripsType newlinestrips() {\r
322                 return new linestripsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "linestrips"));\r
323         }\r
324 \r
325         public linestripsType getlinestripsAt(int index) throws Exception {\r
326                 return new linestripsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", index));\r
327         }\r
328 \r
329         public org.w3c.dom.Node getStartinglinestripsCursor() throws Exception {\r
330                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips" );\r
331         }\r
332 \r
333         public org.w3c.dom.Node getAdvancedlinestripsCursor( org.w3c.dom.Node curNode ) throws Exception {\r
334                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", curNode );\r
335         }\r
336 \r
337         public linestripsType getlinestripsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
338                 if( curNode == null )\r
339                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
340                 else\r
341                         return new linestripsType(curNode);\r
342         }\r
343 \r
344         public linestripsType getlinestrips() throws Exception \r
345  {\r
346                 return getlinestripsAt(0);\r
347         }\r
348 \r
349         public void removelinestripsAt(int index) {\r
350                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", index);\r
351         }\r
352 \r
353         public void removelinestrips() {\r
354                 removelinestripsAt(0);\r
355         }\r
356 \r
357         public org.w3c.dom.Node addlinestrips(linestripsType value) {\r
358                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "linestrips", value);\r
359         }\r
360 \r
361         public void insertlinestripsAt(linestripsType value, int index) {\r
362                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linestrips", index, value);\r
363         }\r
364 \r
365         public void replacelinestripsAt(linestripsType value, int index) {\r
366                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linestrips", index, value);\r
367         }\r
368 \r
369         public static int getpolygonsMinCount() {\r
370                 return 1;\r
371         }\r
372 \r
373         public static int getpolygonsMaxCount() {\r
374                 return 1;\r
375         }\r
376 \r
377         public int getpolygonsCount() {\r
378                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons");\r
379         }\r
380 \r
381         public boolean haspolygons() {\r
382                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons");\r
383         }\r
384 \r
385         public polygonsType newpolygons() {\r
386                 return new polygonsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "polygons"));\r
387         }\r
388 \r
389         public polygonsType getpolygonsAt(int index) throws Exception {\r
390                 return new polygonsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", index));\r
391         }\r
392 \r
393         public org.w3c.dom.Node getStartingpolygonsCursor() throws Exception {\r
394                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons" );\r
395         }\r
396 \r
397         public org.w3c.dom.Node getAdvancedpolygonsCursor( org.w3c.dom.Node curNode ) throws Exception {\r
398                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", curNode );\r
399         }\r
400 \r
401         public polygonsType getpolygonsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
402                 if( curNode == null )\r
403                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
404                 else\r
405                         return new polygonsType(curNode);\r
406         }\r
407 \r
408         public polygonsType getpolygons() throws Exception \r
409  {\r
410                 return getpolygonsAt(0);\r
411         }\r
412 \r
413         public void removepolygonsAt(int index) {\r
414                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", index);\r
415         }\r
416 \r
417         public void removepolygons() {\r
418                 removepolygonsAt(0);\r
419         }\r
420 \r
421         public org.w3c.dom.Node addpolygons(polygonsType value) {\r
422                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "polygons", value);\r
423         }\r
424 \r
425         public void insertpolygonsAt(polygonsType value, int index) {\r
426                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polygons", index, value);\r
427         }\r
428 \r
429         public void replacepolygonsAt(polygonsType value, int index) {\r
430                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polygons", index, value);\r
431         }\r
432 \r
433         public static int getpolylistMinCount() {\r
434                 return 1;\r
435         }\r
436 \r
437         public static int getpolylistMaxCount() {\r
438                 return 1;\r
439         }\r
440 \r
441         public int getpolylistCount() {\r
442                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist");\r
443         }\r
444 \r
445         public boolean haspolylist() {\r
446                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist");\r
447         }\r
448 \r
449         public polylistType newpolylist() {\r
450                 return new polylistType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "polylist"));\r
451         }\r
452 \r
453         public polylistType getpolylistAt(int index) throws Exception {\r
454                 return new polylistType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", index));\r
455         }\r
456 \r
457         public org.w3c.dom.Node getStartingpolylistCursor() throws Exception {\r
458                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist" );\r
459         }\r
460 \r
461         public org.w3c.dom.Node getAdvancedpolylistCursor( org.w3c.dom.Node curNode ) throws Exception {\r
462                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", curNode );\r
463         }\r
464 \r
465         public polylistType getpolylistValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
466                 if( curNode == null )\r
467                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
468                 else\r
469                         return new polylistType(curNode);\r
470         }\r
471 \r
472         public polylistType getpolylist() throws Exception \r
473  {\r
474                 return getpolylistAt(0);\r
475         }\r
476 \r
477         public void removepolylistAt(int index) {\r
478                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", index);\r
479         }\r
480 \r
481         public void removepolylist() {\r
482                 removepolylistAt(0);\r
483         }\r
484 \r
485         public org.w3c.dom.Node addpolylist(polylistType value) {\r
486                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "polylist", value);\r
487         }\r
488 \r
489         public void insertpolylistAt(polylistType value, int index) {\r
490                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polylist", index, value);\r
491         }\r
492 \r
493         public void replacepolylistAt(polylistType value, int index) {\r
494                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "polylist", index, value);\r
495         }\r
496 \r
497         public static int gettrianglesMinCount() {\r
498                 return 1;\r
499         }\r
500 \r
501         public static int gettrianglesMaxCount() {\r
502                 return 1;\r
503         }\r
504 \r
505         public int gettrianglesCount() {\r
506                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles");\r
507         }\r
508 \r
509         public boolean hastriangles() {\r
510                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles");\r
511         }\r
512 \r
513         public trianglesType newtriangles() {\r
514                 return new trianglesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "triangles"));\r
515         }\r
516 \r
517         public trianglesType gettrianglesAt(int index) throws Exception {\r
518                 return new trianglesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", index));\r
519         }\r
520 \r
521         public org.w3c.dom.Node getStartingtrianglesCursor() throws Exception {\r
522                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles" );\r
523         }\r
524 \r
525         public org.w3c.dom.Node getAdvancedtrianglesCursor( org.w3c.dom.Node curNode ) throws Exception {\r
526                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", curNode );\r
527         }\r
528 \r
529         public trianglesType gettrianglesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
530                 if( curNode == null )\r
531                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
532                 else\r
533                         return new trianglesType(curNode);\r
534         }\r
535 \r
536         public trianglesType gettriangles() throws Exception \r
537  {\r
538                 return gettrianglesAt(0);\r
539         }\r
540 \r
541         public void removetrianglesAt(int index) {\r
542                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", index);\r
543         }\r
544 \r
545         public void removetriangles() {\r
546                 removetrianglesAt(0);\r
547         }\r
548 \r
549         public org.w3c.dom.Node addtriangles(trianglesType value) {\r
550                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "triangles", value);\r
551         }\r
552 \r
553         public void inserttrianglesAt(trianglesType value, int index) {\r
554                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "triangles", index, value);\r
555         }\r
556 \r
557         public void replacetrianglesAt(trianglesType value, int index) {\r
558                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "triangles", index, value);\r
559         }\r
560 \r
561         public static int gettrifansMinCount() {\r
562                 return 1;\r
563         }\r
564 \r
565         public static int gettrifansMaxCount() {\r
566                 return 1;\r
567         }\r
568 \r
569         public int gettrifansCount() {\r
570                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans");\r
571         }\r
572 \r
573         public boolean hastrifans() {\r
574                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans");\r
575         }\r
576 \r
577         public trifansType newtrifans() {\r
578                 return new trifansType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "trifans"));\r
579         }\r
580 \r
581         public trifansType gettrifansAt(int index) throws Exception {\r
582                 return new trifansType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", index));\r
583         }\r
584 \r
585         public org.w3c.dom.Node getStartingtrifansCursor() throws Exception {\r
586                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans" );\r
587         }\r
588 \r
589         public org.w3c.dom.Node getAdvancedtrifansCursor( org.w3c.dom.Node curNode ) throws Exception {\r
590                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", curNode );\r
591         }\r
592 \r
593         public trifansType gettrifansValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
594                 if( curNode == null )\r
595                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
596                 else\r
597                         return new trifansType(curNode);\r
598         }\r
599 \r
600         public trifansType gettrifans() throws Exception \r
601  {\r
602                 return gettrifansAt(0);\r
603         }\r
604 \r
605         public void removetrifansAt(int index) {\r
606                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", index);\r
607         }\r
608 \r
609         public void removetrifans() {\r
610                 removetrifansAt(0);\r
611         }\r
612 \r
613         public org.w3c.dom.Node addtrifans(trifansType value) {\r
614                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "trifans", value);\r
615         }\r
616 \r
617         public void inserttrifansAt(trifansType value, int index) {\r
618                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "trifans", index, value);\r
619         }\r
620 \r
621         public void replacetrifansAt(trifansType value, int index) {\r
622                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "trifans", index, value);\r
623         }\r
624 \r
625         public static int gettristripsMinCount() {\r
626                 return 1;\r
627         }\r
628 \r
629         public static int gettristripsMaxCount() {\r
630                 return 1;\r
631         }\r
632 \r
633         public int gettristripsCount() {\r
634                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips");\r
635         }\r
636 \r
637         public boolean hastristrips() {\r
638                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips");\r
639         }\r
640 \r
641         public tristripsType newtristrips() {\r
642                 return new tristripsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "tristrips"));\r
643         }\r
644 \r
645         public tristripsType gettristripsAt(int index) throws Exception {\r
646                 return new tristripsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", index));\r
647         }\r
648 \r
649         public org.w3c.dom.Node getStartingtristripsCursor() throws Exception {\r
650                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips" );\r
651         }\r
652 \r
653         public org.w3c.dom.Node getAdvancedtristripsCursor( org.w3c.dom.Node curNode ) throws Exception {\r
654                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", curNode );\r
655         }\r
656 \r
657         public tristripsType gettristripsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
658                 if( curNode == null )\r
659                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
660                 else\r
661                         return new tristripsType(curNode);\r
662         }\r
663 \r
664         public tristripsType gettristrips() throws Exception \r
665  {\r
666                 return gettristripsAt(0);\r
667         }\r
668 \r
669         public void removetristripsAt(int index) {\r
670                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", index);\r
671         }\r
672 \r
673         public void removetristrips() {\r
674                 removetristripsAt(0);\r
675         }\r
676 \r
677         public org.w3c.dom.Node addtristrips(tristripsType value) {\r
678                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "tristrips", value);\r
679         }\r
680 \r
681         public void inserttristripsAt(tristripsType value, int index) {\r
682                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tristrips", index, value);\r
683         }\r
684 \r
685         public void replacetristripsAt(tristripsType value, int index) {\r
686                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "tristrips", index, value);\r
687         }\r
688 \r
689         public static int getextraMinCount() {\r
690                 return 0;\r
691         }\r
692 \r
693         public static int getextraMaxCount() {\r
694                 return Integer.MAX_VALUE;\r
695         }\r
696 \r
697         public int getextraCount() {\r
698                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
699         }\r
700 \r
701         public boolean hasextra() {\r
702                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
703         }\r
704 \r
705         public extraType newextra() {\r
706                 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));\r
707         }\r
708 \r
709         public extraType getextraAt(int index) throws Exception {\r
710                 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));\r
711         }\r
712 \r
713         public org.w3c.dom.Node getStartingextraCursor() throws Exception {\r
714                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
715         }\r
716 \r
717         public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {\r
718                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );\r
719         }\r
720 \r
721         public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
722                 if( curNode == null )\r
723                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
724                 else\r
725                         return new extraType(curNode);\r
726         }\r
727 \r
728         public extraType getextra() throws Exception \r
729  {\r
730                 return getextraAt(0);\r
731         }\r
732 \r
733         public void removeextraAt(int index) {\r
734                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);\r
735         }\r
736 \r
737         public void removeextra() {\r
738                 while (hasextra())\r
739                         removeextraAt(0);\r
740         }\r
741 \r
742         public org.w3c.dom.Node addextra(extraType value) {\r
743                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);\r
744         }\r
745 \r
746         public void insertextraAt(extraType value, int index) {\r
747                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
748         }\r
749 \r
750         public void replaceextraAt(extraType value, int index) {\r
751                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
752         }\r
753 \r
754 }\r