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

📄 blend_func_separatetype.java

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

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

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

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

	public blend_func_separateType(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", "src_rgb" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "src_rgb", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new src_rgbType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dest_rgb" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dest_rgb", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new dest_rgbType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "src_alpha" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "src_alpha", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new src_alphaType(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dest_alpha" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "dest_alpha", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new dest_alphaType(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", "blend_func_separate");
	}

	public static int getsrc_rgbMinCount() {
		return 1;
	}

	public static int getsrc_rgbMaxCount() {
		return 1;
	}

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

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

	public src_rgbType newsrc_rgb() {
		return new src_rgbType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "src_rgb"));
	}

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

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

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

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

	public src_rgbType getsrc_rgb() throws Exception 
 {
		return getsrc_rgbAt(0);
	}

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

	public void removesrc_rgb() {
		removesrc_rgbAt(0);
	}

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

	public void insertsrc_rgbAt(src_rgbType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "src_rgb", index, value);
	}

	public void replacesrc_rgbAt(src_rgbType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "src_rgb", index, value);
	}

	public static int getdest_rgbMinCount() {
		return 1;
	}

	public static int getdest_rgbMaxCount() {
		return 1;
	}

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

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

	public dest_rgbType newdest_rgb() {
		return new dest_rgbType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dest_rgb"));
	}

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

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

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

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

	public dest_rgbType getdest_rgb() throws Exception 
 {
		return getdest_rgbAt(0);
	}

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

	public void removedest_rgb() {
		removedest_rgbAt(0);
	}

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

	public void insertdest_rgbAt(dest_rgbType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dest_rgb", index, value);
	}

	public void replacedest_rgbAt(dest_rgbType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dest_rgb", index, value);
	}

	public static int getsrc_alphaMinCount() {
		return 1;
	}

	public static int getsrc_alphaMaxCount() {
		return 1;
	}

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

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

	public src_alphaType newsrc_alpha() {
		return new src_alphaType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "src_alpha"));
	}

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

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

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

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

	public src_alphaType getsrc_alpha() throws Exception 
 {
		return getsrc_alphaAt(0);
	}

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

	public void removesrc_alpha() {
		removesrc_alphaAt(0);
	}

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

	public void insertsrc_alphaAt(src_alphaType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "src_alpha", index, value);
	}

	public void replacesrc_alphaAt(src_alphaType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "src_alpha", index, value);
	}

	public static int getdest_alphaMinCount() {
		return 1;
	}

	public static int getdest_alphaMaxCount() {
		return 1;
	}

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

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

	public dest_alphaType newdest_alpha() {
		return new dest_alphaType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "dest_alpha"));
	}

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

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

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

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

	public dest_alphaType getdest_alpha() throws Exception 
 {
		return getdest_alphaAt(0);
	}

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

	public void removedest_alpha() {
		removedest_alphaAt(0);
	}

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

	public void insertdest_alphaAt(dest_alphaType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dest_alpha", index, value);
	}

	public void replacedest_alphaAt(dest_alphaType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "dest_alpha", index, value);
	}

}

⌨️ 快捷键说明

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