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

📄 fx_surface_format_hint_common.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
	}

	public static int getprecisionMinCount() {
		return 0;
	}

	public static int getprecisionMaxCount() {
		return 1;
	}

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

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

	public fx_surface_format_hint_precision_enum newprecision() {
		return new fx_surface_format_hint_precision_enum();
	}

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

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

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

	public fx_surface_format_hint_precision_enum getprecisionValueAtCursor( 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_precision_enum(getDomNodeValue(curNode));
	}

	public fx_surface_format_hint_precision_enum getprecision() throws Exception 
 {
		return getprecisionAt(0);
	}

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

	public void removeprecision() {
		removeprecisionAt(0);
	}

	public org.w3c.dom.Node addprecision(fx_surface_format_hint_precision_enum value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertprecisionAt(String value, int index) throws Exception {
		insertprecisionAt(new fx_surface_format_hint_precision_enum(value), index);
	}

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

	public void replaceprecisionAt(String value, int index) throws Exception {
		replaceprecisionAt(new fx_surface_format_hint_precision_enum(value), index);
	}

	public static int getoptionMinCount() {
		return 0;
	}

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

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

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

	public fx_surface_format_hint_option_enum newoption() {
		return new fx_surface_format_hint_option_enum();
	}

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

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

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

	public fx_surface_format_hint_option_enum getoptionValueAtCursor( 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_option_enum(getDomNodeValue(curNode));
	}

	public fx_surface_format_hint_option_enum getoption() throws Exception 
 {
		return getoptionAt(0);
	}

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

	public void removeoption() {
		while (hasoption())
			removeoptionAt(0);
	}

	public org.w3c.dom.Node addoption(fx_surface_format_hint_option_enum value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertoptionAt(String value, int index) throws Exception {
		insertoptionAt(new fx_surface_format_hint_option_enum(value), index);
	}

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

	public void replaceoptionAt(String value, int index) throws Exception {
		replaceoptionAt(new fx_surface_format_hint_option_enum(value), index);
	}

	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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -