OSDN Git Service

Set optimal mime types and executable settings.
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / library_geometriesType.java
1 /**\r
2  * library_geometriesType.java\r
3  *\r
4  * This file was generated by XMLSpy 2007sp2 Enterprise Edition.\r
5  *\r
6  * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE\r
7  * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.\r
8  *\r
9  * Refer to the XMLSpy Documentation for further details.\r
10  * http://www.altova.com/xmlspy\r
11  */\r
12 \r
13 \r
14 package com.jmex.model.collada.schema;\r
15 \r
16 import com.jmex.xml.types.SchemaID;\r
17 import com.jmex.xml.types.SchemaNCName;\r
18 \r
19 public class library_geometriesType extends com.jmex.xml.xml.Node {\r
20 \r
21         public library_geometriesType(library_geometriesType node) {\r
22                 super(node);\r
23         }\r
24 \r
25         public library_geometriesType(org.w3c.dom.Node node) {\r
26                 super(node);\r
27         }\r
28 \r
29         public library_geometriesType(org.w3c.dom.Document doc) {\r
30                 super(doc);\r
31         }\r
32 \r
33         public library_geometriesType(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {\r
34                 super(doc, namespaceURI, prefix, name);\r
35         }\r
36         \r
37         public void adjustPrefix() {\r
38                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "id" );\r
39                                 tmpNode != null;\r
40                                 tmpNode = getDomNextChild( Attribute, null, "id", tmpNode )\r
41                         ) {\r
42                         internalAdjustPrefix(tmpNode, false);\r
43                 }\r
44                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "name" );\r
45                                 tmpNode != null;\r
46                                 tmpNode = getDomNextChild( Attribute, null, "name", tmpNode )\r
47                         ) {\r
48                         internalAdjustPrefix(tmpNode, false);\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                         new assetType(tmpNode).adjustPrefix();\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                         new geometryType(tmpNode).adjustPrefix();\r
63                 }\r
64                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
65                                 tmpNode != null;\r
66                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )\r
67                         ) {\r
68                         internalAdjustPrefix(tmpNode, true);\r
69                         new extraType(tmpNode).adjustPrefix();\r
70                 }\r
71         }\r
72         public void setXsiType() {\r
73                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
74                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "library_geometries");\r
75         }\r
76 \r
77         public static int getidMinCount() {\r
78                 return 0;\r
79         }\r
80 \r
81         public static int getidMaxCount() {\r
82                 return 1;\r
83         }\r
84 \r
85         public int getidCount() {\r
86                 return getDomChildCount(Attribute, null, "id");\r
87         }\r
88 \r
89         public boolean hasid() {\r
90                 return hasDomChild(Attribute, null, "id");\r
91         }\r
92 \r
93         public SchemaID newid() {\r
94                 return new SchemaID();\r
95         }\r
96 \r
97         public SchemaID getidAt(int index) throws Exception {\r
98                 return new SchemaID(getDomNodeValue(getDomChildAt(Attribute, null, "id", index)));\r
99         }\r
100 \r
101         public org.w3c.dom.Node getStartingidCursor() throws Exception {\r
102                 return getDomFirstChild(Attribute, null, "id" );\r
103         }\r
104 \r
105         public org.w3c.dom.Node getAdvancedidCursor( org.w3c.dom.Node curNode ) throws Exception {\r
106                 return getDomNextChild( Attribute, null, "id", curNode );\r
107         }\r
108 \r
109         public SchemaID getidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
110                 if( curNode == null )\r
111                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
112                 else\r
113                         return new SchemaID(getDomNodeValue(curNode));\r
114         }\r
115 \r
116         public SchemaID getid() throws Exception \r
117  {\r
118                 return getidAt(0);\r
119         }\r
120 \r
121         public void removeidAt(int index) {\r
122                 removeDomChildAt(Attribute, null, "id", index);\r
123         }\r
124 \r
125         public void removeid() {\r
126                 removeidAt(0);\r
127         }\r
128 \r
129         public org.w3c.dom.Node addid(SchemaID value) {\r
130                 if( value.isNull() )\r
131                         return null;\r
132 \r
133                 return  appendDomChild(Attribute, null, "id", value.toString());\r
134         }\r
135 \r
136         public org.w3c.dom.Node addid(String value) throws Exception {\r
137                 return addid(new SchemaID(value));\r
138         }\r
139 \r
140         public void insertidAt(SchemaID value, int index) {\r
141                 insertDomChildAt(Attribute, null, "id", index, value.toString());\r
142         }\r
143 \r
144         public void insertidAt(String value, int index) throws Exception {\r
145                 insertidAt(new SchemaID(value), index);\r
146         }\r
147 \r
148         public void replaceidAt(SchemaID value, int index) {\r
149                 replaceDomChildAt(Attribute, null, "id", index, value.toString());\r
150         }\r
151 \r
152         public void replaceidAt(String value, int index) throws Exception {\r
153                 replaceidAt(new SchemaID(value), index);\r
154         }\r
155 \r
156         public static int getnameMinCount() {\r
157                 return 0;\r
158         }\r
159 \r
160         public static int getnameMaxCount() {\r
161                 return 1;\r
162         }\r
163 \r
164         public int getnameCount() {\r
165                 return getDomChildCount(Attribute, null, "name");\r
166         }\r
167 \r
168         public boolean hasname() {\r
169                 return hasDomChild(Attribute, null, "name");\r
170         }\r
171 \r
172         public SchemaNCName newname() {\r
173                 return new SchemaNCName();\r
174         }\r
175 \r
176         public SchemaNCName getnameAt(int index) throws Exception {\r
177                 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "name", index)));\r
178         }\r
179 \r
180         public org.w3c.dom.Node getStartingnameCursor() throws Exception {\r
181                 return getDomFirstChild(Attribute, null, "name" );\r
182         }\r
183 \r
184         public org.w3c.dom.Node getAdvancednameCursor( org.w3c.dom.Node curNode ) throws Exception {\r
185                 return getDomNextChild( Attribute, null, "name", curNode );\r
186         }\r
187 \r
188         public SchemaNCName getnameValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
189                 if( curNode == null )\r
190                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
191                 else\r
192                         return new SchemaNCName(getDomNodeValue(curNode));\r
193         }\r
194 \r
195         public SchemaNCName getname() throws Exception \r
196  {\r
197                 return getnameAt(0);\r
198         }\r
199 \r
200         public void removenameAt(int index) {\r
201                 removeDomChildAt(Attribute, null, "name", index);\r
202         }\r
203 \r
204         public void removename() {\r
205                 removenameAt(0);\r
206         }\r
207 \r
208         public org.w3c.dom.Node addname(SchemaNCName value) {\r
209                 if( value.isNull() )\r
210                         return null;\r
211 \r
212                 return  appendDomChild(Attribute, null, "name", value.toString());\r
213         }\r
214 \r
215         public org.w3c.dom.Node addname(String value) throws Exception {\r
216                 return addname(new SchemaNCName(value));\r
217         }\r
218 \r
219         public void insertnameAt(SchemaNCName value, int index) {\r
220                 insertDomChildAt(Attribute, null, "name", index, value.toString());\r
221         }\r
222 \r
223         public void insertnameAt(String value, int index) throws Exception {\r
224                 insertnameAt(new SchemaNCName(value), index);\r
225         }\r
226 \r
227         public void replacenameAt(SchemaNCName value, int index) {\r
228                 replaceDomChildAt(Attribute, null, "name", index, value.toString());\r
229         }\r
230 \r
231         public void replacenameAt(String value, int index) throws Exception {\r
232                 replacenameAt(new SchemaNCName(value), index);\r
233         }\r
234 \r
235         public static int getassetMinCount() {\r
236                 return 0;\r
237         }\r
238 \r
239         public static int getassetMaxCount() {\r
240                 return 1;\r
241         }\r
242 \r
243         public int getassetCount() {\r
244                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");\r
245         }\r
246 \r
247         public boolean hasasset() {\r
248                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");\r
249         }\r
250 \r
251         public assetType newasset() {\r
252                 return new assetType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "asset"));\r
253         }\r
254 \r
255         public assetType getassetAt(int index) throws Exception {\r
256                 return new assetType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index));\r
257         }\r
258 \r
259         public org.w3c.dom.Node getStartingassetCursor() throws Exception {\r
260                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset" );\r
261         }\r
262 \r
263         public org.w3c.dom.Node getAdvancedassetCursor( org.w3c.dom.Node curNode ) throws Exception {\r
264                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", curNode );\r
265         }\r
266 \r
267         public assetType getassetValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
268                 if( curNode == null )\r
269                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
270                 else\r
271                         return new assetType(curNode);\r
272         }\r
273 \r
274         public assetType getasset() throws Exception \r
275  {\r
276                 return getassetAt(0);\r
277         }\r
278 \r
279         public void removeassetAt(int index) {\r
280                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index);\r
281         }\r
282 \r
283         public void removeasset() {\r
284                 removeassetAt(0);\r
285         }\r
286 \r
287         public org.w3c.dom.Node addasset(assetType value) {\r
288                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "asset", value);\r
289         }\r
290 \r
291         public void insertassetAt(assetType value, int index) {\r
292                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);\r
293         }\r
294 \r
295         public void replaceassetAt(assetType value, int index) {\r
296                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);\r
297         }\r
298 \r
299         public static int getgeometryMinCount() {\r
300                 return 1;\r
301         }\r
302 \r
303         public static int getgeometryMaxCount() {\r
304                 return Integer.MAX_VALUE;\r
305         }\r
306 \r
307         public int getgeometryCount() {\r
308                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry");\r
309         }\r
310 \r
311         public boolean hasgeometry() {\r
312                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry");\r
313         }\r
314 \r
315         public geometryType newgeometry() {\r
316                 return new geometryType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "geometry"));\r
317         }\r
318 \r
319         public geometryType getgeometryAt(int index) throws Exception {\r
320                 return new geometryType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry", index));\r
321         }\r
322 \r
323         public org.w3c.dom.Node getStartinggeometryCursor() throws Exception {\r
324                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry" );\r
325         }\r
326 \r
327         public org.w3c.dom.Node getAdvancedgeometryCursor( org.w3c.dom.Node curNode ) throws Exception {\r
328                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry", curNode );\r
329         }\r
330 \r
331         public geometryType getgeometryValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
332                 if( curNode == null )\r
333                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
334                 else\r
335                         return new geometryType(curNode);\r
336         }\r
337 \r
338         public geometryType getgeometry() throws Exception \r
339  {\r
340                 return getgeometryAt(0);\r
341         }\r
342 \r
343         public void removegeometryAt(int index) {\r
344                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "geometry", index);\r
345         }\r
346 \r
347         public void removegeometry() {\r
348                 while (hasgeometry())\r
349                         removegeometryAt(0);\r
350         }\r
351 \r
352         public org.w3c.dom.Node addgeometry(geometryType value) {\r
353                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "geometry", value);\r
354         }\r
355 \r
356         public void insertgeometryAt(geometryType value, int index) {\r
357                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "geometry", index, value);\r
358         }\r
359 \r
360         public void replacegeometryAt(geometryType value, int index) {\r
361                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "geometry", index, value);\r
362         }\r
363 \r
364         public static int getextraMinCount() {\r
365                 return 0;\r
366         }\r
367 \r
368         public static int getextraMaxCount() {\r
369                 return Integer.MAX_VALUE;\r
370         }\r
371 \r
372         public int getextraCount() {\r
373                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
374         }\r
375 \r
376         public boolean hasextra() {\r
377                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
378         }\r
379 \r
380         public extraType newextra() {\r
381                 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));\r
382         }\r
383 \r
384         public extraType getextraAt(int index) throws Exception {\r
385                 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));\r
386         }\r
387 \r
388         public org.w3c.dom.Node getStartingextraCursor() throws Exception {\r
389                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
390         }\r
391 \r
392         public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {\r
393                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );\r
394         }\r
395 \r
396         public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
397                 if( curNode == null )\r
398                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
399                 else\r
400                         return new extraType(curNode);\r
401         }\r
402 \r
403         public extraType getextra() throws Exception \r
404  {\r
405                 return getextraAt(0);\r
406         }\r
407 \r
408         public void removeextraAt(int index) {\r
409                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);\r
410         }\r
411 \r
412         public void removeextra() {\r
413                 while (hasextra())\r
414                         removeextraAt(0);\r
415         }\r
416 \r
417         public org.w3c.dom.Node addextra(extraType value) {\r
418                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);\r
419         }\r
420 \r
421         public void insertextraAt(extraType value, int index) {\r
422                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
423         }\r
424 \r
425         public void replaceextraAt(extraType value, int index) {\r
426                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
427         }\r
428 \r
429 }\r