2 * cull_faceType2.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
16 import com.jmex.xml.types.SchemaNCName;
\r
18 public class cull_faceType2 extends com.jmex.xml.xml.Node {
\r
20 public cull_faceType2(cull_faceType2 node) {
\r
24 public cull_faceType2(org.w3c.dom.Node node) {
\r
28 public cull_faceType2(org.w3c.dom.Document doc) {
\r
32 public cull_faceType2(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
\r
33 super(doc, namespaceURI, prefix, name);
\r
36 public void adjustPrefix() {
\r
37 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "value" );
\r
39 tmpNode = getDomNextChild( Attribute, null, "value", tmpNode )
\r
41 internalAdjustPrefix(tmpNode, false);
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "param" );
\r
45 tmpNode = getDomNextChild( Attribute, null, "param", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, false);
\r
50 public void setXsiType() {
\r
51 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
52 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "cull_face");
\r
55 public static int getvalue2MinCount() {
\r
59 public static int getvalue2MaxCount() {
\r
63 public int getvalue2Count() {
\r
64 return getDomChildCount(Attribute, null, "value");
\r
67 public boolean hasvalue2() {
\r
68 return hasDomChild(Attribute, null, "value");
\r
71 public gl_face_type newvalue2() {
\r
72 return new gl_face_type();
\r
75 public gl_face_type getvalue2At(int index) throws Exception {
\r
76 return new gl_face_type(getDomNodeValue(getDomChildAt(Attribute, null, "value", index)));
\r
79 public org.w3c.dom.Node getStartingvalue2Cursor() throws Exception {
\r
80 return getDomFirstChild(Attribute, null, "value" );
\r
83 public org.w3c.dom.Node getAdvancedvalue2Cursor( org.w3c.dom.Node curNode ) throws Exception {
\r
84 return getDomNextChild( Attribute, null, "value", curNode );
\r
87 public gl_face_type getvalue2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
88 if( curNode == null )
\r
89 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
91 return new gl_face_type(getDomNodeValue(curNode));
\r
94 public gl_face_type getvalue2() throws Exception
\r
96 return getvalue2At(0);
\r
99 public void removevalue2At(int index) {
\r
100 removeDomChildAt(Attribute, null, "value", index);
\r
103 public void removevalue2() {
\r
107 public org.w3c.dom.Node addvalue2(gl_face_type value) {
\r
108 if( value.isNull() )
\r
111 return appendDomChild(Attribute, null, "value", value.toString());
\r
114 public org.w3c.dom.Node addvalue2(String value) throws Exception {
\r
115 return addvalue2(new gl_face_type(value));
\r
118 public void insertvalue2At(gl_face_type value, int index) {
\r
119 insertDomChildAt(Attribute, null, "value", index, value.toString());
\r
122 public void insertvalue2At(String value, int index) throws Exception {
\r
123 insertvalue2At(new gl_face_type(value), index);
\r
126 public void replacevalue2At(gl_face_type value, int index) {
\r
127 replaceDomChildAt(Attribute, null, "value", index, value.toString());
\r
130 public void replacevalue2At(String value, int index) throws Exception {
\r
131 replacevalue2At(new gl_face_type(value), index);
\r
134 public static int getparamMinCount() {
\r
138 public static int getparamMaxCount() {
\r
142 public int getparamCount() {
\r
143 return getDomChildCount(Attribute, null, "param");
\r
146 public boolean hasparam() {
\r
147 return hasDomChild(Attribute, null, "param");
\r
150 public SchemaNCName newparam() {
\r
151 return new SchemaNCName();
\r
154 public SchemaNCName getparamAt(int index) throws Exception {
\r
155 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "param", index)));
\r
158 public org.w3c.dom.Node getStartingparamCursor() throws Exception {
\r
159 return getDomFirstChild(Attribute, null, "param" );
\r
162 public org.w3c.dom.Node getAdvancedparamCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
163 return getDomNextChild( Attribute, null, "param", curNode );
\r
166 public SchemaNCName getparamValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
167 if( curNode == null )
\r
168 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
170 return new SchemaNCName(getDomNodeValue(curNode));
\r
173 public SchemaNCName getparam() throws Exception
\r
175 return getparamAt(0);
\r
178 public void removeparamAt(int index) {
\r
179 removeDomChildAt(Attribute, null, "param", index);
\r
182 public void removeparam() {
\r
186 public org.w3c.dom.Node addparam(SchemaNCName value) {
\r
187 if( value.isNull() )
\r
190 return appendDomChild(Attribute, null, "param", value.toString());
\r
193 public org.w3c.dom.Node addparam(String value) throws Exception {
\r
194 return addparam(new SchemaNCName(value));
\r
197 public void insertparamAt(SchemaNCName value, int index) {
\r
198 insertDomChildAt(Attribute, null, "param", index, value.toString());
\r
201 public void insertparamAt(String value, int index) throws Exception {
\r
202 insertparamAt(new SchemaNCName(value), index);
\r
205 public void replaceparamAt(SchemaNCName value, int index) {
\r
206 replaceDomChildAt(Attribute, null, "param", index, value.toString());
\r
209 public void replaceparamAt(String value, int index) throws Exception {
\r
210 replaceparamAt(new SchemaNCName(value), index);
\r