OSDN Git Service

5718bf8409d3a833ee2bc12dd7ea9e52a51ed7b2
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / fx_sampler3D_common.java
1 /**\r
2  * fx_sampler3D_common.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.SchemaFloat;\r
17 import com.jmex.xml.types.SchemaNCName;\r
18 import com.jmex.xml.types.SchemaShort;\r
19 \r
20 public class fx_sampler3D_common extends com.jmex.xml.xml.Node {\r
21 \r
22         public fx_sampler3D_common(fx_sampler3D_common node) {\r
23                 super(node);\r
24         }\r
25 \r
26         public fx_sampler3D_common(org.w3c.dom.Node node) {\r
27                 super(node);\r
28         }\r
29 \r
30         public fx_sampler3D_common(org.w3c.dom.Document doc) {\r
31                 super(doc);\r
32         }\r
33 \r
34         public fx_sampler3D_common(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {\r
35                 super(doc, namespaceURI, prefix, name);\r
36         }\r
37         \r
38         public void adjustPrefix() {\r
39                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );\r
40                                 tmpNode != null;\r
41                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", tmpNode )\r
42                         ) {\r
43                         internalAdjustPrefix(tmpNode, true);\r
44                 }\r
45                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s" );\r
46                                 tmpNode != null;\r
47                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", tmpNode )\r
48                         ) {\r
49                         internalAdjustPrefix(tmpNode, true);\r
50                 }\r
51                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t" );\r
52                                 tmpNode != null;\r
53                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", tmpNode )\r
54                         ) {\r
55                         internalAdjustPrefix(tmpNode, true);\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                 }\r
63                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter" );\r
64                                 tmpNode != null;\r
65                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", tmpNode )\r
66                         ) {\r
67                         internalAdjustPrefix(tmpNode, true);\r
68                 }\r
69                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter" );\r
70                                 tmpNode != null;\r
71                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", tmpNode )\r
72                         ) {\r
73                         internalAdjustPrefix(tmpNode, true);\r
74                 }\r
75                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter" );\r
76                                 tmpNode != null;\r
77                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", tmpNode )\r
78                         ) {\r
79                         internalAdjustPrefix(tmpNode, true);\r
80                 }\r
81                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color" );\r
82                                 tmpNode != null;\r
83                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", tmpNode )\r
84                         ) {\r
85                         internalAdjustPrefix(tmpNode, true);\r
86                 }\r
87                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel" );\r
88                                 tmpNode != null;\r
89                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", tmpNode )\r
90                         ) {\r
91                         internalAdjustPrefix(tmpNode, true);\r
92                 }\r
93                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias" );\r
94                                 tmpNode != null;\r
95                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", tmpNode )\r
96                         ) {\r
97                         internalAdjustPrefix(tmpNode, true);\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", "fx_sampler3D_common");\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 1;\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 SchemaNCName newsource() {\r
129                 return new SchemaNCName();\r
130         }\r
131 \r
132         public SchemaNCName getsourceAt(int index) throws Exception {\r
133                 return new SchemaNCName(getDomNodeValue(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 SchemaNCName 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 SchemaNCName(getDomNodeValue(curNode));\r
149         }\r
150 \r
151         public SchemaNCName 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                 removesourceAt(0);\r
162         }\r
163 \r
164         public org.w3c.dom.Node addsource(SchemaNCName value) {\r
165                 if( value.isNull() )\r
166                         return null;\r
167 \r
168                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", value.toString());\r
169         }\r
170 \r
171         public org.w3c.dom.Node addsource(String value) throws Exception {\r
172                 return addsource(new SchemaNCName(value));\r
173         }\r
174 \r
175         public void insertsourceAt(SchemaNCName value, int index) {\r
176                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index, value.toString());\r
177         }\r
178 \r
179         public void insertsourceAt(String value, int index) throws Exception {\r
180                 insertsourceAt(new SchemaNCName(value), index);\r
181         }\r
182 \r
183         public void replacesourceAt(SchemaNCName value, int index) {\r
184                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index, value.toString());\r
185         }\r
186 \r
187         public void replacesourceAt(String value, int index) throws Exception {\r
188                 replacesourceAt(new SchemaNCName(value), index);\r
189         }\r
190 \r
191         public static int getwrap_sMinCount() {\r
192                 return 0;\r
193         }\r
194 \r
195         public static int getwrap_sMaxCount() {\r
196                 return 1;\r
197         }\r
198 \r
199         public int getwrap_sCount() {\r
200                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s");\r
201         }\r
202 \r
203         public boolean haswrap_s() {\r
204                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s");\r
205         }\r
206 \r
207         public fx_sampler_wrap_common newwrap_s() {\r
208                 return new fx_sampler_wrap_common();\r
209         }\r
210 \r
211         public fx_sampler_wrap_common getwrap_sAt(int index) throws Exception {\r
212                 return new fx_sampler_wrap_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index)));\r
213         }\r
214 \r
215         public org.w3c.dom.Node getStartingwrap_sCursor() throws Exception {\r
216                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s" );\r
217         }\r
218 \r
219         public org.w3c.dom.Node getAdvancedwrap_sCursor( org.w3c.dom.Node curNode ) throws Exception {\r
220                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", curNode );\r
221         }\r
222 \r
223         public fx_sampler_wrap_common getwrap_sValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
224                 if( curNode == null )\r
225                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
226                 else\r
227                         return new fx_sampler_wrap_common(getDomNodeValue(curNode));\r
228         }\r
229 \r
230         public fx_sampler_wrap_common getwrap_s() throws Exception \r
231  {\r
232                 return getwrap_sAt(0);\r
233         }\r
234 \r
235         public void removewrap_sAt(int index) {\r
236                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index);\r
237         }\r
238 \r
239         public void removewrap_s() {\r
240                 removewrap_sAt(0);\r
241         }\r
242 \r
243         public org.w3c.dom.Node addwrap_s(fx_sampler_wrap_common value) {\r
244                 if( value.isNull() )\r
245                         return null;\r
246 \r
247                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", value.toString());\r
248         }\r
249 \r
250         public org.w3c.dom.Node addwrap_s(String value) throws Exception {\r
251                 return addwrap_s(new fx_sampler_wrap_common(value));\r
252         }\r
253 \r
254         public void insertwrap_sAt(fx_sampler_wrap_common value, int index) {\r
255                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index, value.toString());\r
256         }\r
257 \r
258         public void insertwrap_sAt(String value, int index) throws Exception {\r
259                 insertwrap_sAt(new fx_sampler_wrap_common(value), index);\r
260         }\r
261 \r
262         public void replacewrap_sAt(fx_sampler_wrap_common value, int index) {\r
263                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index, value.toString());\r
264         }\r
265 \r
266         public void replacewrap_sAt(String value, int index) throws Exception {\r
267                 replacewrap_sAt(new fx_sampler_wrap_common(value), index);\r
268         }\r
269 \r
270         public static int getwrap_tMinCount() {\r
271                 return 0;\r
272         }\r
273 \r
274         public static int getwrap_tMaxCount() {\r
275                 return 1;\r
276         }\r
277 \r
278         public int getwrap_tCount() {\r
279                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t");\r
280         }\r
281 \r
282         public boolean haswrap_t() {\r
283                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t");\r
284         }\r
285 \r
286         public fx_sampler_wrap_common newwrap_t() {\r
287                 return new fx_sampler_wrap_common();\r
288         }\r
289 \r
290         public fx_sampler_wrap_common getwrap_tAt(int index) throws Exception {\r
291                 return new fx_sampler_wrap_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index)));\r
292         }\r
293 \r
294         public org.w3c.dom.Node getStartingwrap_tCursor() throws Exception {\r
295                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t" );\r
296         }\r
297 \r
298         public org.w3c.dom.Node getAdvancedwrap_tCursor( org.w3c.dom.Node curNode ) throws Exception {\r
299                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", curNode );\r
300         }\r
301 \r
302         public fx_sampler_wrap_common getwrap_tValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
303                 if( curNode == null )\r
304                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
305                 else\r
306                         return new fx_sampler_wrap_common(getDomNodeValue(curNode));\r
307         }\r
308 \r
309         public fx_sampler_wrap_common getwrap_t() throws Exception \r
310  {\r
311                 return getwrap_tAt(0);\r
312         }\r
313 \r
314         public void removewrap_tAt(int index) {\r
315                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index);\r
316         }\r
317 \r
318         public void removewrap_t() {\r
319                 removewrap_tAt(0);\r
320         }\r
321 \r
322         public org.w3c.dom.Node addwrap_t(fx_sampler_wrap_common value) {\r
323                 if( value.isNull() )\r
324                         return null;\r
325 \r
326                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", value.toString());\r
327         }\r
328 \r
329         public org.w3c.dom.Node addwrap_t(String value) throws Exception {\r
330                 return addwrap_t(new fx_sampler_wrap_common(value));\r
331         }\r
332 \r
333         public void insertwrap_tAt(fx_sampler_wrap_common value, int index) {\r
334                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index, value.toString());\r
335         }\r
336 \r
337         public void insertwrap_tAt(String value, int index) throws Exception {\r
338                 insertwrap_tAt(new fx_sampler_wrap_common(value), index);\r
339         }\r
340 \r
341         public void replacewrap_tAt(fx_sampler_wrap_common value, int index) {\r
342                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index, value.toString());\r
343         }\r
344 \r
345         public void replacewrap_tAt(String value, int index) throws Exception {\r
346                 replacewrap_tAt(new fx_sampler_wrap_common(value), index);\r
347         }\r
348 \r
349         public static int getwrap_pMinCount() {\r
350                 return 0;\r
351         }\r
352 \r
353         public static int getwrap_pMaxCount() {\r
354                 return 1;\r
355         }\r
356 \r
357         public int getwrap_pCount() {\r
358                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p");\r
359         }\r
360 \r
361         public boolean haswrap_p() {\r
362                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p");\r
363         }\r
364 \r
365         public fx_sampler_wrap_common newwrap_p() {\r
366                 return new fx_sampler_wrap_common();\r
367         }\r
368 \r
369         public fx_sampler_wrap_common getwrap_pAt(int index) throws Exception {\r
370                 return new fx_sampler_wrap_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", index)));\r
371         }\r
372 \r
373         public org.w3c.dom.Node getStartingwrap_pCursor() throws Exception {\r
374                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p" );\r
375         }\r
376 \r
377         public org.w3c.dom.Node getAdvancedwrap_pCursor( org.w3c.dom.Node curNode ) throws Exception {\r
378                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", curNode );\r
379         }\r
380 \r
381         public fx_sampler_wrap_common getwrap_pValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
382                 if( curNode == null )\r
383                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
384                 else\r
385                         return new fx_sampler_wrap_common(getDomNodeValue(curNode));\r
386         }\r
387 \r
388         public fx_sampler_wrap_common getwrap_p() throws Exception \r
389  {\r
390                 return getwrap_pAt(0);\r
391         }\r
392 \r
393         public void removewrap_pAt(int index) {\r
394                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", index);\r
395         }\r
396 \r
397         public void removewrap_p() {\r
398                 removewrap_pAt(0);\r
399         }\r
400 \r
401         public org.w3c.dom.Node addwrap_p(fx_sampler_wrap_common value) {\r
402                 if( value.isNull() )\r
403                         return null;\r
404 \r
405                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", value.toString());\r
406         }\r
407 \r
408         public org.w3c.dom.Node addwrap_p(String value) throws Exception {\r
409                 return addwrap_p(new fx_sampler_wrap_common(value));\r
410         }\r
411 \r
412         public void insertwrap_pAt(fx_sampler_wrap_common value, int index) {\r
413                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", index, value.toString());\r
414         }\r
415 \r
416         public void insertwrap_pAt(String value, int index) throws Exception {\r
417                 insertwrap_pAt(new fx_sampler_wrap_common(value), index);\r
418         }\r
419 \r
420         public void replacewrap_pAt(fx_sampler_wrap_common value, int index) {\r
421                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_p", index, value.toString());\r
422         }\r
423 \r
424         public void replacewrap_pAt(String value, int index) throws Exception {\r
425                 replacewrap_pAt(new fx_sampler_wrap_common(value), index);\r
426         }\r
427 \r
428         public static int getminfilterMinCount() {\r
429                 return 0;\r
430         }\r
431 \r
432         public static int getminfilterMaxCount() {\r
433                 return 1;\r
434         }\r
435 \r
436         public int getminfilterCount() {\r
437                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter");\r
438         }\r
439 \r
440         public boolean hasminfilter() {\r
441                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter");\r
442         }\r
443 \r
444         public fx_sampler_filter_common newminfilter() {\r
445                 return new fx_sampler_filter_common();\r
446         }\r
447 \r
448         public fx_sampler_filter_common getminfilterAt(int index) throws Exception {\r
449                 return new fx_sampler_filter_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index)));\r
450         }\r
451 \r
452         public org.w3c.dom.Node getStartingminfilterCursor() throws Exception {\r
453                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter" );\r
454         }\r
455 \r
456         public org.w3c.dom.Node getAdvancedminfilterCursor( org.w3c.dom.Node curNode ) throws Exception {\r
457                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", curNode );\r
458         }\r
459 \r
460         public fx_sampler_filter_common getminfilterValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
461                 if( curNode == null )\r
462                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
463                 else\r
464                         return new fx_sampler_filter_common(getDomNodeValue(curNode));\r
465         }\r
466 \r
467         public fx_sampler_filter_common getminfilter() throws Exception \r
468  {\r
469                 return getminfilterAt(0);\r
470         }\r
471 \r
472         public void removeminfilterAt(int index) {\r
473                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index);\r
474         }\r
475 \r
476         public void removeminfilter() {\r
477                 removeminfilterAt(0);\r
478         }\r
479 \r
480         public org.w3c.dom.Node addminfilter(fx_sampler_filter_common value) {\r
481                 if( value.isNull() )\r
482                         return null;\r
483 \r
484                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", value.toString());\r
485         }\r
486 \r
487         public org.w3c.dom.Node addminfilter(String value) throws Exception {\r
488                 return addminfilter(new fx_sampler_filter_common(value));\r
489         }\r
490 \r
491         public void insertminfilterAt(fx_sampler_filter_common value, int index) {\r
492                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index, value.toString());\r
493         }\r
494 \r
495         public void insertminfilterAt(String value, int index) throws Exception {\r
496                 insertminfilterAt(new fx_sampler_filter_common(value), index);\r
497         }\r
498 \r
499         public void replaceminfilterAt(fx_sampler_filter_common value, int index) {\r
500                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index, value.toString());\r
501         }\r
502 \r
503         public void replaceminfilterAt(String value, int index) throws Exception {\r
504                 replaceminfilterAt(new fx_sampler_filter_common(value), index);\r
505         }\r
506 \r
507         public static int getmagfilterMinCount() {\r
508                 return 0;\r
509         }\r
510 \r
511         public static int getmagfilterMaxCount() {\r
512                 return 1;\r
513         }\r
514 \r
515         public int getmagfilterCount() {\r
516                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter");\r
517         }\r
518 \r
519         public boolean hasmagfilter() {\r
520                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter");\r
521         }\r
522 \r
523         public fx_sampler_filter_common newmagfilter() {\r
524                 return new fx_sampler_filter_common();\r
525         }\r
526 \r
527         public fx_sampler_filter_common getmagfilterAt(int index) throws Exception {\r
528                 return new fx_sampler_filter_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", index)));\r
529         }\r
530 \r
531         public org.w3c.dom.Node getStartingmagfilterCursor() throws Exception {\r
532                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter" );\r
533         }\r
534 \r
535         public org.w3c.dom.Node getAdvancedmagfilterCursor( org.w3c.dom.Node curNode ) throws Exception {\r
536                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", curNode );\r
537         }\r
538 \r
539         public fx_sampler_filter_common getmagfilterValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
540                 if( curNode == null )\r
541                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
542                 else\r
543                         return new fx_sampler_filter_common(getDomNodeValue(curNode));\r
544         }\r
545 \r
546         public fx_sampler_filter_common getmagfilter() throws Exception \r
547  {\r
548                 return getmagfilterAt(0);\r
549         }\r
550 \r
551         public void removemagfilterAt(int index) {\r
552                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", index);\r
553         }\r
554 \r
555         public void removemagfilter() {\r
556                 removemagfilterAt(0);\r
557         }\r
558 \r
559         public org.w3c.dom.Node addmagfilter(fx_sampler_filter_common value) {\r
560                 if( value.isNull() )\r
561                         return null;\r
562 \r
563                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", value.toString());\r
564         }\r
565 \r
566         public org.w3c.dom.Node addmagfilter(String value) throws Exception {\r
567                 return addmagfilter(new fx_sampler_filter_common(value));\r
568         }\r
569 \r
570         public void insertmagfilterAt(fx_sampler_filter_common value, int index) {\r
571                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", index, value.toString());\r
572         }\r
573 \r
574         public void insertmagfilterAt(String value, int index) throws Exception {\r
575                 insertmagfilterAt(new fx_sampler_filter_common(value), index);\r
576         }\r
577 \r
578         public void replacemagfilterAt(fx_sampler_filter_common value, int index) {\r
579                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", index, value.toString());\r
580         }\r
581 \r
582         public void replacemagfilterAt(String value, int index) throws Exception {\r
583                 replacemagfilterAt(new fx_sampler_filter_common(value), index);\r
584         }\r
585 \r
586         public static int getmipfilterMinCount() {\r
587                 return 0;\r
588         }\r
589 \r
590         public static int getmipfilterMaxCount() {\r
591                 return 1;\r
592         }\r
593 \r
594         public int getmipfilterCount() {\r
595                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter");\r
596         }\r
597 \r
598         public boolean hasmipfilter() {\r
599                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter");\r
600         }\r
601 \r
602         public fx_sampler_filter_common newmipfilter() {\r
603                 return new fx_sampler_filter_common();\r
604         }\r
605 \r
606         public fx_sampler_filter_common getmipfilterAt(int index) throws Exception {\r
607                 return new fx_sampler_filter_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", index)));\r
608         }\r
609 \r
610         public org.w3c.dom.Node getStartingmipfilterCursor() throws Exception {\r
611                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter" );\r
612         }\r
613 \r
614         public org.w3c.dom.Node getAdvancedmipfilterCursor( org.w3c.dom.Node curNode ) throws Exception {\r
615                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", curNode );\r
616         }\r
617 \r
618         public fx_sampler_filter_common getmipfilterValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
619                 if( curNode == null )\r
620                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
621                 else\r
622                         return new fx_sampler_filter_common(getDomNodeValue(curNode));\r
623         }\r
624 \r
625         public fx_sampler_filter_common getmipfilter() throws Exception \r
626  {\r
627                 return getmipfilterAt(0);\r
628         }\r
629 \r
630         public void removemipfilterAt(int index) {\r
631                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", index);\r
632         }\r
633 \r
634         public void removemipfilter() {\r
635                 removemipfilterAt(0);\r
636         }\r
637 \r
638         public org.w3c.dom.Node addmipfilter(fx_sampler_filter_common value) {\r
639                 if( value.isNull() )\r
640                         return null;\r
641 \r
642                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", value.toString());\r
643         }\r
644 \r
645         public org.w3c.dom.Node addmipfilter(String value) throws Exception {\r
646                 return addmipfilter(new fx_sampler_filter_common(value));\r
647         }\r
648 \r
649         public void insertmipfilterAt(fx_sampler_filter_common value, int index) {\r
650                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", index, value.toString());\r
651         }\r
652 \r
653         public void insertmipfilterAt(String value, int index) throws Exception {\r
654                 insertmipfilterAt(new fx_sampler_filter_common(value), index);\r
655         }\r
656 \r
657         public void replacemipfilterAt(fx_sampler_filter_common value, int index) {\r
658                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", index, value.toString());\r
659         }\r
660 \r
661         public void replacemipfilterAt(String value, int index) throws Exception {\r
662                 replacemipfilterAt(new fx_sampler_filter_common(value), index);\r
663         }\r
664 \r
665         public static int getborder_colorMinCount() {\r
666                 return 0;\r
667         }\r
668 \r
669         public static int getborder_colorMaxCount() {\r
670                 return 1;\r
671         }\r
672 \r
673         public int getborder_colorCount() {\r
674                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color");\r
675         }\r
676 \r
677         public boolean hasborder_color() {\r
678                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color");\r
679         }\r
680 \r
681         public fx_color_common newborder_color() {\r
682                 return new fx_color_common();\r
683         }\r
684 \r
685         public fx_color_common getborder_colorAt(int index) throws Exception {\r
686                 return new fx_color_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", index)));\r
687         }\r
688 \r
689         public org.w3c.dom.Node getStartingborder_colorCursor() throws Exception {\r
690                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color" );\r
691         }\r
692 \r
693         public org.w3c.dom.Node getAdvancedborder_colorCursor( org.w3c.dom.Node curNode ) throws Exception {\r
694                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", curNode );\r
695         }\r
696 \r
697         public fx_color_common getborder_colorValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
698                 if( curNode == null )\r
699                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
700                 else\r
701                         return new fx_color_common(getDomNodeValue(curNode));\r
702         }\r
703 \r
704         public fx_color_common getborder_color() throws Exception \r
705  {\r
706                 return getborder_colorAt(0);\r
707         }\r
708 \r
709         public void removeborder_colorAt(int index) {\r
710                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", index);\r
711         }\r
712 \r
713         public void removeborder_color() {\r
714                 removeborder_colorAt(0);\r
715         }\r
716 \r
717         public org.w3c.dom.Node addborder_color(fx_color_common value) {\r
718                 if( value.isNull() )\r
719                         return null;\r
720 \r
721                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", value.toString());\r
722         }\r
723 \r
724         public org.w3c.dom.Node addborder_color(String value) throws Exception {\r
725                 return addborder_color(new fx_color_common(value));\r
726         }\r
727 \r
728         public void insertborder_colorAt(fx_color_common value, int index) {\r
729                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", index, value.toString());\r
730         }\r
731 \r
732         public void insertborder_colorAt(String value, int index) throws Exception {\r
733                 insertborder_colorAt(new fx_color_common(value), index);\r
734         }\r
735 \r
736         public void replaceborder_colorAt(fx_color_common value, int index) {\r
737                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", index, value.toString());\r
738         }\r
739 \r
740         public void replaceborder_colorAt(String value, int index) throws Exception {\r
741                 replaceborder_colorAt(new fx_color_common(value), index);\r
742         }\r
743 \r
744         public static int getmipmap_maxlevelMinCount() {\r
745                 return 0;\r
746         }\r
747 \r
748         public static int getmipmap_maxlevelMaxCount() {\r
749                 return 1;\r
750         }\r
751 \r
752         public int getmipmap_maxlevelCount() {\r
753                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel");\r
754         }\r
755 \r
756         public boolean hasmipmap_maxlevel() {\r
757                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel");\r
758         }\r
759 \r
760         public SchemaShort newmipmap_maxlevel() {\r
761                 return new SchemaShort();\r
762         }\r
763 \r
764         public SchemaShort getmipmap_maxlevelAt(int index) throws Exception {\r
765                 return new SchemaShort(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", index)));\r
766         }\r
767 \r
768         public org.w3c.dom.Node getStartingmipmap_maxlevelCursor() throws Exception {\r
769                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel" );\r
770         }\r
771 \r
772         public org.w3c.dom.Node getAdvancedmipmap_maxlevelCursor( org.w3c.dom.Node curNode ) throws Exception {\r
773                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", curNode );\r
774         }\r
775 \r
776         public SchemaShort getmipmap_maxlevelValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
777                 if( curNode == null )\r
778                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
779                 else\r
780                         return new SchemaShort(getDomNodeValue(curNode));\r
781         }\r
782 \r
783         public SchemaShort getmipmap_maxlevel() throws Exception \r
784  {\r
785                 return getmipmap_maxlevelAt(0);\r
786         }\r
787 \r
788         public void removemipmap_maxlevelAt(int index) {\r
789                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", index);\r
790         }\r
791 \r
792         public void removemipmap_maxlevel() {\r
793                 removemipmap_maxlevelAt(0);\r
794         }\r
795 \r
796         public org.w3c.dom.Node addmipmap_maxlevel(SchemaShort value) {\r
797                 if( value.isNull() )\r
798                         return null;\r
799 \r
800                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", value.toString());\r
801         }\r
802 \r
803         public org.w3c.dom.Node addmipmap_maxlevel(String value) throws Exception {\r
804                 return addmipmap_maxlevel(new SchemaShort(value));\r
805         }\r
806 \r
807         public void insertmipmap_maxlevelAt(SchemaShort value, int index) {\r
808                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", index, value.toString());\r
809         }\r
810 \r
811         public void insertmipmap_maxlevelAt(String value, int index) throws Exception {\r
812                 insertmipmap_maxlevelAt(new SchemaShort(value), index);\r
813         }\r
814 \r
815         public void replacemipmap_maxlevelAt(SchemaShort value, int index) {\r
816                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", index, value.toString());\r
817         }\r
818 \r
819         public void replacemipmap_maxlevelAt(String value, int index) throws Exception {\r
820                 replacemipmap_maxlevelAt(new SchemaShort(value), index);\r
821         }\r
822 \r
823         public static int getmipmap_biasMinCount() {\r
824                 return 0;\r
825         }\r
826 \r
827         public static int getmipmap_biasMaxCount() {\r
828                 return 1;\r
829         }\r
830 \r
831         public int getmipmap_biasCount() {\r
832                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias");\r
833         }\r
834 \r
835         public boolean hasmipmap_bias() {\r
836                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias");\r
837         }\r
838 \r
839         public SchemaFloat newmipmap_bias() {\r
840                 return new SchemaFloat();\r
841         }\r
842 \r
843         public SchemaFloat getmipmap_biasAt(int index) throws Exception {\r
844                 return new SchemaFloat(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", index)));\r
845         }\r
846 \r
847         public org.w3c.dom.Node getStartingmipmap_biasCursor() throws Exception {\r
848                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias" );\r
849         }\r
850 \r
851         public org.w3c.dom.Node getAdvancedmipmap_biasCursor( org.w3c.dom.Node curNode ) throws Exception {\r
852                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", curNode );\r
853         }\r
854 \r
855         public SchemaFloat getmipmap_biasValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
856                 if( curNode == null )\r
857                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
858                 else\r
859                         return new SchemaFloat(getDomNodeValue(curNode));\r
860         }\r
861 \r
862         public SchemaFloat getmipmap_bias() throws Exception \r
863  {\r
864                 return getmipmap_biasAt(0);\r
865         }\r
866 \r
867         public void removemipmap_biasAt(int index) {\r
868                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", index);\r
869         }\r
870 \r
871         public void removemipmap_bias() {\r
872                 removemipmap_biasAt(0);\r
873         }\r
874 \r
875         public org.w3c.dom.Node addmipmap_bias(SchemaFloat value) {\r
876                 if( value.isNull() )\r
877                         return null;\r
878 \r
879                 return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", value.toString());\r
880         }\r
881 \r
882         public org.w3c.dom.Node addmipmap_bias(String value) throws Exception {\r
883                 return addmipmap_bias(new SchemaFloat(value));\r
884         }\r
885 \r
886         public void insertmipmap_biasAt(SchemaFloat value, int index) {\r
887                 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", index, value.toString());\r
888         }\r
889 \r
890         public void insertmipmap_biasAt(String value, int index) throws Exception {\r
891                 insertmipmap_biasAt(new SchemaFloat(value), index);\r
892         }\r
893 \r
894         public void replacemipmap_biasAt(SchemaFloat value, int index) {\r
895                 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", index, value.toString());\r
896         }\r
897 \r
898         public void replacemipmap_biasAt(String value, int index) throws Exception {\r
899                 replacemipmap_biasAt(new SchemaFloat(value), index);\r
900         }\r
901 \r
902         public static int getextraMinCount() {\r
903                 return 0;\r
904         }\r
905 \r
906         public static int getextraMaxCount() {\r
907                 return Integer.MAX_VALUE;\r
908         }\r
909 \r
910         public int getextraCount() {\r
911                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
912         }\r
913 \r
914         public boolean hasextra() {\r
915                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
916         }\r
917 \r
918         public extraType newextra() {\r
919                 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));\r
920         }\r
921 \r
922         public extraType getextraAt(int index) throws Exception {\r
923                 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));\r
924         }\r
925 \r
926         public org.w3c.dom.Node getStartingextraCursor() throws Exception {\r
927                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
928         }\r
929 \r
930         public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {\r
931                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );\r
932         }\r
933 \r
934         public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
935                 if( curNode == null )\r
936                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
937                 else\r
938                         return new extraType(curNode);\r
939         }\r
940 \r
941         public extraType getextra() throws Exception \r
942  {\r
943                 return getextraAt(0);\r
944         }\r
945 \r
946         public void removeextraAt(int index) {\r
947                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);\r
948         }\r
949 \r
950         public void removeextra() {\r
951                 while (hasextra())\r
952                         removeextraAt(0);\r
953         }\r
954 \r
955         public org.w3c.dom.Node addextra(extraType value) {\r
956                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);\r
957         }\r
958 \r
959         public void insertextraAt(extraType value, int index) {\r
960                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
961         }\r
962 \r
963         public void replaceextraAt(extraType value, int index) {\r
964                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
965         }\r
966 \r
967 }\r