📄 cg_newparam.java
字号:
public org.w3c.dom.Node addsemantic(String value) throws Exception {
return addsemantic(new SchemaNCName(value));
}
public void insertsemanticAt(SchemaNCName value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index, value.toString());
}
public void insertsemanticAt(String value, int index) throws Exception {
insertsemanticAt(new SchemaNCName(value), index);
}
public void replacesemanticAt(SchemaNCName value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "semantic", index, value.toString());
}
public void replacesemanticAt(String value, int index) throws Exception {
replacesemanticAt(new SchemaNCName(value), index);
}
public static int getmodifierMinCount() {
return 0;
}
public static int getmodifierMaxCount() {
return 1;
}
public int getmodifierCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier");
}
public boolean hasmodifier() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier");
}
public fx_modifier_enum_common newmodifier() {
return new fx_modifier_enum_common();
}
public fx_modifier_enum_common getmodifierAt(int index) throws Exception {
return new fx_modifier_enum_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index)));
}
public org.w3c.dom.Node getStartingmodifierCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier" );
}
public org.w3c.dom.Node getAdvancedmodifierCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", curNode );
}
public fx_modifier_enum_common getmodifierValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new fx_modifier_enum_common(getDomNodeValue(curNode));
}
public fx_modifier_enum_common getmodifier() throws Exception
{
return getmodifierAt(0);
}
public void removemodifierAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index);
}
public void removemodifier() {
removemodifierAt(0);
}
public org.w3c.dom.Node addmodifier(fx_modifier_enum_common value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", value.toString());
}
public org.w3c.dom.Node addmodifier(String value) throws Exception {
return addmodifier(new fx_modifier_enum_common(value));
}
public void insertmodifierAt(fx_modifier_enum_common value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index, value.toString());
}
public void insertmodifierAt(String value, int index) throws Exception {
insertmodifierAt(new fx_modifier_enum_common(value), index);
}
public void replacemodifierAt(fx_modifier_enum_common value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "modifier", index, value.toString());
}
public void replacemodifierAt(String value, int index) throws Exception {
replacemodifierAt(new fx_modifier_enum_common(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 {
insertbool1At(new cg_bool1(value), index);
}
public void replacebool1At(cg_bool1 value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool1", index, value.toString());
}
public void replacebool1At(String value, int index) throws Exception {
replacebool1At(new cg_bool1(value), index);
}
public static int getbool2MinCount() {
return 1;
}
public static int getbool2MaxCount() {
return 1;
}
public int getbool2Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");
}
public boolean hasbool2() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");
}
public cg_bool2 newbool2() {
return new cg_bool2();
}
public cg_bool2 getbool2At(int index) throws Exception {
return new cg_bool2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index)));
}
public org.w3c.dom.Node getStartingbool2Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );
}
public org.w3c.dom.Node getAdvancedbool2Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", curNode );
}
public cg_bool2 getbool2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new cg_bool2(getDomNodeValue(curNode));
}
public cg_bool2 getbool2() throws Exception
{
return getbool2At(0);
}
public void removebool2At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index);
}
public void removebool2() {
removebool2At(0);
}
public org.w3c.dom.Node addbool2(cg_bool2 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", value.toString());
}
public org.w3c.dom.Node addbool2(String value) throws Exception {
return addbool2(new cg_bool2(value));
}
public void insertbool2At(cg_bool2 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -