2 * gles_texture_pipeline.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 gles_texture_pipeline extends com.jmex.xml.xml.Node {
\r
20 public gles_texture_pipeline(gles_texture_pipeline node) {
\r
24 public gles_texture_pipeline(org.w3c.dom.Node node) {
\r
28 public gles_texture_pipeline(org.w3c.dom.Document doc) {
\r
32 public gles_texture_pipeline(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, "sid" );
\r
39 tmpNode = getDomNextChild( Attribute, null, "sid", tmpNode )
\r
41 internalAdjustPrefix(tmpNode, false);
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new gles_texcombiner_command_type(tmpNode).adjustPrefix();
\r
50 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv" );
\r
52 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", tmpNode )
\r
54 internalAdjustPrefix(tmpNode, true);
\r
55 new gles_texenv_command_type(tmpNode).adjustPrefix();
\r
57 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
\r
59 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )
\r
61 internalAdjustPrefix(tmpNode, true);
\r
62 new extraType(tmpNode).adjustPrefix();
\r
65 public void setXsiType() {
\r
66 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
67 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "gles_texture_pipeline");
\r
70 public static int getsidMinCount() {
\r
74 public static int getsidMaxCount() {
\r
78 public int getsidCount() {
\r
79 return getDomChildCount(Attribute, null, "sid");
\r
82 public boolean hassid() {
\r
83 return hasDomChild(Attribute, null, "sid");
\r
86 public SchemaNCName newsid() {
\r
87 return new SchemaNCName();
\r
90 public SchemaNCName getsidAt(int index) throws Exception {
\r
91 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));
\r
94 public org.w3c.dom.Node getStartingsidCursor() throws Exception {
\r
95 return getDomFirstChild(Attribute, null, "sid" );
\r
98 public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
99 return getDomNextChild( Attribute, null, "sid", curNode );
\r
102 public SchemaNCName getsidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
103 if( curNode == null )
\r
104 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
106 return new SchemaNCName(getDomNodeValue(curNode));
\r
109 public SchemaNCName getsid() throws Exception
\r
111 return getsidAt(0);
\r
114 public void removesidAt(int index) {
\r
115 removeDomChildAt(Attribute, null, "sid", index);
\r
118 public void removesid() {
\r
122 public org.w3c.dom.Node addsid(SchemaNCName value) {
\r
123 if( value.isNull() )
\r
126 return appendDomChild(Attribute, null, "sid", value.toString());
\r
129 public org.w3c.dom.Node addsid(String value) throws Exception {
\r
130 return addsid(new SchemaNCName(value));
\r
133 public void insertsidAt(SchemaNCName value, int index) {
\r
134 insertDomChildAt(Attribute, null, "sid", index, value.toString());
\r
137 public void insertsidAt(String value, int index) throws Exception {
\r
138 insertsidAt(new SchemaNCName(value), index);
\r
141 public void replacesidAt(SchemaNCName value, int index) {
\r
142 replaceDomChildAt(Attribute, null, "sid", index, value.toString());
\r
145 public void replacesidAt(String value, int index) throws Exception {
\r
146 replacesidAt(new SchemaNCName(value), index);
\r
149 public static int gettexcombinerMinCount() {
\r
153 public static int gettexcombinerMaxCount() {
\r
157 public int gettexcombinerCount() {
\r
158 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner");
\r
161 public boolean hastexcombiner() {
\r
162 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner");
\r
165 public gles_texcombiner_command_type newtexcombiner() {
\r
166 return new gles_texcombiner_command_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "texcombiner"));
\r
169 public gles_texcombiner_command_type gettexcombinerAt(int index) throws Exception {
\r
170 return new gles_texcombiner_command_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index));
\r
173 public org.w3c.dom.Node getStartingtexcombinerCursor() throws Exception {
\r
174 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner" );
\r
177 public org.w3c.dom.Node getAdvancedtexcombinerCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
178 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", curNode );
\r
181 public gles_texcombiner_command_type gettexcombinerValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
182 if( curNode == null )
\r
183 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
185 return new gles_texcombiner_command_type(curNode);
\r
188 public gles_texcombiner_command_type gettexcombiner() throws Exception
\r
190 return gettexcombinerAt(0);
\r
193 public void removetexcombinerAt(int index) {
\r
194 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index);
\r
197 public void removetexcombiner() {
\r
198 removetexcombinerAt(0);
\r
201 public org.w3c.dom.Node addtexcombiner(gles_texcombiner_command_type value) {
\r
202 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", value);
\r
205 public void inserttexcombinerAt(gles_texcombiner_command_type value, int index) {
\r
206 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index, value);
\r
209 public void replacetexcombinerAt(gles_texcombiner_command_type value, int index) {
\r
210 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texcombiner", index, value);
\r
213 public static int gettexenvMinCount() {
\r
217 public static int gettexenvMaxCount() {
\r
221 public int gettexenvCount() {
\r
222 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv");
\r
225 public boolean hastexenv() {
\r
226 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv");
\r
229 public gles_texenv_command_type newtexenv() {
\r
230 return new gles_texenv_command_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "texenv"));
\r
233 public gles_texenv_command_type gettexenvAt(int index) throws Exception {
\r
234 return new gles_texenv_command_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", index));
\r
237 public org.w3c.dom.Node getStartingtexenvCursor() throws Exception {
\r
238 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv" );
\r
241 public org.w3c.dom.Node getAdvancedtexenvCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
242 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", curNode );
\r
245 public gles_texenv_command_type gettexenvValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
246 if( curNode == null )
\r
247 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
249 return new gles_texenv_command_type(curNode);
\r
252 public gles_texenv_command_type gettexenv() throws Exception
\r
254 return gettexenvAt(0);
\r
257 public void removetexenvAt(int index) {
\r
258 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "texenv", index);
\r
261 public void removetexenv() {
\r
265 public org.w3c.dom.Node addtexenv(gles_texenv_command_type value) {
\r
266 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "texenv", value);
\r
269 public void inserttexenvAt(gles_texenv_command_type value, int index) {
\r
270 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texenv", index, value);
\r
273 public void replacetexenvAt(gles_texenv_command_type value, int index) {
\r
274 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "texenv", index, value);
\r
277 public static int getextraMinCount() {
\r
281 public static int getextraMaxCount() {
\r
285 public int getextraCount() {
\r
286 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
\r
289 public boolean hasextra() {
\r
290 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
\r
293 public extraType newextra() {
\r
294 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));
\r
297 public extraType getextraAt(int index) throws Exception {
\r
298 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));
\r
301 public org.w3c.dom.Node getStartingextraCursor() throws Exception {
\r
302 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
\r
305 public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
306 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );
\r
309 public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
310 if( curNode == null )
\r
311 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
313 return new extraType(curNode);
\r
316 public extraType getextra() throws Exception
\r
318 return getextraAt(0);
\r
321 public void removeextraAt(int index) {
\r
322 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);
\r
325 public void removeextra() {
\r
329 public org.w3c.dom.Node addextra(extraType value) {
\r
330 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);
\r
333 public void insertextraAt(extraType value, int index) {
\r
334 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
\r
337 public void replaceextraAt(extraType value, int index) {
\r
338 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
\r