OSDN Git Service

1bbbb77ebcf6e102cbafe81823065fbf483ca10d
[mikumikustudio/MikuMikuStudio.git] / src / com / jmex / model / collada / schema / fx_surface_init_volume_common.java
1 /**\r
2  * fx_surface_init_volume_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 \r
17 public class fx_surface_init_volume_common extends com.jmex.xml.xml.Node {\r
18 \r
19         public fx_surface_init_volume_common(fx_surface_init_volume_common node) {\r
20                 super(node);\r
21         }\r
22 \r
23         public fx_surface_init_volume_common(org.w3c.dom.Node node) {\r
24                 super(node);\r
25         }\r
26 \r
27         public fx_surface_init_volume_common(org.w3c.dom.Document doc) {\r
28                 super(doc);\r
29         }\r
30 \r
31         public fx_surface_init_volume_common(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", "all" );\r
37                                 tmpNode != null;\r
38                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", tmpNode )\r
39                         ) {\r
40                         internalAdjustPrefix(tmpNode, true);\r
41                         new allType2(tmpNode).adjustPrefix();\r
42                 }\r
43                 for (   org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );\r
44                                 tmpNode != null;\r
45                                 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", tmpNode )\r
46                         ) {\r
47                         internalAdjustPrefix(tmpNode, true);\r
48                         new primaryType2(tmpNode).adjustPrefix();\r
49                 }\r
50         }\r
51         public void setXsiType() {\r
52                 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;\r
53                 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "fx_surface_init_volume_common");\r
54         }\r
55 \r
56         public static int getallMinCount() {\r
57                 return 1;\r
58         }\r
59 \r
60         public static int getallMaxCount() {\r
61                 return 1;\r
62         }\r
63 \r
64         public int getallCount() {\r
65                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");\r
66         }\r
67 \r
68         public boolean hasall() {\r
69                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");\r
70         }\r
71 \r
72         public allType2 newall() {\r
73                 return new allType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "all"));\r
74         }\r
75 \r
76         public allType2 getallAt(int index) throws Exception {\r
77                 return new allType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index));\r
78         }\r
79 \r
80         public org.w3c.dom.Node getStartingallCursor() throws Exception {\r
81                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all" );\r
82         }\r
83 \r
84         public org.w3c.dom.Node getAdvancedallCursor( org.w3c.dom.Node curNode ) throws Exception {\r
85                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", curNode );\r
86         }\r
87 \r
88         public allType2 getallValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
89                 if( curNode == null )\r
90                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
91                 else\r
92                         return new allType2(curNode);\r
93         }\r
94 \r
95         public allType2 getall() throws Exception \r
96  {\r
97                 return getallAt(0);\r
98         }\r
99 \r
100         public void removeallAt(int index) {\r
101                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index);\r
102         }\r
103 \r
104         public void removeall() {\r
105                 removeallAt(0);\r
106         }\r
107 \r
108         public org.w3c.dom.Node addall(allType2 value) {\r
109                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "all", value);\r
110         }\r
111 \r
112         public void insertallAt(allType2 value, int index) {\r
113                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);\r
114         }\r
115 \r
116         public void replaceallAt(allType2 value, int index) {\r
117                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);\r
118         }\r
119 \r
120         public static int getprimaryMinCount() {\r
121                 return 1;\r
122         }\r
123 \r
124         public static int getprimaryMaxCount() {\r
125                 return 1;\r
126         }\r
127 \r
128         public int getprimaryCount() {\r
129                 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");\r
130         }\r
131 \r
132         public boolean hasprimary() {\r
133                 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");\r
134         }\r
135 \r
136         public primaryType2 newprimary() {\r
137                 return new primaryType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "primary"));\r
138         }\r
139 \r
140         public primaryType2 getprimaryAt(int index) throws Exception {\r
141                 return new primaryType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index));\r
142         }\r
143 \r
144         public org.w3c.dom.Node getStartingprimaryCursor() throws Exception {\r
145                 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );\r
146         }\r
147 \r
148         public org.w3c.dom.Node getAdvancedprimaryCursor( org.w3c.dom.Node curNode ) throws Exception {\r
149                 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", curNode );\r
150         }\r
151 \r
152         public primaryType2 getprimaryValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {\r
153                 if( curNode == null )\r
154                         throw new com.jmex.xml.xml.XmlException("Out of range");\r
155                 else\r
156                         return new primaryType2(curNode);\r
157         }\r
158 \r
159         public primaryType2 getprimary() throws Exception \r
160  {\r
161                 return getprimaryAt(0);\r
162         }\r
163 \r
164         public void removeprimaryAt(int index) {\r
165                 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index);\r
166         }\r
167 \r
168         public void removeprimary() {\r
169                 removeprimaryAt(0);\r
170         }\r
171 \r
172         public org.w3c.dom.Node addprimary(primaryType2 value) {\r
173                 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "primary", value);\r
174         }\r
175 \r
176         public void insertprimaryAt(primaryType2 value, int index) {\r
177                 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);\r
178         }\r
179 \r
180         public void replaceprimaryAt(primaryType2 value, int index) {\r
181                 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);\r
182         }\r
183 \r
184 }\r