2 * technique_commonType3.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
17 public class technique_commonType3 extends com.jmex.xml.xml.Node {
\r
19 public technique_commonType3(technique_commonType3 node) {
\r
23 public technique_commonType3(org.w3c.dom.Node node) {
\r
27 public technique_commonType3(org.w3c.dom.Document doc) {
\r
31 public technique_commonType3(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", "angular_velocity" );
\r
38 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", tmpNode )
\r
40 internalAdjustPrefix(tmpNode, true);
\r
42 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );
\r
44 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", tmpNode )
\r
46 internalAdjustPrefix(tmpNode, true);
\r
48 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );
\r
50 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", tmpNode )
\r
52 internalAdjustPrefix(tmpNode, true);
\r
53 new dynamicType(tmpNode).adjustPrefix();
\r
55 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );
\r
57 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", tmpNode )
\r
59 internalAdjustPrefix(tmpNode, true);
\r
60 new TargetableFloat(tmpNode).adjustPrefix();
\r
62 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );
\r
64 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", tmpNode )
\r
66 internalAdjustPrefix(tmpNode, true);
\r
67 new mass_frameType(tmpNode).adjustPrefix();
\r
69 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia" );
\r
71 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", tmpNode )
\r
73 internalAdjustPrefix(tmpNode, true);
\r
74 new TargetableFloat3(tmpNode).adjustPrefix();
\r
76 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );
\r
78 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", tmpNode )
\r
80 internalAdjustPrefix(tmpNode, true);
\r
81 new InstanceWithExtra(tmpNode).adjustPrefix();
\r
83 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );
\r
85 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", tmpNode )
\r
87 internalAdjustPrefix(tmpNode, true);
\r
88 new physics_materialType(tmpNode).adjustPrefix();
\r
90 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape" );
\r
92 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", tmpNode )
\r
94 internalAdjustPrefix(tmpNode, true);
\r
95 new shapeType(tmpNode).adjustPrefix();
\r
98 public void setXsiType() {
\r
99 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
100 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "technique_common");
\r
103 public static int getangular_velocityMinCount() {
\r
107 public static int getangular_velocityMaxCount() {
\r
111 public int getangular_velocityCount() {
\r
112 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");
\r
115 public boolean hasangular_velocity() {
\r
116 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");
\r
119 public float3 newangular_velocity() {
\r
120 return new float3();
\r
123 public float3 getangular_velocityAt(int index) throws Exception {
\r
124 return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index)));
\r
127 public org.w3c.dom.Node getStartingangular_velocityCursor() throws Exception {
\r
128 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity" );
\r
131 public org.w3c.dom.Node getAdvancedangular_velocityCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
132 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", curNode );
\r
135 public float3 getangular_velocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
136 if( curNode == null )
\r
137 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
139 return new float3(getDomNodeValue(curNode));
\r
142 public float3 getangular_velocity() throws Exception
\r
144 return getangular_velocityAt(0);
\r
147 public void removeangular_velocityAt(int index) {
\r
148 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index);
\r
151 public void removeangular_velocity() {
\r
152 removeangular_velocityAt(0);
\r
155 public org.w3c.dom.Node addangular_velocity(float3 value) {
\r
156 if( value.isNull() )
\r
159 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", value.toString());
\r
162 public org.w3c.dom.Node addangular_velocity(String value) throws Exception {
\r
163 return addangular_velocity(new float3(value));
\r
166 public void insertangular_velocityAt(float3 value, int index) {
\r
167 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());
\r
170 public void insertangular_velocityAt(String value, int index) throws Exception {
\r
171 insertangular_velocityAt(new float3(value), index);
\r
174 public void replaceangular_velocityAt(float3 value, int index) {
\r
175 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());
\r
178 public void replaceangular_velocityAt(String value, int index) throws Exception {
\r
179 replaceangular_velocityAt(new float3(value), index);
\r
182 public static int getvelocityMinCount() {
\r
186 public static int getvelocityMaxCount() {
\r
190 public int getvelocityCount() {
\r
191 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");
\r
194 public boolean hasvelocity() {
\r
195 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");
\r
198 public float3 newvelocity() {
\r
199 return new float3();
\r
202 public float3 getvelocityAt(int index) throws Exception {
\r
203 return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index)));
\r
206 public org.w3c.dom.Node getStartingvelocityCursor() throws Exception {
\r
207 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );
\r
210 public org.w3c.dom.Node getAdvancedvelocityCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
211 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", curNode );
\r
214 public float3 getvelocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
215 if( curNode == null )
\r
216 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
218 return new float3(getDomNodeValue(curNode));
\r
221 public float3 getvelocity() throws Exception
\r
223 return getvelocityAt(0);
\r
226 public void removevelocityAt(int index) {
\r
227 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index);
\r
230 public void removevelocity() {
\r
231 removevelocityAt(0);
\r
234 public org.w3c.dom.Node addvelocity(float3 value) {
\r
235 if( value.isNull() )
\r
238 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", value.toString());
\r
241 public org.w3c.dom.Node addvelocity(String value) throws Exception {
\r
242 return addvelocity(new float3(value));
\r
245 public void insertvelocityAt(float3 value, int index) {
\r
246 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());
\r
249 public void insertvelocityAt(String value, int index) throws Exception {
\r
250 insertvelocityAt(new float3(value), index);
\r
253 public void replacevelocityAt(float3 value, int index) {
\r
254 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());
\r
257 public void replacevelocityAt(String value, int index) throws Exception {
\r
258 replacevelocityAt(new float3(value), index);
\r
261 public static int getdynamicMinCount() {
\r
265 public static int getdynamicMaxCount() {
\r
269 public int getdynamicCount() {
\r
270 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");
\r
273 public boolean hasdynamic() {
\r
274 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");
\r
277 public dynamicType newdynamic() {
\r
278 return new dynamicType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dynamic"));
\r
281 public dynamicType getdynamicAt(int index) throws Exception {
\r
282 return new dynamicType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index));
\r
285 public org.w3c.dom.Node getStartingdynamicCursor() throws Exception {
\r
286 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );
\r
289 public org.w3c.dom.Node getAdvanceddynamicCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
290 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", curNode );
\r
293 public dynamicType getdynamicValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
294 if( curNode == null )
\r
295 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
297 return new dynamicType(curNode);
\r
300 public dynamicType getdynamic() throws Exception
\r
302 return getdynamicAt(0);
\r
305 public void removedynamicAt(int index) {
\r
306 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index);
\r
309 public void removedynamic() {
\r
310 removedynamicAt(0);
\r
313 public org.w3c.dom.Node adddynamic(dynamicType value) {
\r
314 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "dynamic", value);
\r
317 public void insertdynamicAt(dynamicType value, int index) {
\r
318 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);
\r
321 public void replacedynamicAt(dynamicType value, int index) {
\r
322 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);
\r
325 public static int getmassMinCount() {
\r
329 public static int getmassMaxCount() {
\r
333 public int getmassCount() {
\r
334 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");
\r
337 public boolean hasmass() {
\r
338 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");
\r
341 public TargetableFloat newmass() {
\r
342 return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass"));
\r
345 public TargetableFloat getmassAt(int index) throws Exception {
\r
346 return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index));
\r
349 public org.w3c.dom.Node getStartingmassCursor() throws Exception {
\r
350 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );
\r
353 public org.w3c.dom.Node getAdvancedmassCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
354 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", curNode );
\r
357 public TargetableFloat getmassValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
358 if( curNode == null )
\r
359 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
361 return new TargetableFloat(curNode);
\r
364 public TargetableFloat getmass() throws Exception
\r
366 return getmassAt(0);
\r
369 public void removemassAt(int index) {
\r
370 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index);
\r
373 public void removemass() {
\r
377 public org.w3c.dom.Node addmass(TargetableFloat value) {
\r
378 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass", value);
\r
381 public void insertmassAt(TargetableFloat value, int index) {
\r
382 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);
\r
385 public void replacemassAt(TargetableFloat value, int index) {
\r
386 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);
\r
389 public static int getmass_frameMinCount() {
\r
393 public static int getmass_frameMaxCount() {
\r
397 public int getmass_frameCount() {
\r
398 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");
\r
401 public boolean hasmass_frame() {
\r
402 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");
\r
405 public mass_frameType newmass_frame() {
\r
406 return new mass_frameType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass_frame"));
\r
409 public mass_frameType getmass_frameAt(int index) throws Exception {
\r
410 return new mass_frameType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index));
\r
413 public org.w3c.dom.Node getStartingmass_frameCursor() throws Exception {
\r
414 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );
\r
417 public org.w3c.dom.Node getAdvancedmass_frameCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
418 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", curNode );
\r
421 public mass_frameType getmass_frameValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
422 if( curNode == null )
\r
423 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
425 return new mass_frameType(curNode);
\r
428 public mass_frameType getmass_frame() throws Exception
\r
430 return getmass_frameAt(0);
\r
433 public void removemass_frameAt(int index) {
\r
434 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index);
\r
437 public void removemass_frame() {
\r
438 removemass_frameAt(0);
\r
441 public org.w3c.dom.Node addmass_frame(mass_frameType value) {
\r
442 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", value);
\r
445 public void insertmass_frameAt(mass_frameType value, int index) {
\r
446 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index, value);
\r
449 public void replacemass_frameAt(mass_frameType value, int index) {
\r
450 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index, value);
\r
453 public static int getinertiaMinCount() {
\r
457 public static int getinertiaMaxCount() {
\r
461 public int getinertiaCount() {
\r
462 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia");
\r
465 public boolean hasinertia() {
\r
466 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia");
\r
469 public TargetableFloat3 newinertia() {
\r
470 return new TargetableFloat3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "inertia"));
\r
473 public TargetableFloat3 getinertiaAt(int index) throws Exception {
\r
474 return new TargetableFloat3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", index));
\r
477 public org.w3c.dom.Node getStartinginertiaCursor() throws Exception {
\r
478 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia" );
\r
481 public org.w3c.dom.Node getAdvancedinertiaCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
482 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", curNode );
\r
485 public TargetableFloat3 getinertiaValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
486 if( curNode == null )
\r
487 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
489 return new TargetableFloat3(curNode);
\r
492 public TargetableFloat3 getinertia() throws Exception
\r
494 return getinertiaAt(0);
\r
497 public void removeinertiaAt(int index) {
\r
498 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", index);
\r
501 public void removeinertia() {
\r
502 removeinertiaAt(0);
\r
505 public org.w3c.dom.Node addinertia(TargetableFloat3 value) {
\r
506 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "inertia", value);
\r
509 public void insertinertiaAt(TargetableFloat3 value, int index) {
\r
510 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "inertia", index, value);
\r
513 public void replaceinertiaAt(TargetableFloat3 value, int index) {
\r
514 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "inertia", index, value);
\r
517 public static int getinstance_physics_materialMinCount() {
\r
521 public static int getinstance_physics_materialMaxCount() {
\r
525 public int getinstance_physics_materialCount() {
\r
526 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");
\r
529 public boolean hasinstance_physics_material() {
\r
530 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material");
\r
533 public InstanceWithExtra newinstance_physics_material() {
\r
534 return new InstanceWithExtra(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material"));
\r
537 public InstanceWithExtra getinstance_physics_materialAt(int index) throws Exception {
\r
538 return new InstanceWithExtra(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index));
\r
541 public org.w3c.dom.Node getStartinginstance_physics_materialCursor() throws Exception {
\r
542 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );
\r
545 public org.w3c.dom.Node getAdvancedinstance_physics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
546 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", curNode );
\r
549 public InstanceWithExtra getinstance_physics_materialValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
550 if( curNode == null )
\r
551 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
553 return new InstanceWithExtra(curNode);
\r
556 public InstanceWithExtra getinstance_physics_material() throws Exception
\r
558 return getinstance_physics_materialAt(0);
\r
561 public void removeinstance_physics_materialAt(int index) {
\r
562 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index);
\r
565 public void removeinstance_physics_material() {
\r
566 removeinstance_physics_materialAt(0);
\r
569 public org.w3c.dom.Node addinstance_physics_material(InstanceWithExtra value) {
\r
570 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", value);
\r
573 public void insertinstance_physics_materialAt(InstanceWithExtra value, int index) {
\r
574 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);
\r
577 public void replaceinstance_physics_materialAt(InstanceWithExtra value, int index) {
\r
578 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", index, value);
\r
581 public static int getphysics_materialMinCount() {
\r
585 public static int getphysics_materialMaxCount() {
\r
589 public int getphysics_materialCount() {
\r
590 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");
\r
593 public boolean hasphysics_material() {
\r
594 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material");
\r
597 public physics_materialType newphysics_material() {
\r
598 return new physics_materialType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "physics_material"));
\r
601 public physics_materialType getphysics_materialAt(int index) throws Exception {
\r
602 return new physics_materialType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index));
\r
605 public org.w3c.dom.Node getStartingphysics_materialCursor() throws Exception {
\r
606 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );
\r
609 public org.w3c.dom.Node getAdvancedphysics_materialCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
610 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", curNode );
\r
613 public physics_materialType getphysics_materialValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
614 if( curNode == null )
\r
615 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
617 return new physics_materialType(curNode);
\r
620 public physics_materialType getphysics_material() throws Exception
\r
622 return getphysics_materialAt(0);
\r
625 public void removephysics_materialAt(int index) {
\r
626 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", index);
\r
629 public void removephysics_material() {
\r
630 removephysics_materialAt(0);
\r
633 public org.w3c.dom.Node addphysics_material(physics_materialType value) {
\r
634 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "physics_material", value);
\r
637 public void insertphysics_materialAt(physics_materialType value, int index) {
\r
638 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);
\r
641 public void replacephysics_materialAt(physics_materialType value, int index) {
\r
642 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "physics_material", index, value);
\r
645 public static int getshapeMinCount() {
\r
649 public static int getshapeMaxCount() {
\r
650 return Integer.MAX_VALUE;
\r
653 public int getshapeCount() {
\r
654 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape");
\r
657 public boolean hasshape() {
\r
658 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape");
\r
661 public shapeType newshape() {
\r
662 return new shapeType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "shape"));
\r
665 public shapeType getshapeAt(int index) throws Exception {
\r
666 return new shapeType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", index));
\r
669 public org.w3c.dom.Node getStartingshapeCursor() throws Exception {
\r
670 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape" );
\r
673 public org.w3c.dom.Node getAdvancedshapeCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
674 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", curNode );
\r
677 public shapeType getshapeValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
678 if( curNode == null )
\r
679 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
681 return new shapeType(curNode);
\r
684 public shapeType getshape() throws Exception
\r
686 return getshapeAt(0);
\r
689 public void removeshapeAt(int index) {
\r
690 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", index);
\r
693 public void removeshape() {
\r
698 public org.w3c.dom.Node addshape(shapeType value) {
\r
699 return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "shape", value);
\r
702 public void insertshapeAt(shapeType value, int index) {
\r
703 insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shape", index, value);
\r
706 public void replaceshapeAt(shapeType value, int index) {
\r
707 replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "shape", index, value);
\r