2 * fx_surface_init_cube_common.java
\r
4 * This file was generated by XMLSpy 2007sp2 Enterprise Edition.
\r
6 * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
\r
7 * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
\r
9 * Refer to the XMLSpy Documentation for further details.
\r
10 * http://www.altova.com/xmlspy
\r
14 package com.jmex.model.collada.schema;
\r
17 public class fx_surface_init_cube_common extends com.jmex.xml.xml.Node {
\r
19 public fx_surface_init_cube_common(fx_surface_init_cube_common node) {
\r
23 public fx_surface_init_cube_common(org.w3c.dom.Node node) {
\r
27 public fx_surface_init_cube_common(org.w3c.dom.Document doc) {
\r
31 public fx_surface_init_cube_common(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
\r
32 super(doc, namespaceURI, prefix, name);
\r
35 public void adjustPrefix() {
\r
36 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
41 new allType(tmpNode).adjustPrefix();
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new primaryType(tmpNode).adjustPrefix();
\r
50 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "face" );
\r
52 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "face", tmpNode )
\r
54 internalAdjustPrefix(tmpNode, true);
\r
55 new faceType(tmpNode).adjustPrefix();
\r
58 public void setXsiType() {
\r
59 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
60 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "fx_surface_init_cube_common");
\r
63 public static int getallMinCount() {
\r
67 public static int getallMaxCount() {
\r
71 public int getallCount() {
\r
72 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");
\r
75 public boolean hasall() {
\r
76 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all");
\r
79 public allType newall() {
\r
80 return new allType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "all"));
\r
83 public allType getallAt(int index) throws Exception {
\r
84 return new allType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index));
\r
87 public org.w3c.dom.Node getStartingallCursor() throws Exception {
\r
88 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "all" );
\r
91 public org.w3c.dom.Node getAdvancedallCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
92 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "all", curNode );
\r
95 public allType getallValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
96 if( curNode == null )
\r
97 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
99 return new allType(curNode);
\r
102 public allType getall() throws Exception
\r
104 return getallAt(0);
\r
107 public void removeallAt(int index) {
\r
108 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "all", index);
\r
111 public void removeall() {
\r
115 public org.w3c.dom.Node addall(allType value) {
\r
116 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "all", value);
\r
119 public void insertallAt(allType value, int index) {
\r
120 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);
\r
123 public void replaceallAt(allType value, int index) {
\r
124 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "all", index, value);
\r
127 public static int getprimaryMinCount() {
\r
131 public static int getprimaryMaxCount() {
\r
135 public int getprimaryCount() {
\r
136 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");
\r
139 public boolean hasprimary() {
\r
140 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary");
\r
143 public primaryType newprimary() {
\r
144 return new primaryType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "primary"));
\r
147 public primaryType getprimaryAt(int index) throws Exception {
\r
148 return new primaryType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index));
\r
151 public org.w3c.dom.Node getStartingprimaryCursor() throws Exception {
\r
152 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary" );
\r
155 public org.w3c.dom.Node getAdvancedprimaryCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
156 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", curNode );
\r
159 public primaryType getprimaryValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
160 if( curNode == null )
\r
161 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
163 return new primaryType(curNode);
\r
166 public primaryType getprimary() throws Exception
\r
168 return getprimaryAt(0);
\r
171 public void removeprimaryAt(int index) {
\r
172 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "primary", index);
\r
175 public void removeprimary() {
\r
176 removeprimaryAt(0);
\r
179 public org.w3c.dom.Node addprimary(primaryType value) {
\r
180 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "primary", value);
\r
183 public void insertprimaryAt(primaryType value, int index) {
\r
184 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);
\r
187 public void replaceprimaryAt(primaryType value, int index) {
\r
188 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "primary", index, value);
\r
191 public static int getfaceMinCount() {
\r
195 public static int getfaceMaxCount() {
\r
199 public int getfaceCount() {
\r
200 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "face");
\r
203 public boolean hasface() {
\r
204 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "face");
\r
207 public faceType newface() {
\r
208 return new faceType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "face"));
\r
211 public faceType getfaceAt(int index) throws Exception {
\r
212 return new faceType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "face", index));
\r
215 public org.w3c.dom.Node getStartingfaceCursor() throws Exception {
\r
216 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "face" );
\r
219 public org.w3c.dom.Node getAdvancedfaceCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
220 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "face", curNode );
\r
223 public faceType getfaceValueAtCursor( 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
227 return new faceType(curNode);
\r
230 public faceType getface() throws Exception
\r
232 return getfaceAt(0);
\r
235 public void removefaceAt(int index) {
\r
236 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "face", index);
\r
239 public void removeface() {
\r
244 public org.w3c.dom.Node addface(faceType value) {
\r
245 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "face", value);
\r
248 public void insertfaceAt(faceType value, int index) {
\r
249 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "face", index, value);
\r
252 public void replacefaceAt(faceType value, int index) {
\r
253 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "face", index, value);
\r