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

📄 shapetype.java

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

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

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

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

	public shapeType(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", "hollow" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "hollow", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new hollowType(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", "density" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "density", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new TargetableFloat(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", "instance_geometry" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "instance_geometry", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new instance_geometryType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "plane" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "plane", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new planeType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "box" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "box", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new boxType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sphere", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new sphereType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "cylinder", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new cylinderType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_cylinder", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new tapered_cylinderType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "capsule", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new capsuleType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tapered_capsule", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new tapered_capsuleType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "translate" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "translate", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new TargetableFloat3(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "rotate", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new rotateType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new extraType(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", "shape");
	}

	public static int gethollowMinCount() {
		return 0;
	}

	public static int gethollowMaxCount() {
		return 1;
	}

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

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

	public hollowType newhollow() {
		return new hollowType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "hollow"));
	}

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

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

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

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

	public hollowType gethollow() throws Exception 
 {
		return gethollowAt(0);
	}

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

	public void removehollow() {
		removehollowAt(0);
	}

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

	public void inserthollowAt(hollowType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "hollow", index, value);
	}

	public void replacehollowAt(hollowType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "hollow", 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 getdensityMinCount() {
		return 0;
	}

	public static int getdensityMaxCount() {
		return 1;
	}

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

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

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

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

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

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

	public TargetableFloat getdensityValueAtCursor( 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 getdensity() throws Exception 
 {
		return getdensityAt(0);
	}

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

	public void removedensity() {
		removedensityAt(0);
	}

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

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

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

	public static int getinstance_physics_materialMinCount() {
		return 1;
	}

	public static int getinstance_physics_materialMaxCount() {
		return 1;
	}

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

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

	public InstanceWithExtra newinstance_physics_material() {
		return new InstanceWithExtra(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "instance_physics_material"));
	}

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

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

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

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

	public InstanceWithExtra getinstance_physics_material() throws Exception 
 {
		return getinstance_physics_materialAt(0);
	}

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

	public void removeinstance_physics_material() {

⌨️ 快捷键说明

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