2 * evaluate_sceneType.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 evaluate_sceneType extends com.jmex.xml.xml.Node {
\r
20 public evaluate_sceneType(evaluate_sceneType node) {
\r
24 public evaluate_sceneType(org.w3c.dom.Node node) {
\r
28 public evaluate_sceneType(org.w3c.dom.Document doc) {
\r
32 public evaluate_sceneType(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, "name" );
\r
39 tmpNode = getDomNextChild( Attribute, null, "name", tmpNode )
\r
41 internalAdjustPrefix(tmpNode, false);
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "render" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "render", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new renderType(tmpNode).adjustPrefix();
\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", "evaluate_scene");
\r
56 public static int getnameMinCount() {
\r
60 public static int getnameMaxCount() {
\r
64 public int getnameCount() {
\r
65 return getDomChildCount(Attribute, null, "name");
\r
68 public boolean hasname() {
\r
69 return hasDomChild(Attribute, null, "name");
\r
72 public SchemaNCName newname() {
\r
73 return new SchemaNCName();
\r
76 public SchemaNCName getnameAt(int index) throws Exception {
\r
77 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "name", index)));
\r
80 public org.w3c.dom.Node getStartingnameCursor() throws Exception {
\r
81 return getDomFirstChild(Attribute, null, "name" );
\r
84 public org.w3c.dom.Node getAdvancednameCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
85 return getDomNextChild( Attribute, null, "name", curNode );
\r
88 public SchemaNCName getnameValueAtCursor( 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
92 return new SchemaNCName(getDomNodeValue(curNode));
\r
95 public SchemaNCName getname() throws Exception
\r
97 return getnameAt(0);
\r
100 public void removenameAt(int index) {
\r
101 removeDomChildAt(Attribute, null, "name", index);
\r
104 public void removename() {
\r
108 public org.w3c.dom.Node addname(SchemaNCName value) {
\r
109 if( value.isNull() )
\r
112 return appendDomChild(Attribute, null, "name", value.toString());
\r
115 public org.w3c.dom.Node addname(String value) throws Exception {
\r
116 return addname(new SchemaNCName(value));
\r
119 public void insertnameAt(SchemaNCName value, int index) {
\r
120 insertDomChildAt(Attribute, null, "name", index, value.toString());
\r
123 public void insertnameAt(String value, int index) throws Exception {
\r
124 insertnameAt(new SchemaNCName(value), index);
\r
127 public void replacenameAt(SchemaNCName value, int index) {
\r
128 replaceDomChildAt(Attribute, null, "name", index, value.toString());
\r
131 public void replacenameAt(String value, int index) throws Exception {
\r
132 replacenameAt(new SchemaNCName(value), index);
\r
135 public static int getrenderMinCount() {
\r
139 public static int getrenderMaxCount() {
\r
140 return Integer.MAX_VALUE;
\r
143 public int getrenderCount() {
\r
144 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "render");
\r
147 public boolean hasrender() {
\r
148 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "render");
\r
151 public renderType newrender() {
\r
152 return new renderType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "render"));
\r
155 public renderType getrenderAt(int index) throws Exception {
\r
156 return new renderType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "render", index));
\r
159 public org.w3c.dom.Node getStartingrenderCursor() throws Exception {
\r
160 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "render" );
\r
163 public org.w3c.dom.Node getAdvancedrenderCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
164 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "render", curNode );
\r
167 public renderType getrenderValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
168 if( curNode == null )
\r
169 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
171 return new renderType(curNode);
\r
174 public renderType getrender() throws Exception
\r
176 return getrenderAt(0);
\r
179 public void removerenderAt(int index) {
\r
180 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "render", index);
\r
183 public void removerender() {
\r
184 while (hasrender())
\r
188 public org.w3c.dom.Node addrender(renderType value) {
\r
189 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "render", value);
\r
192 public void insertrenderAt(renderType value, int index) {
\r
193 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "render", index, value);
\r
196 public void replacerenderAt(renderType value, int index) {
\r
197 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "render", index, value);
\r