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

📄 technique_commontype6.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
字号:
/**
 * technique_commonType6.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_commonType6 extends com.jmex.xml.xml.Node {

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

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

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

	public technique_commonType6(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", "gravity" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "gravity", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new TargetableFloat3(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "time_step" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "time_step", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new TargetableFloat(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 getgravityMinCount() {
		return 0;
	}

	public static int getgravityMaxCount() {
		return 1;
	}

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

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

	public TargetableFloat3 newgravity() {
		return new TargetableFloat3(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "gravity"));
	}

	public TargetableFloat3 getgravityAt(int index) throws Exception {
		return new TargetableFloat3(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "gravity", index));
	}

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

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

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

	public TargetableFloat3 getgravity() throws Exception 
 {
		return getgravityAt(0);
	}

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

	public void removegravity() {
		removegravityAt(0);
	}

	public org.w3c.dom.Node addgravity(TargetableFloat3 value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "gravity", value);
	}

	public void insertgravityAt(TargetableFloat3 value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "gravity", index, value);
	}

	public void replacegravityAt(TargetableFloat3 value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "gravity", index, value);
	}

	public static int gettime_stepMinCount() {
		return 0;
	}

	public static int gettime_stepMaxCount() {
		return 1;
	}

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

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

	public TargetableFloat newtime_step() {
		return new TargetableFloat(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "time_step"));
	}

	public TargetableFloat gettime_stepAt(int index) throws Exception {
		return new TargetableFloat(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "time_step", index));
	}

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

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

	public TargetableFloat gettime_stepValueAtCursor( 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 gettime_step() throws Exception 
 {
		return gettime_stepAt(0);
	}

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

	public void removetime_step() {
		removetime_stepAt(0);
	}

	public org.w3c.dom.Node addtime_step(TargetableFloat value) {
		return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "time_step", value);
	}

	public void inserttime_stepAt(TargetableFloat value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "time_step", index, value);
	}

	public void replacetime_stepAt(TargetableFloat value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "time_step", index, value);
	}

}

⌨️ 快捷键说明

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