📄 cg_newarray_type.java
字号:
) {
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_newarray_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();
}
}
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_newarray_type");
}
public static int getlengthMinCount() {
return 1;
}
public static int getlengthMaxCount() {
return 1;
}
public int getlengthCount() {
return getDomChildCount(Attribute, null, "length");
}
public boolean haslength() {
return hasDomChild(Attribute, null, "length");
}
public SchemaInteger newlength() {
return new SchemaInteger();
}
public SchemaInteger getlengthAt(int index) throws Exception {
return new SchemaInteger(getDomNodeValue(getDomChildAt(Attribute, null, "length", index)));
}
public org.w3c.dom.Node getStartinglengthCursor() throws Exception {
return getDomFirstChild(Attribute, null, "length" );
}
public org.w3c.dom.Node getAdvancedlengthCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "length", curNode );
}
public SchemaInteger getlengthValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new SchemaInteger(getDomNodeValue(curNode));
}
public SchemaInteger getlength() throws Exception
{
return getlengthAt(0);
}
public void removelengthAt(int index) {
removeDomChildAt(Attribute, null, "length", index);
}
public void removelength() {
removelengthAt(0);
}
public org.w3c.dom.Node addlength(SchemaInteger value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "length", value.toString());
}
public org.w3c.dom.Node addlength(String value) throws Exception {
return addlength(new SchemaInteger(value));
}
public void insertlengthAt(SchemaInteger value, int index) {
insertDomChildAt(Attribute, null, "length", index, value.toString());
}
public void insertlengthAt(String value, int index) throws Exception {
insertlengthAt(new SchemaInteger(value), index);
}
public void replacelengthAt(SchemaInteger value, int index) {
replaceDomChildAt(Attribute, null, "length", index, value.toString());
}
public void replacelengthAt(String value, int index) throws Exception {
replacelengthAt(new SchemaInteger(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));
}
public void insertboolAt(cg_bool value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
}
public void insertboolAt(String value, int index) throws Exception {
insertboolAt(new cg_bool(value), index);
}
public void replaceboolAt(cg_bool value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
}
public void replaceboolAt(String value, int index) throws Exception {
replaceboolAt(new cg_bool(value), index);
}
public static int getbool1MinCount() {
return 1;
}
public static int getbool1MaxCount() {
return 1;
}
public int getbool1Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1");
}
public boolean hasbool1() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1");
}
public cg_bool1 newbool1() {
return new cg_bool1();
}
public cg_bool1 getbool1At(int index) throws Exception {
return new cg_bool1(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", index)));
}
public org.w3c.dom.Node getStartingbool1Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1" );
}
public org.w3c.dom.Node getAdvancedbool1Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", curNode );
}
public cg_bool1 getbool1ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new cg_bool1(getDomNodeValue(curNode));
}
public cg_bool1 getbool1() throws Exception
{
return getbool1At(0);
}
public void removebool1At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", index);
}
public void removebool1() {
removebool1At(0);
}
public org.w3c.dom.Node addbool1(cg_bool1 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", value.toString());
}
public org.w3c.dom.Node addbool1(String value) throws Exception {
return addbool1(new cg_bool1(value));
}
public void insertbool1At(cg_bool1 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", index, value.toString());
}
public void insertbool1At(String value, int index) throws Exception {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -