OSDN Git Service

a9f529240f027775436c702222600f31ca8fcd67
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / gles_texture_pipeline.java
1 /**\r
2  * gles_texture_pipeline.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.SchemaNCName;\r
17 \r
18 public class gles_texture_pipeline extends com.jmex.xml.xml.Node {\r
19 \r
20         public gles_texture_pipeline(gles_texture_pipeline node) {\r
21                 super(node);\r
22         }\r
23 \r
24         public gles_texture_pipeline(org.w3c.dom.Node node) {\r
25                 super(node);\r
26         }\r
27 \r
28         public gles_texture_pipeline(org.w3c.dom.Document doc) {\r
29                 super(doc);\r
30         }\r
31 \r
32         public gles_texture_pipeline(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {\r
33                 super(doc, namespaceURI, prefix, name);\r
34         }\r
35         \r
36         public void adjustPrefix() {\r
37                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "sid" );\r
38                                 tmpNode != null;\r
39                                 tmpNode = getDomNextChild( Attribute, null, "sid", tmpNode )\r
40                         ) {\r
41                         internalAdjustPrefix(tmpNode, false);\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new gles_texcombiner_command_type(tmpNode).adjustPrefix();\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                         new gles_texenv_command_type(tmpNode).adjustPrefix();\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                         new extraType(tmpNode).adjustPrefix();\r
63                 }\r
64         }\r
65         public void setXsiType() {\r
66                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
67                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "gles_texture_pipeline");\r
68         }\r
69 \r
70         public static int getsidMinCount() {\r
71                 return 0;\r
72         }\r
73 \r
74         public static int getsidMaxCount() {\r
75                 return 1;\r
76         }\r
77 \r
78         public int getsidCount() {\r
79                 return getDomChildCount(Attribute, null, "sid");\r
80         }\r
81 \r
82         public boolean hassid() {\r
83                 return hasDomChild(Attribute, null, "sid");\r
84         }\r
85 \r
86         public SchemaNCName newsid() {\r
87                 return new SchemaNCName();\r
88         }\r
89 \r
90         public SchemaNCName getsidAt(int index) throws Exception {\r
91                 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));\r
92         }\r
93 \r
94         public org.w3c.dom.Node getStartingsidCursor() throws Exception {\r
95                 return getDomFirstChild(Attribute, null, "sid" );\r
96         }\r
97 \r
98         public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {\r
99                 return getDomNextChild( Attribute, null, "sid", curNode );\r
100         }\r
101 \r
102         public SchemaNCName getsidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
103                 if( curNode == null )\r
104                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
105                 else\r
106                         return new SchemaNCName(getDomNodeValue(curNode));\r
107         }\r
108 \r
109         public SchemaNCName getsid() throws Exception \r
110  {\r
111                 return getsidAt(0);\r
112         }\r
113 \r
114         public void removesidAt(int index) {\r
115                 removeDomChildAt(Attribute, null, "sid", index);\r
116         }\r
117 \r
118         public void removesid() {\r
119                 removesidAt(0);\r
120         }\r
121 \r
122         public org.w3c.dom.Node addsid(SchemaNCName value) {\r
123                 if( value.isNull() )\r
124                         return null;\r
125 \r
126                 return  appendDomChild(Attribute, null, "sid", value.toString());\r
127         }\r
128 \r
129         public org.w3c.dom.Node addsid(String value) throws Exception {\r
130                 return addsid(new SchemaNCName(value));\r
131         }\r
132 \r
133         public void insertsidAt(SchemaNCName value, int index) {\r
134                 insertDomChildAt(Attribute, null, "sid", index, value.toString());\r
135         }\r
136 \r
137         public void insertsidAt(String value, int index) throws Exception {\r
138                 insertsidAt(new SchemaNCName(value), index);\r
139         }\r
140 \r
141         public void replacesidAt(SchemaNCName value, int index) {\r
142                 replaceDomChildAt(Attribute, null, "sid", index, value.toString());\r
143         }\r
144 \r
145         public void replacesidAt(String value, int index) throws Exception {\r
146                 replacesidAt(new SchemaNCName(value), index);\r
147         }\r
148 \r
149         public static int gettexcombinerMinCount() {\r
150                 return 1;\r
151         }\r
152 \r
153         public static int gettexcombinerMaxCount() {\r
154                 return 1;\r
155         }\r
156 \r
157         public int gettexcombinerCount() {\r
158                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner");\r
159         }\r
160 \r
161         public boolean hastexcombiner() {\r
162                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner");\r
163         }\r
164 \r
165         public gles_texcombiner_command_type newtexcombiner() {\r
166                 return new gles_texcombiner_command_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "texcombiner"));\r
167         }\r
168 \r
169         public gles_texcombiner_command_type gettexcombinerAt(int index) throws Exception {\r
170                 return new gles_texcombiner_command_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index));\r
171         }\r
172 \r
173         public org.w3c.dom.Node getStartingtexcombinerCursor() throws Exception {\r
174                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner" );\r
175         }\r
176 \r
177         public org.w3c.dom.Node getAdvancedtexcombinerCursor( org.w3c.dom.Node curNode ) throws Exception {\r
178                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", curNode );\r
179         }\r
180 \r
181         public gles_texcombiner_command_type gettexcombinerValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
182                 if( curNode == null )\r
183                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
184                 else\r
185                         return new gles_texcombiner_command_type(curNode);\r
186         }\r
187 \r
188         public gles_texcombiner_command_type gettexcombiner() throws Exception \r
189  {\r
190                 return gettexcombinerAt(0);\r
191         }\r
192 \r
193         public void removetexcombinerAt(int index) {\r
194                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index);\r
195         }\r
196 \r
197         public void removetexcombiner() {\r
198                 removetexcombinerAt(0);\r
199         }\r
200 \r
201         public org.w3c.dom.Node addtexcombiner(gles_texcombiner_command_type value) {\r
202                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", value);\r
203         }\r
204 \r
205         public void inserttexcombinerAt(gles_texcombiner_command_type value, int index) {\r
206                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index, value);\r
207         }\r
208 \r
209         public void replacetexcombinerAt(gles_texcombiner_command_type value, int index) {\r
210                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index, value);\r
211         }\r
212 \r
213         public static int gettexenvMinCount() {\r
214                 return 1;\r
215         }\r
216 \r
217         public static int gettexenvMaxCount() {\r
218                 return 1;\r
219         }\r
220 \r
221         public int gettexenvCount() {\r
222                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv");\r
223         }\r
224 \r
225         public boolean hastexenv() {\r
226                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv");\r
227         }\r
228 \r
229         public gles_texenv_command_type newtexenv() {\r
230                 return new gles_texenv_command_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "texenv"));\r
231         }\r
232 \r
233         public gles_texenv_command_type gettexenvAt(int index) throws Exception {\r
234                 return new gles_texenv_command_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", index));\r
235         }\r
236 \r
237         public org.w3c.dom.Node getStartingtexenvCursor() throws Exception {\r
238                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv" );\r
239         }\r
240 \r
241         public org.w3c.dom.Node getAdvancedtexenvCursor( org.w3c.dom.Node curNode ) throws Exception {\r
242                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", curNode );\r
243         }\r
244 \r
245         public gles_texenv_command_type gettexenvValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
246                 if( curNode == null )\r
247                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
248                 else\r
249                         return new gles_texenv_command_type(curNode);\r
250         }\r
251 \r
252         public gles_texenv_command_type gettexenv() throws Exception \r
253  {\r
254                 return gettexenvAt(0);\r
255         }\r
256 \r
257         public void removetexenvAt(int index) {\r
258                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", index);\r
259         }\r
260 \r
261         public void removetexenv() {\r
262                 removetexenvAt(0);\r
263         }\r
264 \r
265         public org.w3c.dom.Node addtexenv(gles_texenv_command_type value) {\r
266                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "texenv", value);\r
267         }\r
268 \r
269         public void inserttexenvAt(gles_texenv_command_type value, int index) {\r
270                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texenv", index, value);\r
271         }\r
272 \r
273         public void replacetexenvAt(gles_texenv_command_type value, int index) {\r
274                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texenv", index, value);\r
275         }\r
276 \r
277         public static int getextraMinCount() {\r
278                 return 1;\r
279         }\r
280 \r
281         public static int getextraMaxCount() {\r
282                 return 1;\r
283         }\r
284 \r
285         public int getextraCount() {\r
286                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
287         }\r
288 \r
289         public boolean hasextra() {\r
290                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");\r
291         }\r
292 \r
293         public extraType newextra() {\r
294                 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));\r
295         }\r
296 \r
297         public extraType getextraAt(int index) throws Exception {\r
298                 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));\r
299         }\r
300 \r
301         public org.w3c.dom.Node getStartingextraCursor() throws Exception {\r
302                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );\r
303         }\r
304 \r
305         public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {\r
306                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );\r
307         }\r
308 \r
309         public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
310                 if( curNode == null )\r
311                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
312                 else\r
313                         return new extraType(curNode);\r
314         }\r
315 \r
316         public extraType getextra() throws Exception \r
317  {\r
318                 return getextraAt(0);\r
319         }\r
320 \r
321         public void removeextraAt(int index) {\r
322                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);\r
323         }\r
324 \r
325         public void removeextra() {\r
326                 removeextraAt(0);\r
327         }\r
328 \r
329         public org.w3c.dom.Node addextra(extraType value) {\r
330                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);\r
331         }\r
332 \r
333         public void insertextraAt(extraType value, int index) {\r
334                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
335         }\r
336 \r
337         public void replaceextraAt(extraType value, int index) {\r
338                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);\r
339         }\r
340 \r
341 }\r