techniquetype2.java

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

JAVA
784
字号

	public void replaceimageAt(imageType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "image", index, value);
	}

	public static int getnewparamMinCount() {
		return 1;
	}

	public static int getnewparamMaxCount() {
		return 1;
	}

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

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

	public common_newparam_type newnewparam() {
		return new common_newparam_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "newparam"));
	}

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

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

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

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

	public common_newparam_type getnewparam() throws Exception 
 {
		return getnewparamAt(0);
	}

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

	public void removenewparam() {
		removenewparamAt(0);
	}

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

	public void insertnewparamAt(common_newparam_type value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "newparam", index, value);
	}

	public void replacenewparamAt(common_newparam_type value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "newparam", index, value);
	}

	public static int getconstantMinCount() {
		return 1;
	}

	public static int getconstantMaxCount() {
		return 1;
	}

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

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

	public constantType newconstant() {
		return new constantType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "constant"));
	}

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

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

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

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

	public constantType getconstant() throws Exception 
 {
		return getconstantAt(0);
	}

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

	public void removeconstant() {
		removeconstantAt(0);
	}

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

	public void insertconstantAt(constantType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "constant", index, value);
	}

	public void replaceconstantAt(constantType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "constant", index, value);
	}

	public static int getlambertMinCount() {
		return 1;
	}

	public static int getlambertMaxCount() {
		return 1;
	}

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

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

	public lambertType newlambert() {
		return new lambertType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "lambert"));
	}

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

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

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

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

	public lambertType getlambert() throws Exception 
 {
		return getlambertAt(0);
	}

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

	public void removelambert() {
		removelambertAt(0);
	}

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

	public void insertlambertAt(lambertType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lambert", index, value);
	}

	public void replacelambertAt(lambertType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lambert", index, value);
	}

	public static int getphongMinCount() {
		return 1;
	}

	public static int getphongMaxCount() {
		return 1;
	}

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

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

	public phongType newphong() {
		return new phongType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "phong"));
	}

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

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

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

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

	public phongType getphong() throws Exception 
 {
		return getphongAt(0);
	}

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

	public void removephong() {
		removephongAt(0);
	}

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

	public void insertphongAt(phongType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "phong", index, value);
	}

	public void replacephongAt(phongType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "phong", index, value);
	}

	public static int getblinnMinCount() {
		return 1;
	}

	public static int getblinnMaxCount() {
		return 1;
	}

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

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

	public blinnType newblinn() {
		return new blinnType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "blinn"));
	}

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

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

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

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

	public blinnType getblinn() throws Exception 
 {
		return getblinnAt(0);
	}

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

	public void removeblinn() {
		removeblinnAt(0);
	}

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

	public void insertblinnAt(blinnType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "blinn", index, value);
	}

	public void replaceblinnAt(blinnType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "blinn", 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 + -
显示快捷键?