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

📄 springtype2.java

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

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

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

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

	public springType2(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" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "angular", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new angularType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linear" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linear", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new linearType2(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", "spring");
	}

	public static int getangularMinCount() {
		return 0;
	}

	public static int getangularMaxCount() {
		return 1;
	}

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

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

	public angularType newangular() {
		return new angularType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "angular"));
	}

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

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

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

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

	public angularType getangular() throws Exception 
 {
		return getangularAt(0);
	}

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

	public void removeangular() {
		removeangularAt(0);
	}

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

	public void insertangularAt(angularType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "angular", index, value);
	}

	public void replaceangularAt(angularType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "angular", index, value);
	}

	public static int getlinearMinCount() {
		return 0;
	}

	public static int getlinearMaxCount() {
		return 1;
	}

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

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

	public linearType2 newlinear() {
		return new linearType2(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "linear"));
	}

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

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

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

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

	public linearType2 getlinear() throws Exception 
 {
		return getlinearAt(0);
	}

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

	public void removelinear() {
		removelinearAt(0);
	}

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

	public void insertlinearAt(linearType2 value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linear", index, value);
	}

	public void replacelinearAt(linearType2 value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "linear", index, value);
	}

}

⌨️ 快捷键说明

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