📄 gles_texcombiner_argumentrgb_type.java
字号:
/**
* gles_texcombiner_argumentRGB_type.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 gles_texcombiner_argumentRGB_type extends com.jmex.xml.xml.Node {
public gles_texcombiner_argumentRGB_type(gles_texcombiner_argumentRGB_type node) {
super(node);
}
public gles_texcombiner_argumentRGB_type(org.w3c.dom.Node node) {
super(node);
}
public gles_texcombiner_argumentRGB_type(org.w3c.dom.Document doc) {
super(doc);
}
public gles_texcombiner_argumentRGB_type(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, "source" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "source", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "operand" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "operand", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "unit" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "unit", 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", "gles_texcombiner_argumentRGB_type");
}
public static int getsourceMinCount() {
return 0;
}
public static int getsourceMaxCount() {
return 1;
}
public int getsourceCount() {
return getDomChildCount(Attribute, null, "source");
}
public boolean hassource() {
return hasDomChild(Attribute, null, "source");
}
public gles_texcombiner_source_enums newsource() {
return new gles_texcombiner_source_enums();
}
public gles_texcombiner_source_enums getsourceAt(int index) throws Exception {
return new gles_texcombiner_source_enums(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 gles_texcombiner_source_enums getsourceValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new gles_texcombiner_source_enums(getDomNodeValue(curNode));
}
public gles_texcombiner_source_enums 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(gles_texcombiner_source_enums 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 gles_texcombiner_source_enums(value));
}
public void insertsourceAt(gles_texcombiner_source_enums value, int index) {
insertDomChildAt(Attribute, null, "source", index, value.toString());
}
public void insertsourceAt(String value, int index) throws Exception {
insertsourceAt(new gles_texcombiner_source_enums(value), index);
}
public void replacesourceAt(gles_texcombiner_source_enums value, int index) {
replaceDomChildAt(Attribute, null, "source", index, value.toString());
}
public void replacesourceAt(String value, int index) throws Exception {
replacesourceAt(new gles_texcombiner_source_enums(value), index);
}
public static int getoperandMinCount() {
return 0;
}
public static int getoperandMaxCount() {
return 1;
}
public int getoperandCount() {
return getDomChildCount(Attribute, null, "operand");
}
public boolean hasoperand() {
return hasDomChild(Attribute, null, "operand");
}
public gles_texcombiner_operandRGB_enums newoperand() {
return new gles_texcombiner_operandRGB_enums();
}
public gles_texcombiner_operandRGB_enums getoperandAt(int index) throws Exception {
return new gles_texcombiner_operandRGB_enums(getDomNodeValue(getDomChildAt(Attribute, null, "operand", index)));
}
public org.w3c.dom.Node getStartingoperandCursor() throws Exception {
return getDomFirstChild(Attribute, null, "operand" );
}
public org.w3c.dom.Node getAdvancedoperandCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "operand", curNode );
}
public gles_texcombiner_operandRGB_enums getoperandValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new gles_texcombiner_operandRGB_enums(getDomNodeValue(curNode));
}
public gles_texcombiner_operandRGB_enums getoperand() throws Exception
{
return getoperandAt(0);
}
public void removeoperandAt(int index) {
removeDomChildAt(Attribute, null, "operand", index);
}
public void removeoperand() {
removeoperandAt(0);
}
public org.w3c.dom.Node addoperand(gles_texcombiner_operandRGB_enums value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "operand", value.toString());
}
public org.w3c.dom.Node addoperand(String value) throws Exception {
return addoperand(new gles_texcombiner_operandRGB_enums(value));
}
public void insertoperandAt(gles_texcombiner_operandRGB_enums value, int index) {
insertDomChildAt(Attribute, null, "operand", index, value.toString());
}
public void insertoperandAt(String value, int index) throws Exception {
insertoperandAt(new gles_texcombiner_operandRGB_enums(value), index);
}
public void replaceoperandAt(gles_texcombiner_operandRGB_enums value, int index) {
replaceDomChildAt(Attribute, null, "operand", index, value.toString());
}
public void replaceoperandAt(String value, int index) throws Exception {
replaceoperandAt(new gles_texcombiner_operandRGB_enums(value), index);
}
public static int getunitMinCount() {
return 0;
}
public static int getunitMaxCount() {
return 1;
}
public int getunitCount() {
return getDomChildCount(Attribute, null, "unit");
}
public boolean hasunit() {
return hasDomChild(Attribute, null, "unit");
}
public SchemaNCName newunit() {
return new SchemaNCName();
}
public SchemaNCName getunitAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "unit", index)));
}
public org.w3c.dom.Node getStartingunitCursor() throws Exception {
return getDomFirstChild(Attribute, null, "unit" );
}
public org.w3c.dom.Node getAdvancedunitCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "unit", curNode );
}
public SchemaNCName getunitValueAtCursor( 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 getunit() throws Exception
{
return getunitAt(0);
}
public void removeunitAt(int index) {
removeDomChildAt(Attribute, null, "unit", index);
}
public void removeunit() {
removeunitAt(0);
}
public org.w3c.dom.Node addunit(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "unit", value.toString());
}
public org.w3c.dom.Node addunit(String value) throws Exception {
return addunit(new SchemaNCName(value));
}
public void insertunitAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "unit", index, value.toString());
}
public void insertunitAt(String value, int index) throws Exception {
insertunitAt(new SchemaNCName(value), index);
}
public void replaceunitAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "unit", index, value.toString());
}
public void replaceunitAt(String value, int index) throws Exception {
replaceunitAt(new SchemaNCName(value), index);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -