⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 technique_commontype3.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/**
 * technique_commonType3.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_commonType3 extends com.jmex.xml.xml.Node {

	public technique_commonType3(technique_commonType3 node) {
		super(node);
	}

	public technique_commonType3(org.w3c.dom.Node node) {
		super(node);
	}

	public technique_commonType3(org.w3c.dom.Document doc) {
		super(doc);
	}

	public technique_commonType3(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", "angular_velocity" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		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 dynamicType(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_frameType(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 shapeType(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 getangular_velocityMinCount() {
		return 0;
	}

	public static int getangular_velocityMaxCount() {
		return 1;
	}

	public int getangular_velocityCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");
	}

	public boolean hasangular_velocity() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity");
	}

	public float3 newangular_velocity() {
		return new float3();
	}

	public float3 getangular_velocityAt(int index) throws Exception {
		return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index)));
	}

	public org.w3c.dom.Node getStartingangular_velocityCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity" );
	}

	public org.w3c.dom.Node getAdvancedangular_velocityCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", curNode );
	}

	public float3 getangular_velocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new float3(getDomNodeValue(curNode));
	}

	public float3 getangular_velocity() throws Exception 
 {
		return getangular_velocityAt(0);
	}

	public void removeangular_velocityAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index);
	}

	public void removeangular_velocity() {
		removeangular_velocityAt(0);
	}

	public org.w3c.dom.Node addangular_velocity(float3 value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", value.toString());
	}

	public org.w3c.dom.Node addangular_velocity(String value) throws Exception {
		return addangular_velocity(new float3(value));
	}

	public void insertangular_velocityAt(float3 value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());
	}

	public void insertangular_velocityAt(String value, int index) throws Exception {
		insertangular_velocityAt(new float3(value), index);
	}

	public void replaceangular_velocityAt(float3 value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "angular_velocity", index, value.toString());
	}

	public void replaceangular_velocityAt(String value, int index) throws Exception {
		replaceangular_velocityAt(new float3(value), index);
	}

	public static int getvelocityMinCount() {
		return 0;
	}

	public static int getvelocityMaxCount() {
		return 1;
	}

	public int getvelocityCount() {
		return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");
	}

	public boolean hasvelocity() {
		return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity");
	}

	public float3 newvelocity() {
		return new float3();
	}

	public float3 getvelocityAt(int index) throws Exception {
		return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index)));
	}

	public org.w3c.dom.Node getStartingvelocityCursor() throws Exception {
		return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity" );
	}

	public org.w3c.dom.Node getAdvancedvelocityCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", curNode );
	}

	public float3 getvelocityValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new float3(getDomNodeValue(curNode));
	}

	public float3 getvelocity() throws Exception 
 {
		return getvelocityAt(0);
	}

	public void removevelocityAt(int index) {
		removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index);
	}

	public void removevelocity() {
		removevelocityAt(0);
	}

	public org.w3c.dom.Node addvelocity(float3 value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", value.toString());
	}

	public org.w3c.dom.Node addvelocity(String value) throws Exception {
		return addvelocity(new float3(value));
	}

	public void insertvelocityAt(float3 value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());
	}

	public void insertvelocityAt(String value, int index) throws Exception {
		insertvelocityAt(new float3(value), index);
	}

	public void replacevelocityAt(float3 value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "velocity", index, value.toString());
	}

	public void replacevelocityAt(String value, int index) throws Exception {
		replacevelocityAt(new float3(value), index);
	}

	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 dynamicType newdynamic() {
		return new dynamicType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dynamic"));
	}

	public dynamicType getdynamicAt(int index) throws Exception {
		return new dynamicType(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 dynamicType getdynamicValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
		if( curNode == null )
			throw new com.jmex.xml.xml.XmlException("Out of range");
		else
			return new dynamicType(curNode);
	}

	public dynamicType 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(dynamicType value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "dynamic", value);
	}

	public void insertdynamicAt(dynamicType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dynamic", index, value);
	}

	public void replacedynamicAt(dynamicType 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 );
	}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -