OSDN Git Service

Set optimal mime types and executable settings.
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / orthographicType.java
1 /**\r
2  * orthographicType.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 orthographicType extends com.jmex.xml.xml.Node {\r
18 \r
19         public orthographicType(orthographicType node) {\r
20                 super(node);\r
21         }\r
22 \r
23         public orthographicType(org.w3c.dom.Node node) {\r
24                 super(node);\r
25         }\r
26 \r
27         public orthographicType(org.w3c.dom.Document doc) {\r
28                 super(doc);\r
29         }\r
30 \r
31         public orthographicType(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", "xmag" );\r
37                                 tmpNode != null;\r
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", tmpNode )\r
39                         ) {\r
40                         internalAdjustPrefix(tmpNode, true);\r
41                         new TargetableFloat(tmpNode).adjustPrefix();\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new TargetableFloat(tmpNode).adjustPrefix();\r
49                 }\r
50                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio" );\r
51                                 tmpNode != null;\r
52                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", tmpNode )\r
53                         ) {\r
54                         internalAdjustPrefix(tmpNode, true);\r
55                         new TargetableFloat(tmpNode).adjustPrefix();\r
56                 }\r
57                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear" );\r
58                                 tmpNode != null;\r
59                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", tmpNode )\r
60                         ) {\r
61                         internalAdjustPrefix(tmpNode, true);\r
62                         new TargetableFloat(tmpNode).adjustPrefix();\r
63                 }\r
64                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar" );\r
65                                 tmpNode != null;\r
66                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", tmpNode )\r
67                         ) {\r
68                         internalAdjustPrefix(tmpNode, true);\r
69                         new TargetableFloat(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", "orthographic");\r
75         }\r
76 \r
77         public static int getxmagMinCount() {\r
78                 return 1;\r
79         }\r
80 \r
81         public static int getxmagMaxCount() {\r
82                 return 1;\r
83         }\r
84 \r
85         public int getxmagCount() {\r
86                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag");\r
87         }\r
88 \r
89         public boolean hasxmag() {\r
90                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag");\r
91         }\r
92 \r
93         public TargetableFloat newxmag() {\r
94                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "xmag"));\r
95         }\r
96 \r
97         public TargetableFloat getxmagAt(int index) throws Exception {\r
98                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", index));\r
99         }\r
100 \r
101         public org.w3c.dom.Node getStartingxmagCursor() throws Exception {\r
102                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag" );\r
103         }\r
104 \r
105         public org.w3c.dom.Node getAdvancedxmagCursor( org.w3c.dom.Node curNode ) throws Exception {\r
106                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", curNode );\r
107         }\r
108 \r
109         public TargetableFloat getxmagValueAtCursor( 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 TargetableFloat(curNode);\r
114         }\r
115 \r
116         public TargetableFloat getxmag() throws Exception \r
117  {\r
118                 return getxmagAt(0);\r
119         }\r
120 \r
121         public void removexmagAt(int index) {\r
122                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "xmag", index);\r
123         }\r
124 \r
125         public void removexmag() {\r
126                 removexmagAt(0);\r
127         }\r
128 \r
129         public org.w3c.dom.Node addxmag(TargetableFloat value) {\r
130                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "xmag", value);\r
131         }\r
132 \r
133         public void insertxmagAt(TargetableFloat value, int index) {\r
134                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "xmag", index, value);\r
135         }\r
136 \r
137         public void replacexmagAt(TargetableFloat value, int index) {\r
138                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "xmag", index, value);\r
139         }\r
140 \r
141         public static int getymagMinCount() {\r
142                 return 1;\r
143         }\r
144 \r
145         public static int getymagMaxCount() {\r
146                 return 1;\r
147         }\r
148 \r
149         public int getymagCount() {\r
150                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag");\r
151         }\r
152 \r
153         public boolean hasymag() {\r
154                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag");\r
155         }\r
156 \r
157         public TargetableFloat newymag() {\r
158                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "ymag"));\r
159         }\r
160 \r
161         public TargetableFloat getymagAt(int index) throws Exception {\r
162                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", index));\r
163         }\r
164 \r
165         public org.w3c.dom.Node getStartingymagCursor() throws Exception {\r
166                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag" );\r
167         }\r
168 \r
169         public org.w3c.dom.Node getAdvancedymagCursor( org.w3c.dom.Node curNode ) throws Exception {\r
170                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", curNode );\r
171         }\r
172 \r
173         public TargetableFloat getymagValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
174                 if( curNode == null )\r
175                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
176                 else\r
177                         return new TargetableFloat(curNode);\r
178         }\r
179 \r
180         public TargetableFloat getymag() throws Exception \r
181  {\r
182                 return getymagAt(0);\r
183         }\r
184 \r
185         public void removeymagAt(int index) {\r
186                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "ymag", index);\r
187         }\r
188 \r
189         public void removeymag() {\r
190                 removeymagAt(0);\r
191         }\r
192 \r
193         public org.w3c.dom.Node addymag(TargetableFloat value) {\r
194                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "ymag", value);\r
195         }\r
196 \r
197         public void insertymagAt(TargetableFloat value, int index) {\r
198                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ymag", index, value);\r
199         }\r
200 \r
201         public void replaceymagAt(TargetableFloat value, int index) {\r
202                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ymag", index, value);\r
203         }\r
204 \r
205         public static int getaspect_ratioMinCount() {\r
206                 return 1;\r
207         }\r
208 \r
209         public static int getaspect_ratioMaxCount() {\r
210                 return 1;\r
211         }\r
212 \r
213         public int getaspect_ratioCount() {\r
214                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio");\r
215         }\r
216 \r
217         public boolean hasaspect_ratio() {\r
218                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio");\r
219         }\r
220 \r
221         public TargetableFloat newaspect_ratio() {\r
222                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio"));\r
223         }\r
224 \r
225         public TargetableFloat getaspect_ratioAt(int index) throws Exception {\r
226                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index));\r
227         }\r
228 \r
229         public org.w3c.dom.Node getStartingaspect_ratioCursor() throws Exception {\r
230                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio" );\r
231         }\r
232 \r
233         public org.w3c.dom.Node getAdvancedaspect_ratioCursor( org.w3c.dom.Node curNode ) throws Exception {\r
234                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", curNode );\r
235         }\r
236 \r
237         public TargetableFloat getaspect_ratioValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
238                 if( curNode == null )\r
239                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
240                 else\r
241                         return new TargetableFloat(curNode);\r
242         }\r
243 \r
244         public TargetableFloat getaspect_ratio() throws Exception \r
245  {\r
246                 return getaspect_ratioAt(0);\r
247         }\r
248 \r
249         public void removeaspect_ratioAt(int index) {\r
250                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index);\r
251         }\r
252 \r
253         public void removeaspect_ratio() {\r
254                 removeaspect_ratioAt(0);\r
255         }\r
256 \r
257         public org.w3c.dom.Node addaspect_ratio(TargetableFloat value) {\r
258                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", value);\r
259         }\r
260 \r
261         public void insertaspect_ratioAt(TargetableFloat value, int index) {\r
262                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index, value);\r
263         }\r
264 \r
265         public void replaceaspect_ratioAt(TargetableFloat value, int index) {\r
266                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "aspect_ratio", index, value);\r
267         }\r
268 \r
269         public static int getznearMinCount() {\r
270                 return 1;\r
271         }\r
272 \r
273         public static int getznearMaxCount() {\r
274                 return 1;\r
275         }\r
276 \r
277         public int getznearCount() {\r
278                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear");\r
279         }\r
280 \r
281         public boolean hasznear() {\r
282                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear");\r
283         }\r
284 \r
285         public TargetableFloat newznear() {\r
286                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "znear"));\r
287         }\r
288 \r
289         public TargetableFloat getznearAt(int index) throws Exception {\r
290                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", index));\r
291         }\r
292 \r
293         public org.w3c.dom.Node getStartingznearCursor() throws Exception {\r
294                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear" );\r
295         }\r
296 \r
297         public org.w3c.dom.Node getAdvancedznearCursor( org.w3c.dom.Node curNode ) throws Exception {\r
298                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", curNode );\r
299         }\r
300 \r
301         public TargetableFloat getznearValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
302                 if( curNode == null )\r
303                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
304                 else\r
305                         return new TargetableFloat(curNode);\r
306         }\r
307 \r
308         public TargetableFloat getznear() throws Exception \r
309  {\r
310                 return getznearAt(0);\r
311         }\r
312 \r
313         public void removeznearAt(int index) {\r
314                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "znear", index);\r
315         }\r
316 \r
317         public void removeznear() {\r
318                 removeznearAt(0);\r
319         }\r
320 \r
321         public org.w3c.dom.Node addznear(TargetableFloat value) {\r
322                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "znear", value);\r
323         }\r
324 \r
325         public void insertznearAt(TargetableFloat value, int index) {\r
326                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "znear", index, value);\r
327         }\r
328 \r
329         public void replaceznearAt(TargetableFloat value, int index) {\r
330                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "znear", index, value);\r
331         }\r
332 \r
333         public static int getzfarMinCount() {\r
334                 return 1;\r
335         }\r
336 \r
337         public static int getzfarMaxCount() {\r
338                 return 1;\r
339         }\r
340 \r
341         public int getzfarCount() {\r
342                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar");\r
343         }\r
344 \r
345         public boolean haszfar() {\r
346                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar");\r
347         }\r
348 \r
349         public TargetableFloat newzfar() {\r
350                 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zfar"));\r
351         }\r
352 \r
353         public TargetableFloat getzfarAt(int index) throws Exception {\r
354                 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", index));\r
355         }\r
356 \r
357         public org.w3c.dom.Node getStartingzfarCursor() throws Exception {\r
358                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar" );\r
359         }\r
360 \r
361         public org.w3c.dom.Node getAdvancedzfarCursor( org.w3c.dom.Node curNode ) throws Exception {\r
362                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", curNode );\r
363         }\r
364 \r
365         public TargetableFloat getzfarValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
366                 if( curNode == null )\r
367                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
368                 else\r
369                         return new TargetableFloat(curNode);\r
370         }\r
371 \r
372         public TargetableFloat getzfar() throws Exception \r
373  {\r
374                 return getzfarAt(0);\r
375         }\r
376 \r
377         public void removezfarAt(int index) {\r
378                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfar", index);\r
379         }\r
380 \r
381         public void removezfar() {\r
382                 removezfarAt(0);\r
383         }\r
384 \r
385         public org.w3c.dom.Node addzfar(TargetableFloat value) {\r
386                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zfar", value);\r
387         }\r
388 \r
389         public void insertzfarAt(TargetableFloat value, int index) {\r
390                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfar", index, value);\r
391         }\r
392 \r
393         public void replacezfarAt(TargetableFloat value, int index) {\r
394                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfar", index, value);\r
395         }\r
396 \r
397 }\r