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

📄 contributortype.java

📁 java 3d game jme 工程开发源代码
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/**
 * contributorType.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;

import com.jmex.xml.types.SchemaString;

public class contributorType extends com.jmex.xml.xml.Node {

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

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

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

	public contributorType(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", "author" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "author", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "comments" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
		for (	org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data" );
				tmpNode != null;
				tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", tmpNode )
			) {
			internalAdjustPrefix(tmpNode, true);
		}
	}
	public void setXsiType() {
 		org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
		el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "contributor");
	}

	public static int getauthorMinCount() {
		return 0;
	}

	public static int getauthorMaxCount() {
		return 1;
	}

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

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

	public SchemaString newauthor() {
		return new SchemaString();
	}

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

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

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

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

	public SchemaString getauthor() throws Exception 
 {
		return getauthorAt(0);
	}

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

	public void removeauthor() {
		removeauthorAt(0);
	}

	public org.w3c.dom.Node addauthor(SchemaString value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertauthorAt(String value, int index) throws Exception {
		insertauthorAt(new SchemaString(value), index);
	}

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

	public void replaceauthorAt(String value, int index) throws Exception {
		replaceauthorAt(new SchemaString(value), index);
	}

	public static int getauthoring_toolMinCount() {
		return 0;
	}

	public static int getauthoring_toolMaxCount() {
		return 1;
	}

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

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

	public SchemaString newauthoring_tool() {
		return new SchemaString();
	}

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

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

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

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

	public SchemaString getauthoring_tool() throws Exception 
 {
		return getauthoring_toolAt(0);
	}

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

	public void removeauthoring_tool() {
		removeauthoring_toolAt(0);
	}

	public org.w3c.dom.Node addauthoring_tool(SchemaString value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertauthoring_toolAt(String value, int index) throws Exception {
		insertauthoring_toolAt(new SchemaString(value), index);
	}

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

	public void replaceauthoring_toolAt(String value, int index) throws Exception {
		replaceauthoring_toolAt(new SchemaString(value), index);
	}

	public static int getcommentsMinCount() {
		return 0;
	}

	public static int getcommentsMaxCount() {

⌨️ 快捷键说明

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