passtype2.java

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

JAVA
1,587
字号
	public SchemaNCName getsidAt(int index) throws Exception {
		return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));
	}

	public org.w3c.dom.Node getStartingsidCursor() throws Exception {
		return getDomFirstChild(Attribute, null, "sid" );
	}

	public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {
		return getDomNextChild( Attribute, null, "sid", curNode );
	}

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

	public SchemaNCName getsid() throws Exception 
 {
		return getsidAt(0);
	}

	public void removesidAt(int index) {
		removeDomChildAt(Attribute, null, "sid", index);
	}

	public void removesid() {
		removesidAt(0);
	}

	public org.w3c.dom.Node addsid(SchemaNCName value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Attribute, null, "sid", value.toString());
	}

	public org.w3c.dom.Node addsid(String value) throws Exception {
		return addsid(new SchemaNCName(value));
	}

	public void insertsidAt(SchemaNCName value, int index) {
		insertDomChildAt(Attribute, null, "sid", index, value.toString());
	}

	public void insertsidAt(String value, int index) throws Exception {
		insertsidAt(new SchemaNCName(value), index);
	}

	public void replacesidAt(SchemaNCName value, int index) {
		replaceDomChildAt(Attribute, null, "sid", index, value.toString());
	}

	public void replacesidAt(String value, int index) throws Exception {
		replacesidAt(new SchemaNCName(value), index);
	}

	public static int getannotateMinCount() {
		return 0;
	}

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

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

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

	public fx_annotate_common newannotate() {
		return new fx_annotate_common(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "annotate"));
	}

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

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

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

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

	public fx_annotate_common getannotate() throws Exception 
 {
		return getannotateAt(0);
	}

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

	public void removeannotate() {
		while (hasannotate())
			removeannotateAt(0);
	}

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

	public void insertannotateAt(fx_annotate_common value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
	}

	public void replaceannotateAt(fx_annotate_common value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
	}

	public static int getcolor_targetMinCount() {
		return 0;
	}

	public static int getcolor_targetMaxCount() {
		return 1;
	}

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

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

	public gles_rendertarget_common newcolor_target() {
		return new gles_rendertarget_common();
	}

	public gles_rendertarget_common getcolor_targetAt(int index) throws Exception {
		return new gles_rendertarget_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "color_target", index)));
	}

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

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

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

	public gles_rendertarget_common getcolor_target() throws Exception 
 {
		return getcolor_targetAt(0);
	}

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

	public void removecolor_target() {
		removecolor_targetAt(0);
	}

	public org.w3c.dom.Node addcolor_target(gles_rendertarget_common value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "color_target", value.toString());
	}

	public org.w3c.dom.Node addcolor_target(String value) throws Exception {
		return addcolor_target(new gles_rendertarget_common(value));
	}

	public void insertcolor_targetAt(gles_rendertarget_common value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "color_target", index, value.toString());
	}

	public void insertcolor_targetAt(String value, int index) throws Exception {
		insertcolor_targetAt(new gles_rendertarget_common(value), index);
	}

	public void replacecolor_targetAt(gles_rendertarget_common value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "color_target", index, value.toString());
	}

	public void replacecolor_targetAt(String value, int index) throws Exception {
		replacecolor_targetAt(new gles_rendertarget_common(value), index);
	}

	public static int getdepth_targetMinCount() {
		return 0;
	}

	public static int getdepth_targetMaxCount() {
		return 1;
	}

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

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

	public gles_rendertarget_common newdepth_target() {
		return new gles_rendertarget_common();
	}

	public gles_rendertarget_common getdepth_targetAt(int index) throws Exception {
		return new gles_rendertarget_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "depth_target", index)));
	}

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

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

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

	public gles_rendertarget_common getdepth_target() throws Exception 
 {
		return getdepth_targetAt(0);
	}

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

	public void removedepth_target() {
		removedepth_targetAt(0);
	}

	public org.w3c.dom.Node adddepth_target(gles_rendertarget_common value) {
		if( value.isNull() )
			return null;

		return  appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "depth_target", value.toString());
	}

	public org.w3c.dom.Node adddepth_target(String value) throws Exception {
		return adddepth_target(new gles_rendertarget_common(value));
	}

	public void insertdepth_targetAt(gles_rendertarget_common value, int index) {
		insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "depth_target", index, value.toString());
	}

	public void insertdepth_targetAt(String value, int index) throws Exception {
		insertdepth_targetAt(new gles_rendertarget_common(value), index);
	}

	public void replacedepth_targetAt(gles_rendertarget_common value, int index) {
		replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "depth_target", index, value.toString());
	}

	public void replacedepth_targetAt(String value, int index) throws Exception {
		replacedepth_targetAt(new gles_rendertarget_common(value), index);
	}

	public static int getstencil_targetMinCount() {
		return 0;
	}

	public static int getstencil_targetMaxCount() {
		return 1;
	}

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

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

	public gles_rendertarget_common newstencil_target() {
		return new gles_rendertarget_common();
	}

	public gles_rendertarget_common getstencil_targetAt(int index) throws Exception {
		return new gles_rendertarget_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "stencil_target", index)));
	}

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

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

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

⌨️ 快捷键说明

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