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

📄 blinntype.java

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

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

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

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

	public blinnType(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", "emission" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_color_or_texture_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "ambient", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_color_or_texture_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "diffuse", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_color_or_texture_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "specular" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "specular", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_color_or_texture_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "shininess", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_float_or_param_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_color_or_texture_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_float_or_param_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_transparent_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_float_or_param_type(tmpNode).adjustPrefix();
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new common_float_or_param_type(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", "blinn");
	}

	public static int getemissionMinCount() {
		return 0;
	}

	public static int getemissionMaxCount() {
		return 1;
	}

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

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

	public common_color_or_texture_type newemission() {
		return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "emission"));
	}

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

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

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

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

	public common_color_or_texture_type getemission() throws Exception 
 {
		return getemissionAt(0);
	}

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

	public void removeemission() {
		removeemissionAt(0);
	}

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

	public void insertemissionAt(common_color_or_texture_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
	}

	public void replaceemissionAt(common_color_or_texture_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
	}

	public static int getambientMinCount() {
		return 0;
	}

	public static int getambientMaxCount() {
		return 1;
	}

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

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

	public common_color_or_texture_type newambient() {
		return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "ambient"));
	}

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

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

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

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

	public common_color_or_texture_type getambient() throws Exception 
 {
		return getambientAt(0);
	}

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

	public void removeambient() {
		removeambientAt(0);
	}

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

	public void insertambientAt(common_color_or_texture_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ambient", index, value);
	}

	public void replaceambientAt(common_color_or_texture_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "ambient", index, value);
	}

	public static int getdiffuseMinCount() {
		return 0;
	}

	public static int getdiffuseMaxCount() {
		return 1;
	}

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

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

	public common_color_or_texture_type newdiffuse() {
		return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "diffuse"));
	}

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

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

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

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

	public common_color_or_texture_type getdiffuse() throws Exception 
 {
		return getdiffuseAt(0);
	}

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

	public void removediffuse() {
		removediffuseAt(0);
	}

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

	public void insertdiffuseAt(common_color_or_texture_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "diffuse", index, value);
	}

	public void replacediffuseAt(common_color_or_texture_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "diffuse", index, value);
	}

	public static int getspecularMinCount() {
		return 0;
	}

	public static int getspecularMaxCount() {
		return 1;
	}

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

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

	public common_color_or_texture_type newspecular() {
		return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "specular"));
	}

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

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

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

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

	public common_color_or_texture_type getspecular() throws Exception 
 {
		return getspecularAt(0);
	}

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

	public void removespecular() {
		removespecularAt(0);
	}

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

	public void insertspecularAt(common_color_or_texture_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "specular", index, value);
	}

	public void replacespecularAt(common_color_or_texture_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "specular", index, value);
	}

	public static int getshininessMinCount() {
		return 0;
	}

	public static int getshininessMaxCount() {
		return 1;
	}

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

⌨️ 快捷键说明

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