📄 technique_commontype7.java
字号:
/**
* technique_commonType7.java
*
* This file was generated by XMLSpy 2007sp2 Enterprise Edition.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the XMLSpy Documentation for further details.
* http://www.altova.com/xmlspy
*/
package com.jmex.model.collada.schema;
public class technique_commonType7 extends com.jmex.xml.xml.Node {
public technique_commonType7(technique_commonType7 node) {
super(node);
}
public technique_commonType7(org.w3c.dom.Node node) {
super(node);
}
public technique_commonType7(org.w3c.dom.Document doc) {
super(doc);
}
public technique_commonType7(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
super(doc, namespaceURI, prefix, name);
}
public void adjustPrefix() {
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new dynamicType2(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new TargetableFloat(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new mass_frameType2(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "inertia", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new TargetableFloat3(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new InstanceWithExtra(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "physics_material", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new physics_materialType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shape", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new shapeType2(tmpNode).adjustPrefix();
}
}
public void setXsiType() {
org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "technique_common");
}
public static int getdynamicMinCount() {
return 0;
}
public static int getdynamicMaxCount() {
return 1;
}
public int getdynamicCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");
}
public boolean hasdynamic() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic");
}
public dynamicType2 newdynamic() {
return new dynamicType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dynamic"));
}
public dynamicType2 getdynamicAt(int index) throws Exception {
return new dynamicType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index));
}
public org.w3c.dom.Node getStartingdynamicCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic" );
}
public org.w3c.dom.Node getAdvanceddynamicCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", curNode );
}
public dynamicType2 getdynamicValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new dynamicType2(curNode);
}
public dynamicType2 getdynamic() throws Exception
{
return getdynamicAt(0);
}
public void removedynamicAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "dynamic", index);
}
public void removedynamic() {
removedynamicAt(0);
}
public org.w3c.dom.Node adddynamic(dynamicType2 value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "dynamic", value);
}
public void insertdynamicAt(dynamicType2 value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);
}
public void replacedynamicAt(dynamicType2 value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);
}
public static int getmassMinCount() {
return 0;
}
public static int getmassMaxCount() {
return 1;
}
public int getmassCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");
}
public boolean hasmass() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass");
}
public TargetableFloat newmass() {
return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass"));
}
public TargetableFloat getmassAt(int index) throws Exception {
return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index));
}
public org.w3c.dom.Node getStartingmassCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass" );
}
public org.w3c.dom.Node getAdvancedmassCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", curNode );
}
public TargetableFloat getmassValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new TargetableFloat(curNode);
}
public TargetableFloat getmass() throws Exception
{
return getmassAt(0);
}
public void removemassAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass", index);
}
public void removemass() {
removemassAt(0);
}
public org.w3c.dom.Node addmass(TargetableFloat value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "mass", value);
}
public void insertmassAt(TargetableFloat value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);
}
public void replacemassAt(TargetableFloat value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "mass", index, value);
}
public static int getmass_frameMinCount() {
return 0;
}
public static int getmass_frameMaxCount() {
return 1;
}
public int getmass_frameCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");
}
public boolean hasmass_frame() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame");
}
public mass_frameType2 newmass_frame() {
return new mass_frameType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "mass_frame"));
}
public mass_frameType2 getmass_frameAt(int index) throws Exception {
return new mass_frameType2(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index));
}
public org.w3c.dom.Node getStartingmass_frameCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame" );
}
public org.w3c.dom.Node getAdvancedmass_frameCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", curNode );
}
public mass_frameType2 getmass_frameValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new mass_frameType2(curNode);
}
public mass_frameType2 getmass_frame() throws Exception
{
return getmass_frameAt(0);
}
public void removemass_frameAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "mass_frame", index);
}
public void removemass_frame() {
removemass_frameAt(0);
}
public org.w3c.dom.Node addmass_frame(mass_frameType2 value) {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -