📄 setparamtype.java
字号:
/**
* setparamType.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;
import com.jmex.xml.types.SchemaToken;
public class setparamType extends com.jmex.xml.xml.Node {
public setparamType(setparamType node) {
super(node);
}
public setparamType(org.w3c.dom.Node node) {
super(node);
}
public setparamType(org.w3c.dom.Document doc) {
super(doc);
}
public setparamType(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, "ref" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "ref", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x1" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x1", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float1x4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x1" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x1", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x1" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x1", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x1" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x1", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "surface" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "surface", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler1D", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_sampler1D_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler2D", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_sampler2D_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "sampler3D", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_sampler3D_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerCUBE", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_samplerCUBE_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerRECT", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_samplerRECT_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "samplerDEPTH", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_samplerDEPTH_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "enum" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "enum", 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", "setparam");
}
public static int getrefMinCount() {
return 1;
}
public static int getrefMaxCount() {
return 1;
}
public int getrefCount() {
return getDomChildCount(Attribute, null, "ref");
}
public boolean hasref() {
return hasDomChild(Attribute, null, "ref");
}
public SchemaToken newref() {
return new SchemaToken();
}
public SchemaToken getrefAt(int index) throws Exception {
return new SchemaToken(getDomNodeValue(getDomChildAt(Attribute, null, "ref", index)));
}
public org.w3c.dom.Node getStartingrefCursor() throws Exception {
return getDomFirstChild(Attribute, null, "ref" );
}
public org.w3c.dom.Node getAdvancedrefCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "ref", curNode );
}
public SchemaToken getrefValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new SchemaToken(getDomNodeValue(curNode));
}
public SchemaToken getref() throws Exception
{
return getrefAt(0);
}
public void removerefAt(int index) {
removeDomChildAt(Attribute, null, "ref", index);
}
public void removeref() {
removerefAt(0);
}
public org.w3c.dom.Node addref(SchemaToken value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "ref", value.toString());
}
public org.w3c.dom.Node addref(String value) throws Exception {
return addref(new SchemaToken(value));
}
public void insertrefAt(SchemaToken value, int index) {
insertDomChildAt(Attribute, null, "ref", index, value.toString());
}
public void insertrefAt(String value, int index) throws Exception {
insertrefAt(new SchemaToken(value), index);
}
public void replacerefAt(SchemaToken value, int index) {
replaceDomChildAt(Attribute, null, "ref", index, value.toString());
}
public void replacerefAt(String value, int index) throws Exception {
replacerefAt(new SchemaToken(value), index);
}
public static int getboolMinCount() {
return 1;
}
public static int getboolMaxCount() {
return 1;
}
public int getboolCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");
}
public boolean hasbool() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");
}
public bool newbool() {
return new bool();
}
public bool getboolAt(int index) throws Exception {
return new bool(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index)));
}
public org.w3c.dom.Node getStartingboolCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );
}
public org.w3c.dom.Node getAdvancedboolCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", curNode );
}
public bool getboolValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new bool(getDomNodeValue(curNode));
}
public bool getbool() throws Exception
{
return getboolAt(0);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -