📄 cg_setuser_type.java
字号:
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fixed4x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fixed4x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fixed4x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fixed4x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fixed4x4", 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 cg_surface_type(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 cg_sampler1D(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 cg_sampler2D(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 cg_sampler3D(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 cg_samplerRECT(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 cg_samplerCUBE(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 cg_samplerDEPTH(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "string" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "string", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
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);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "array" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "array", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_setarray_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "usertype" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "usertype", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_setuser_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "connect_param" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "connect_param", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_connect_param(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "setparam" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "setparam", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_setparam(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", "cg_setuser_type");
}
public static int getnameMinCount() {
return 1;
}
public static int getnameMaxCount() {
return 1;
}
public int getnameCount() {
return getDomChildCount(Attribute, null, "name");
}
public boolean hasname() {
return hasDomChild(Attribute, null, "name");
}
public cg_identifier newname() {
return new cg_identifier();
}
public cg_identifier getnameAt(int index) throws Exception {
return new cg_identifier(getDomNodeValue(getDomChildAt(Attribute, null, "name", index)));
}
public org.w3c.dom.Node getStartingnameCursor() throws Exception {
return getDomFirstChild(Attribute, null, "name" );
}
public org.w3c.dom.Node getAdvancednameCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "name", curNode );
}
public cg_identifier getnameValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new cg_identifier(getDomNodeValue(curNode));
}
public cg_identifier getname() throws Exception
{
return getnameAt(0);
}
public void removenameAt(int index) {
removeDomChildAt(Attribute, null, "name", index);
}
public void removename() {
removenameAt(0);
}
public org.w3c.dom.Node addname(cg_identifier value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "name", value.toString());
}
public org.w3c.dom.Node addname(String value) throws Exception {
return addname(new cg_identifier(value));
}
public void insertnameAt(cg_identifier value, int index) {
insertDomChildAt(Attribute, null, "name", index, value.toString());
}
public void insertnameAt(String value, int index) throws Exception {
insertnameAt(new cg_identifier(value), index);
}
public void replacenameAt(cg_identifier value, int index) {
replaceDomChildAt(Attribute, null, "name", index, value.toString());
}
public void replacenameAt(String value, int index) throws Exception {
replacenameAt(new cg_identifier(value), index);
}
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 SchemaNCName newsource() {
return new SchemaNCName();
}
public SchemaNCName getsourceAt(int index) throws Exception {
return new SchemaNCName(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 SchemaNCName getsourceValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new SchemaNCName(getDomNodeValue(curNode));
}
public SchemaNCName 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(SchemaNCName 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 SchemaNCName(value));
}
public void insertsourceAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "source", index, value.toString());
}
public void insertsourceAt(String value, int index) throws Exception {
insertsourceAt(new SchemaNCName(value), index);
}
public void replacesourceAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "source", index, value.toString());
}
public void replacesourceAt(String value, int index) throws Exception {
replacesourceAt(new SchemaNCName(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 cg_bool newbool() {
return new cg_bool();
}
public cg_bool getboolAt(int index) throws Exception {
return new cg_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 cg_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 cg_bool(getDomNodeValue(curNode));
}
public cg_bool getbool() throws Exception
{
return getboolAt(0);
}
public void removeboolAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index);
}
public void removebool() {
removeboolAt(0);
}
public org.w3c.dom.Node addbool(cg_bool value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", value.toString());
}
public org.w3c.dom.Node addbool(String value) throws Exception {
return addbool(new cg_bool(value));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -