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 limitsType extends com.jmex.xml.xml.Node {
\r
19 public limitsType(limitsType node) {
\r
23 public limitsType(org.w3c.dom.Node node) {
\r
27 public limitsType(org.w3c.dom.Document doc) {
\r
31 public limitsType(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", "swing_cone_and_twist" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
41 new swing_cone_and_twistType(tmpNode).adjustPrefix();
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linear" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linear", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
48 new linearType(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", "limits");
\r
56 public static int getswing_cone_and_twistMinCount() {
\r
60 public static int getswing_cone_and_twistMaxCount() {
\r
64 public int getswing_cone_and_twistCount() {
\r
65 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist");
\r
68 public boolean hasswing_cone_and_twist() {
\r
69 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist");
\r
72 public swing_cone_and_twistType newswing_cone_and_twist() {
\r
73 return new swing_cone_and_twistType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist"));
\r
76 public swing_cone_and_twistType getswing_cone_and_twistAt(int index) throws Exception {
\r
77 return new swing_cone_and_twistType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", index));
\r
80 public org.w3c.dom.Node getStartingswing_cone_and_twistCursor() throws Exception {
\r
81 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist" );
\r
84 public org.w3c.dom.Node getAdvancedswing_cone_and_twistCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
85 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", curNode );
\r
88 public swing_cone_and_twistType getswing_cone_and_twistValueAtCursor( 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 swing_cone_and_twistType(curNode);
\r
95 public swing_cone_and_twistType getswing_cone_and_twist() throws Exception
\r
97 return getswing_cone_and_twistAt(0);
\r
100 public void removeswing_cone_and_twistAt(int index) {
\r
101 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", index);
\r
104 public void removeswing_cone_and_twist() {
\r
105 removeswing_cone_and_twistAt(0);
\r
108 public org.w3c.dom.Node addswing_cone_and_twist(swing_cone_and_twistType value) {
\r
109 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", value);
\r
112 public void insertswing_cone_and_twistAt(swing_cone_and_twistType value, int index) {
\r
113 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", index, value);
\r
116 public void replaceswing_cone_and_twistAt(swing_cone_and_twistType value, int index) {
\r
117 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "swing_cone_and_twist", index, value);
\r
120 public static int getlinearMinCount() {
\r
124 public static int getlinearMaxCount() {
\r
128 public int getlinearCount() {
\r
129 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "linear");
\r
132 public boolean haslinear() {
\r
133 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linear");
\r
136 public linearType newlinear() {
\r
137 return new linearType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "linear"));
\r
140 public linearType getlinearAt(int index) throws Exception {
\r
141 return new linearType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "linear", index));
\r
144 public org.w3c.dom.Node getStartinglinearCursor() throws Exception {
\r
145 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linear" );
\r
148 public org.w3c.dom.Node getAdvancedlinearCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
149 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linear", curNode );
\r
152 public linearType getlinearValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
153 if( curNode == null )
\r
154 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
156 return new linearType(curNode);
\r
159 public linearType getlinear() throws Exception
\r
161 return getlinearAt(0);
\r
164 public void removelinearAt(int index) {
\r
165 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "linear", index);
\r
168 public void removelinear() {
\r
172 public org.w3c.dom.Node addlinear(linearType value) {
\r
173 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "linear", value);
\r
176 public void insertlinearAt(linearType value, int index) {
\r
177 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linear", index, value);
\r
180 public void replacelinearAt(linearType value, int index) {
\r
181 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linear", index, value);
\r