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

📄 fx_surface_format_hint_common.java

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

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

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

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

	public fx_surface_format_hint_common(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", "channels" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "channels", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "range" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "range", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "precision" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "precision", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "option" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "option", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
			new extraType(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", "fx_surface_format_hint_common");
	}

	public static int getchannelsMinCount() {
		return 1;
	}

	public static int getchannelsMaxCount() {
		return 1;
	}

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

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

	public fx_surface_format_hint_channels_enum newchannels() {
		return new fx_surface_format_hint_channels_enum();
	}

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

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

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

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

	public fx_surface_format_hint_channels_enum getchannels() throws Exception 
 {
		return getchannelsAt(0);
	}

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

	public void removechannels() {
		removechannelsAt(0);
	}

	public org.w3c.dom.Node addchannels(fx_surface_format_hint_channels_enum value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertchannelsAt(String value, int index) throws Exception {
		insertchannelsAt(new fx_surface_format_hint_channels_enum(value), index);
	}

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

	public void replacechannelsAt(String value, int index) throws Exception {
		replacechannelsAt(new fx_surface_format_hint_channels_enum(value), index);
	}

	public static int getrangeMinCount() {
		return 1;
	}

	public static int getrangeMaxCount() {
		return 1;
	}

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

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

	public fx_surface_format_hint_range_enum newrange() {
		return new fx_surface_format_hint_range_enum();
	}

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

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

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

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

	public fx_surface_format_hint_range_enum getrange() throws Exception 
 {
		return getrangeAt(0);
	}

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

	public void removerange() {
		removerangeAt(0);
	}

	public org.w3c.dom.Node addrange(fx_surface_format_hint_range_enum value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertrangeAt(String value, int index) throws Exception {
		insertrangeAt(new fx_surface_format_hint_range_enum(value), index);
	}

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

	public void replacerangeAt(String value, int index) throws Exception {
		replacerangeAt(new fx_surface_format_hint_range_enum(value), index);

⌨️ 快捷键说明

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