📄 light_enabletype.java
字号:
/**
* light_enableType.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.SchemaNCName;
public class light_enableType extends com.jmex.xml.xml.Node {
public light_enableType(light_enableType node) {
super(node);
}
public light_enableType(org.w3c.dom.Node node) {
super(node);
}
public light_enableType(org.w3c.dom.Document doc) {
super(doc);
}
public light_enableType(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, "value" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "value", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "param" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "param", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "index" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "index", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
}
public void setXsiType() {
org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "light_enable");
}
public static int getvalue2MinCount() {
return 0;
}
public static int getvalue2MaxCount() {
return 1;
}
public int getvalue2Count() {
return getDomChildCount(Attribute, null, "value");
}
public boolean hasvalue2() {
return hasDomChild(Attribute, null, "value");
}
public bool newvalue2() {
return new bool();
}
public bool getvalue2At(int index) throws Exception {
return new bool(getDomNodeValue(getDomChildAt(Attribute, null, "value", index)));
}
public org.w3c.dom.Node getStartingvalue2Cursor() throws Exception {
return getDomFirstChild(Attribute, null, "value" );
}
public org.w3c.dom.Node getAdvancedvalue2Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "value", curNode );
}
public bool getvalue2ValueAtCursor( 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 getvalue2() throws Exception
{
return getvalue2At(0);
}
public void removevalue2At(int index) {
removeDomChildAt(Attribute, null, "value", index);
}
public void removevalue2() {
removevalue2At(0);
}
public org.w3c.dom.Node addvalue2(bool value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "value", value.toString());
}
public org.w3c.dom.Node addvalue2(String value) throws Exception {
return addvalue2(new bool(value));
}
public void insertvalue2At(bool value, int index) {
insertDomChildAt(Attribute, null, "value", index, value.toString());
}
public void insertvalue2At(String value, int index) throws Exception {
insertvalue2At(new bool(value), index);
}
public void replacevalue2At(bool value, int index) {
replaceDomChildAt(Attribute, null, "value", index, value.toString());
}
public void replacevalue2At(String value, int index) throws Exception {
replacevalue2At(new bool(value), index);
}
public static int getparamMinCount() {
return 0;
}
public static int getparamMaxCount() {
return 1;
}
public int getparamCount() {
return getDomChildCount(Attribute, null, "param");
}
public boolean hasparam() {
return hasDomChild(Attribute, null, "param");
}
public SchemaNCName newparam() {
return new SchemaNCName();
}
public SchemaNCName getparamAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "param", index)));
}
public org.w3c.dom.Node getStartingparamCursor() throws Exception {
return getDomFirstChild(Attribute, null, "param" );
}
public org.w3c.dom.Node getAdvancedparamCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "param", curNode );
}
public SchemaNCName getparamValueAtCursor( 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 getparam() throws Exception
{
return getparamAt(0);
}
public void removeparamAt(int index) {
removeDomChildAt(Attribute, null, "param", index);
}
public void removeparam() {
removeparamAt(0);
}
public org.w3c.dom.Node addparam(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "param", value.toString());
}
public org.w3c.dom.Node addparam(String value) throws Exception {
return addparam(new SchemaNCName(value));
}
public void insertparamAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "param", index, value.toString());
}
public void insertparamAt(String value, int index) throws Exception {
insertparamAt(new SchemaNCName(value), index);
}
public void replaceparamAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "param", index, value.toString());
}
public void replaceparamAt(String value, int index) throws Exception {
replaceparamAt(new SchemaNCName(value), index);
}
public static int getindexMinCount() {
return 1;
}
public static int getindexMaxCount() {
return 1;
}
public int getindexCount() {
return getDomChildCount(Attribute, null, "index");
}
public boolean hasindex() {
return hasDomChild(Attribute, null, "index");
}
public GL_MAX_LIGHTS_index newindex() {
return new GL_MAX_LIGHTS_index();
}
public GL_MAX_LIGHTS_index getindexAt(int index) throws Exception {
return new GL_MAX_LIGHTS_index(getDomNodeValue(getDomChildAt(Attribute, null, "index", index)));
}
public org.w3c.dom.Node getStartingindexCursor() throws Exception {
return getDomFirstChild(Attribute, null, "index" );
}
public org.w3c.dom.Node getAdvancedindexCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "index", curNode );
}
public GL_MAX_LIGHTS_index getindexValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new GL_MAX_LIGHTS_index(getDomNodeValue(curNode));
}
public GL_MAX_LIGHTS_index getindex() throws Exception
{
return getindexAt(0);
}
public void removeindexAt(int index) {
removeDomChildAt(Attribute, null, "index", index);
}
public void removeindex() {
removeindexAt(0);
}
public org.w3c.dom.Node addindex(GL_MAX_LIGHTS_index value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "index", value.toString());
}
public org.w3c.dom.Node addindex(String value) throws Exception {
return addindex(new GL_MAX_LIGHTS_index(value));
}
public void insertindexAt(GL_MAX_LIGHTS_index value, int index) {
insertDomChildAt(Attribute, null, "index", index, value.toString());
}
public void insertindexAt(String value, int index) throws Exception {
insertindexAt(new GL_MAX_LIGHTS_index(value), index);
}
public void replaceindexAt(GL_MAX_LIGHTS_index value, int index) {
replaceDomChildAt(Attribute, null, "index", index, value.toString());
}
public void replaceindexAt(String value, int index) throws Exception {
replaceindexAt(new GL_MAX_LIGHTS_index(value), index);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -