📄 fx_sampler2d_common.java
字号:
/**
* fx_sampler2D_common.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 fx_sampler2D_common extends com.jmex.xml.xml.Node {
public fx_sampler2D_common(fx_sampler2D_common node) {
super(node);
}
public fx_sampler2D_common(org.w3c.dom.Node node) {
super(node);
}
public fx_sampler2D_common(org.w3c.dom.Document doc) {
super(doc);
}
public fx_sampler2D_common(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( Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
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", "border_color" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "border_color", 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", "fx_sampler2D_common");
}
public static int getsourceMinCount() {
return 1;
}
public static int getsourceMaxCount() {
return 1;
}
public int getsourceCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");
}
public boolean hassource() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");
}
public SchemaNCName newsource() {
return new SchemaNCName();
}
public SchemaNCName getsourceAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index)));
}
public org.w3c.dom.Node getStartingsourceCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );
}
public org.w3c.dom.Node getAdvancedsourceCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", curNode );
}
public SchemaNCName getsourceValueAtCursor( 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 getsource() throws Exception
{
return getsourceAt(0);
}
public void removesourceAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index);
}
public void removesource() {
removesourceAt(0);
}
public org.w3c.dom.Node addsource(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", value.toString());
}
public org.w3c.dom.Node addsource(String value) throws Exception {
return addsource(new SchemaNCName(value));
}
public void insertsourceAt(SchemaNCName value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index, value.toString());
}
public void insertsourceAt(String value, int index) throws Exception {
insertsourceAt(new SchemaNCName(value), index);
}
public void replacesourceAt(SchemaNCName value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index, value.toString());
}
public void replacesourceAt(String value, int index) throws Exception {
replacesourceAt(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 fx_sampler_wrap_common newwrap_s() {
return new fx_sampler_wrap_common();
}
public fx_sampler_wrap_common getwrap_sAt(int index) throws Exception {
return new fx_sampler_wrap_common(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 fx_sampler_wrap_common 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 fx_sampler_wrap_common(getDomNodeValue(curNode));
}
public fx_sampler_wrap_common 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(fx_sampler_wrap_common 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 fx_sampler_wrap_common(value));
}
public void insertwrap_sAt(fx_sampler_wrap_common 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 fx_sampler_wrap_common(value), index);
}
public void replacewrap_sAt(fx_sampler_wrap_common 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 fx_sampler_wrap_common(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 fx_sampler_wrap_common newwrap_t() {
return new fx_sampler_wrap_common();
}
public fx_sampler_wrap_common getwrap_tAt(int index) throws Exception {
return new fx_sampler_wrap_common(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 );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -