rigid_constrainttype.java

来自「java 3d game jme 工程开发源代码」· Java 代码 · 共 571 行 · 第 1/2 页

JAVA
571
字号
	public ref_attachmentType getref_attachment() throws Exception 
 {
		return getref_attachmentAt(0);
	}

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

	public void removeref_attachment() {
		removeref_attachmentAt(0);
	}

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

	public void insertref_attachmentAt(ref_attachmentType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ref_attachment", index, value);
	}

	public void replaceref_attachmentAt(ref_attachmentType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ref_attachment", index, value);
	}

	public static int getattachmentMinCount() {
		return 1;
	}

	public static int getattachmentMaxCount() {
		return 1;
	}

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

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

	public attachmentType newattachment() {
		return new attachmentType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "attachment"));
	}

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

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

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

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

	public attachmentType getattachment() throws Exception 
 {
		return getattachmentAt(0);
	}

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

	public void removeattachment() {
		removeattachmentAt(0);
	}

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

	public void insertattachmentAt(attachmentType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "attachment", index, value);
	}

	public void replaceattachmentAt(attachmentType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "attachment", index, value);
	}

	public static int gettechnique_commonMinCount() {
		return 1;
	}

	public static int gettechnique_commonMaxCount() {
		return 1;
	}

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

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

	public technique_commonType8 newtechnique_common() {
		return new technique_commonType8(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "technique_common"));
	}

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

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

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

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

	public technique_commonType8 gettechnique_common() throws Exception 
 {
		return gettechnique_commonAt(0);
	}

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

	public void removetechnique_common() {
		removetechnique_commonAt(0);
	}

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

	public void inserttechnique_commonAt(technique_commonType8 value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "technique_common", index, value);
	}

	public void replacetechnique_commonAt(technique_commonType8 value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "technique_common", index, value);
	}

	public static int gettechniqueMinCount() {
		return 0;
	}

	public static int gettechniqueMaxCount() {
		return Integer.MAX_VALUE;
	}

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

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

	public techniqueType5 newtechnique() {
		return new techniqueType5(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "technique"));
	}

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

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

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

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

	public techniqueType5 gettechnique() throws Exception 
 {
		return gettechniqueAt(0);
	}

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

	public void removetechnique() {
		while (hastechnique())
			removetechniqueAt(0);
	}

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

	public void inserttechniqueAt(techniqueType5 value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "technique", index, value);
	}

	public void replacetechniqueAt(techniqueType5 value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "technique", index, value);
	}

	public static int getextraMinCount() {
		return 0;
	}

	public static int getextraMaxCount() {
		return Integer.MAX_VALUE;
	}

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

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

	public extraType newextra() {
		return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));
	}

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

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

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

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

	public extraType getextra() throws Exception 
 {
		return getextraAt(0);
	}

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

	public void removeextra() {
		while (hasextra())
			removeextraAt(0);
	}

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

	public void insertextraAt(extraType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
	}

	public void replaceextraAt(extraType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
	}

}

⌨️ 快捷键说明

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