📄 skintype.java
字号:
/**
* skinType.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 skinType extends com.jmex.xml.xml.Node {
public skinType(skinType node) {
super(node);
}
public skinType(org.w3c.dom.Node node) {
super(node);
}
public skinType(org.w3c.dom.Document doc) {
super(doc);
}
public skinType(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( Attribute, null, "source" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "source", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new sourceType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "joints" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "joints", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new jointsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertex_weights" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertex_weights", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new vertex_weightsType(tmpNode).adjustPrefix();
}
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", "skin");
}
public static int getsourceMinCount() {
return 1;
}
public static int getsourceMaxCount() {
return 1;
}
public int getsourceCount() {
return getDomChildCount(Attribute, null, "source");
}
public boolean hassource() {
return hasDomChild(Attribute, null, "source");
}
public SchemaString newsource() {
return new SchemaString();
}
public SchemaString getsourceAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Attribute, null, "source", index)));
}
public org.w3c.dom.Node getStartingsourceCursor() throws Exception {
return getDomFirstChild(Attribute, null, "source" );
}
public org.w3c.dom.Node getAdvancedsourceCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "source", curNode );
}
public SchemaString getsourceValueAtCursor( 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 getsource() throws Exception
{
return getsourceAt(0);
}
public void removesourceAt(int index) {
removeDomChildAt(Attribute, null, "source", index);
}
public void removesource() {
removesourceAt(0);
}
public org.w3c.dom.Node addsource(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "source", value.toString());
}
public org.w3c.dom.Node addsource(String value) throws Exception {
return addsource(new SchemaString(value));
}
public void insertsourceAt(SchemaString value, int index) {
insertDomChildAt(Attribute, null, "source", index, value.toString());
}
public void insertsourceAt(String value, int index) throws Exception {
insertsourceAt(new SchemaString(value), index);
}
public void replacesourceAt(SchemaString value, int index) {
replaceDomChildAt(Attribute, null, "source", index, value.toString());
}
public void replacesourceAt(String value, int index) throws Exception {
replacesourceAt(new SchemaString(value), index);
}
public static int getbind_shape_matrixMinCount() {
return 0;
}
public static int getbind_shape_matrixMaxCount() {
return 1;
}
public int getbind_shape_matrixCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix");
}
public boolean hasbind_shape_matrix() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix");
}
public float4x4 newbind_shape_matrix() {
return new float4x4();
}
public float4x4 getbind_shape_matrixAt(int index) throws Exception {
return new float4x4(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", index)));
}
public org.w3c.dom.Node getStartingbind_shape_matrixCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix" );
}
public org.w3c.dom.Node getAdvancedbind_shape_matrixCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", curNode );
}
public float4x4 getbind_shape_matrixValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new float4x4(getDomNodeValue(curNode));
}
public float4x4 getbind_shape_matrix() throws Exception
{
return getbind_shape_matrixAt(0);
}
public void removebind_shape_matrixAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", index);
}
public void removebind_shape_matrix() {
removebind_shape_matrixAt(0);
}
public org.w3c.dom.Node addbind_shape_matrix(float4x4 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", value.toString());
}
public org.w3c.dom.Node addbind_shape_matrix(String value) throws Exception {
return addbind_shape_matrix(new float4x4(value));
}
public void insertbind_shape_matrixAt(float4x4 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", index, value.toString());
}
public void insertbind_shape_matrixAt(String value, int index) throws Exception {
insertbind_shape_matrixAt(new float4x4(value), index);
}
public void replacebind_shape_matrixAt(float4x4 value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_shape_matrix", index, value.toString());
}
public void replacebind_shape_matrixAt(String value, int index) throws Exception {
replacebind_shape_matrixAt(new float4x4(value), index);
}
public static int getsource2MinCount() {
return 3;
}
public static int getsource2MaxCount() {
return Integer.MAX_VALUE;
}
public int getsource2Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -