2 * stencil_opType2.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 stencil_opType2 extends com.jmex.xml.xml.Node {
\r
19 public stencil_opType2(stencil_opType2 node) {
\r
23 public stencil_opType2(org.w3c.dom.Node node) {
\r
27 public stencil_opType2(org.w3c.dom.Document doc) {
\r
31 public stencil_opType2(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", "fail" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
41 new failType3(tmpNode).adjustPrefix();
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new zfailType3(tmpNode).adjustPrefix();
\r
50 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass" );
\r
52 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", tmpNode )
\r
54 internalAdjustPrefix(tmpNode, true);
\r
55 new zpassType3(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", "stencil_op");
\r
63 public static int getfailMinCount() {
\r
67 public static int getfailMaxCount() {
\r
71 public int getfailCount() {
\r
72 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail");
\r
75 public boolean hasfail() {
\r
76 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail");
\r
79 public failType3 newfail() {
\r
80 return new failType3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "fail"));
\r
83 public failType3 getfailAt(int index) throws Exception {
\r
84 return new failType3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", index));
\r
87 public org.w3c.dom.Node getStartingfailCursor() throws Exception {
\r
88 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail" );
\r
91 public org.w3c.dom.Node getAdvancedfailCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
92 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", curNode );
\r
95 public failType3 getfailValueAtCursor( 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 failType3(curNode);
\r
102 public failType3 getfail() throws Exception
\r
104 return getfailAt(0);
\r
107 public void removefailAt(int index) {
\r
108 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", index);
\r
111 public void removefail() {
\r
115 public org.w3c.dom.Node addfail(failType3 value) {
\r
116 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "fail", value);
\r
119 public void insertfailAt(failType3 value, int index) {
\r
120 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "fail", index, value);
\r
123 public void replacefailAt(failType3 value, int index) {
\r
124 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "fail", index, value);
\r
127 public static int getzfailMinCount() {
\r
131 public static int getzfailMaxCount() {
\r
135 public int getzfailCount() {
\r
136 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail");
\r
139 public boolean haszfail() {
\r
140 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail");
\r
143 public zfailType3 newzfail() {
\r
144 return new zfailType3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zfail"));
\r
147 public zfailType3 getzfailAt(int index) throws Exception {
\r
148 return new zfailType3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", index));
\r
151 public org.w3c.dom.Node getStartingzfailCursor() throws Exception {
\r
152 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail" );
\r
155 public org.w3c.dom.Node getAdvancedzfailCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
156 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", curNode );
\r
159 public zfailType3 getzfailValueAtCursor( 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 zfailType3(curNode);
\r
166 public zfailType3 getzfail() throws Exception
\r
168 return getzfailAt(0);
\r
171 public void removezfailAt(int index) {
\r
172 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", index);
\r
175 public void removezfail() {
\r
179 public org.w3c.dom.Node addzfail(zfailType3 value) {
\r
180 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zfail", value);
\r
183 public void insertzfailAt(zfailType3 value, int index) {
\r
184 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfail", index, value);
\r
187 public void replacezfailAt(zfailType3 value, int index) {
\r
188 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfail", index, value);
\r
191 public static int getzpassMinCount() {
\r
195 public static int getzpassMaxCount() {
\r
199 public int getzpassCount() {
\r
200 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass");
\r
203 public boolean haszpass() {
\r
204 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass");
\r
207 public zpassType3 newzpass() {
\r
208 return new zpassType3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zpass"));
\r
211 public zpassType3 getzpassAt(int index) throws Exception {
\r
212 return new zpassType3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", index));
\r
215 public org.w3c.dom.Node getStartingzpassCursor() throws Exception {
\r
216 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass" );
\r
219 public org.w3c.dom.Node getAdvancedzpassCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
220 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", curNode );
\r
223 public zpassType3 getzpassValueAtCursor( 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 zpassType3(curNode);
\r
230 public zpassType3 getzpass() throws Exception
\r
232 return getzpassAt(0);
\r
235 public void removezpassAt(int index) {
\r
236 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", index);
\r
239 public void removezpass() {
\r
243 public org.w3c.dom.Node addzpass(zpassType3 value) {
\r
244 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zpass", value);
\r
247 public void insertzpassAt(zpassType3 value, int index) {
\r
248 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zpass", index, value);
\r
251 public void replacezpassAt(zpassType3 value, int index) {
\r
252 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zpass", index, value);
\r