assettype.java

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

JAVA
783
字号

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

	public void replacemodifiedAt(String value, int index) throws Exception {
		replacemodifiedAt(new SchemaDateTime(value), index);
	}

	public static int getrevisionMinCount() {
		return 0;
	}

	public static int getrevisionMaxCount() {
		return 1;
	}

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

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

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

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

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

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

	public SchemaString getrevisionValueAtCursor( 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 getrevision() throws Exception 
 {
		return getrevisionAt(0);
	}

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

	public void removerevision() {
		removerevisionAt(0);
	}

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

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

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

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

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

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

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

	public static int getsubjectMinCount() {
		return 0;
	}

	public static int getsubjectMaxCount() {
		return 1;
	}

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

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

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

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

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

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

	public SchemaString getsubjectValueAtCursor( 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 getsubject() throws Exception 
 {
		return getsubjectAt(0);
	}

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

	public void removesubject() {
		removesubjectAt(0);
	}

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

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

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

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

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

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

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

	public static int gettitleMinCount() {
		return 0;
	}

	public static int gettitleMaxCount() {
		return 1;
	}

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

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

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

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

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

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

	public SchemaString gettitleValueAtCursor( 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 gettitle() throws Exception 
 {
		return gettitleAt(0);
	}

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

	public void removetitle() {
		removetitleAt(0);
	}

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

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

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

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

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

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

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

	public static int getunitMinCount() {
		return 0;
	}

	public static int getunitMaxCount() {
		return 1;
	}

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

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

	public unitType newunit() {
		return new unitType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "unit"));
	}

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

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

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

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

	public unitType getunit() throws Exception 
 {
		return getunitAt(0);
	}

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

	public void removeunit() {
		removeunitAt(0);
	}

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

	public void insertunitAt(unitType value, int index) {
		insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "unit", index, value);
	}

	public void replaceunitAt(unitType value, int index) {
		replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "unit", index, value);
	}

	public static int getup_axisMinCount() {
		return 0;
	}

	public static int getup_axisMaxCount() {
		return 1;
	}

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

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

	public UpAxisType newup_axis() {
		return new UpAxisType();
	}

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

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

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

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

	public UpAxisType getup_axis() throws Exception 
 {
		return getup_axisAt(0);
	}

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

	public void removeup_axis() {
		removeup_axisAt(0);
	}

	public org.w3c.dom.Node addup_axis(UpAxisType value) {
		if( value.isNull() )
			return null;

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

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

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

	public void insertup_axisAt(String value, int index) throws Exception {
		insertup_axisAt(new UpAxisType(value), index);
	}

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

	public void replaceup_axisAt(String value, int index) throws Exception {
		replaceup_axisAt(new UpAxisType(value), index);
	}

}

⌨️ 快捷键说明

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