📄 gles_sampler_state.java
字号:
/**
* gles_sampler_state.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.SchemaFloat;
import com.jmex.xml.types.SchemaNCName;
import com.jmex.xml.types.SchemaShort;
public class gles_sampler_state extends com.jmex.xml.xml.Node {
public gles_sampler_state(gles_sampler_state node) {
super(node);
}
public gles_sampler_state(org.w3c.dom.Node node) {
super(node);
}
public gles_sampler_state(org.w3c.dom.Document doc) {
super(doc);
}
public gles_sampler_state(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, "sid" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "sid", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "magfilter", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipfilter", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_maxlevel", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_bias", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new extraType(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", "gles_sampler_state");
}
public static int getsidMinCount() {
return 0;
}
public static int getsidMaxCount() {
return 1;
}
public int getsidCount() {
return getDomChildCount(Attribute, null, "sid");
}
public boolean hassid() {
return hasDomChild(Attribute, null, "sid");
}
public SchemaNCName newsid() {
return new SchemaNCName();
}
public SchemaNCName getsidAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));
}
public org.w3c.dom.Node getStartingsidCursor() throws Exception {
return getDomFirstChild(Attribute, null, "sid" );
}
public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "sid", curNode );
}
public SchemaNCName getsidValueAtCursor( 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 getsid() throws Exception
{
return getsidAt(0);
}
public void removesidAt(int index) {
removeDomChildAt(Attribute, null, "sid", index);
}
public void removesid() {
removesidAt(0);
}
public org.w3c.dom.Node addsid(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "sid", value.toString());
}
public org.w3c.dom.Node addsid(String value) throws Exception {
return addsid(new SchemaNCName(value));
}
public void insertsidAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "sid", index, value.toString());
}
public void insertsidAt(String value, int index) throws Exception {
insertsidAt(new SchemaNCName(value), index);
}
public void replacesidAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "sid", index, value.toString());
}
public void replacesidAt(String value, int index) throws Exception {
replacesidAt(new SchemaNCName(value), index);
}
public static int getwrap_sMinCount() {
return 0;
}
public static int getwrap_sMaxCount() {
return 1;
}
public int getwrap_sCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s");
}
public boolean haswrap_s() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s");
}
public gles_sampler_wrap newwrap_s() {
return new gles_sampler_wrap();
}
public gles_sampler_wrap getwrap_sAt(int index) throws Exception {
return new gles_sampler_wrap(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index)));
}
public org.w3c.dom.Node getStartingwrap_sCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s" );
}
public org.w3c.dom.Node getAdvancedwrap_sCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", curNode );
}
public gles_sampler_wrap getwrap_sValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new gles_sampler_wrap(getDomNodeValue(curNode));
}
public gles_sampler_wrap getwrap_s() throws Exception
{
return getwrap_sAt(0);
}
public void removewrap_sAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index);
}
public void removewrap_s() {
removewrap_sAt(0);
}
public org.w3c.dom.Node addwrap_s(gles_sampler_wrap value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", value.toString());
}
public org.w3c.dom.Node addwrap_s(String value) throws Exception {
return addwrap_s(new gles_sampler_wrap(value));
}
public void insertwrap_sAt(gles_sampler_wrap value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index, value.toString());
}
public void insertwrap_sAt(String value, int index) throws Exception {
insertwrap_sAt(new gles_sampler_wrap(value), index);
}
public void replacewrap_sAt(gles_sampler_wrap value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_s", index, value.toString());
}
public void replacewrap_sAt(String value, int index) throws Exception {
replacewrap_sAt(new gles_sampler_wrap(value), index);
}
public static int getwrap_tMinCount() {
return 0;
}
public static int getwrap_tMaxCount() {
return 1;
}
public int getwrap_tCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t");
}
public boolean haswrap_t() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t");
}
public gles_sampler_wrap newwrap_t() {
return new gles_sampler_wrap();
}
public gles_sampler_wrap getwrap_tAt(int index) throws Exception {
return new gles_sampler_wrap(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index)));
}
public org.w3c.dom.Node getStartingwrap_tCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t" );
}
public org.w3c.dom.Node getAdvancedwrap_tCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", curNode );
}
public gles_sampler_wrap getwrap_tValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new gles_sampler_wrap(getDomNodeValue(curNode));
}
public gles_sampler_wrap getwrap_t() throws Exception
{
return getwrap_tAt(0);
}
public void removewrap_tAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index);
}
public void removewrap_t() {
removewrap_tAt(0);
}
public org.w3c.dom.Node addwrap_t(gles_sampler_wrap value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", value.toString());
}
public org.w3c.dom.Node addwrap_t(String value) throws Exception {
return addwrap_t(new gles_sampler_wrap(value));
}
public void insertwrap_tAt(gles_sampler_wrap value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index, value.toString());
}
public void insertwrap_tAt(String value, int index) throws Exception {
insertwrap_tAt(new gles_sampler_wrap(value), index);
}
public void replacewrap_tAt(gles_sampler_wrap value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "wrap_t", index, value.toString());
}
public void replacewrap_tAt(String value, int index) throws Exception {
replacewrap_tAt(new gles_sampler_wrap(value), index);
}
public static int getminfilterMinCount() {
return 0;
}
public static int getminfilterMaxCount() {
return 1;
}
public int getminfilterCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter");
}
public boolean hasminfilter() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter");
}
public fx_sampler_filter_common newminfilter() {
return new fx_sampler_filter_common();
}
public fx_sampler_filter_common getminfilterAt(int index) throws Exception {
return new fx_sampler_filter_common(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index)));
}
public org.w3c.dom.Node getStartingminfilterCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter" );
}
public org.w3c.dom.Node getAdvancedminfilterCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", curNode );
}
public fx_sampler_filter_common getminfilterValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new fx_sampler_filter_common(getDomNodeValue(curNode));
}
public fx_sampler_filter_common getminfilter() throws Exception
{
return getminfilterAt(0);
}
public void removeminfilterAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", index);
}
public void removeminfilter() {
removeminfilterAt(0);
}
public org.w3c.dom.Node addminfilter(fx_sampler_filter_common value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "minfilter", value.toString());
}
public org.w3c.dom.Node addminfilter(String value) throws Exception {
return addminfilter(new fx_sampler_filter_common(value));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -