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 planeType extends com.jmex.xml.xml.Node {
\r
19 public planeType(planeType node) {
\r
23 public planeType(org.w3c.dom.Node node) {
\r
27 public planeType(org.w3c.dom.Document doc) {
\r
31 public planeType(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", "equation" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
42 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
\r
44 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )
\r
46 internalAdjustPrefix(tmpNode, true);
\r
47 new extraType(tmpNode).adjustPrefix();
\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", "plane");
\r
55 public static int getequationMinCount() {
\r
59 public static int getequationMaxCount() {
\r
63 public int getequationCount() {
\r
64 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation");
\r
67 public boolean hasequation() {
\r
68 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation");
\r
71 public float4 newequation() {
\r
72 return new float4();
\r
75 public float4 getequationAt(int index) throws Exception {
\r
76 return new float4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", index)));
\r
79 public org.w3c.dom.Node getStartingequationCursor() throws Exception {
\r
80 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation" );
\r
83 public org.w3c.dom.Node getAdvancedequationCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
84 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", curNode );
\r
87 public float4 getequationValueAtCursor( 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 float4(getDomNodeValue(curNode));
\r
94 public float4 getequation() throws Exception
\r
96 return getequationAt(0);
\r
99 public void removeequationAt(int index) {
\r
100 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", index);
\r
103 public void removeequation() {
\r
104 removeequationAt(0);
\r
107 public org.w3c.dom.Node addequation(float4 value) {
\r
108 if( value.isNull() )
\r
111 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", value.toString());
\r
114 public org.w3c.dom.Node addequation(String value) throws Exception {
\r
115 return addequation(new float4(value));
\r
118 public void insertequationAt(float4 value, int index) {
\r
119 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", index, value.toString());
\r
122 public void insertequationAt(String value, int index) throws Exception {
\r
123 insertequationAt(new float4(value), index);
\r
126 public void replaceequationAt(float4 value, int index) {
\r
127 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "equation", index, value.toString());
\r
130 public void replaceequationAt(String value, int index) throws Exception {
\r
131 replaceequationAt(new float4(value), index);
\r
134 public static int getextraMinCount() {
\r
138 public static int getextraMaxCount() {
\r
139 return Integer.MAX_VALUE;
\r
142 public int getextraCount() {
\r
143 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
\r
146 public boolean hasextra() {
\r
147 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
\r
150 public extraType newextra() {
\r
151 return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));
\r
154 public extraType getextraAt(int index) throws Exception {
\r
155 return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));
\r
158 public org.w3c.dom.Node getStartingextraCursor() throws Exception {
\r
159 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
\r
162 public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
163 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );
\r
166 public extraType getextraValueAtCursor( 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 extraType(curNode);
\r
173 public extraType getextra() throws Exception
\r
175 return getextraAt(0);
\r
178 public void removeextraAt(int index) {
\r
179 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);
\r
182 public void removeextra() {
\r
187 public org.w3c.dom.Node addextra(extraType value) {
\r
188 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);
\r
191 public void insertextraAt(extraType value, int index) {
\r
192 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
\r
195 public void replaceextraAt(extraType value, int index) {
\r
196 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
\r