📄 fx_surface_common.java
字号:
/**
* fx_surface_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.SchemaBoolean;
import com.jmex.xml.types.SchemaLong;
import com.jmex.xml.types.SchemaToken;
public class fx_surface_common extends com.jmex.xml.xml.Node {
public fx_surface_common(fx_surface_common node) {
super(node);
}
public fx_surface_common(org.w3c.dom.Node node) {
super(node);
}
public fx_surface_common(org.w3c.dom.Document doc) {
super(doc);
}
public fx_surface_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( Attribute, null, "type" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "type", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_init_cube_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_volume" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_volume", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_init_volume_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_planar" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_planar", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_init_planar_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_init_from_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "format" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "format", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "format_hint" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "format_hint", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_surface_format_hint_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "size" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "size", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "viewport_ratio" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "viewport_ratio", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mip_levels" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mip_levels", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_generate" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "mipmap_generate", 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_surface_common");
}
public static int gettypeMinCount() {
return 1;
}
public static int gettypeMaxCount() {
return 1;
}
public int gettypeCount() {
return getDomChildCount(Attribute, null, "type");
}
public boolean hastype() {
return hasDomChild(Attribute, null, "type");
}
public fx_surface_type_enum newtype() {
return new fx_surface_type_enum();
}
public fx_surface_type_enum gettypeAt(int index) throws Exception {
return new fx_surface_type_enum(getDomNodeValue(getDomChildAt(Attribute, null, "type", index)));
}
public org.w3c.dom.Node getStartingtypeCursor() throws Exception {
return getDomFirstChild(Attribute, null, "type" );
}
public org.w3c.dom.Node getAdvancedtypeCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "type", curNode );
}
public fx_surface_type_enum gettypeValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new fx_surface_type_enum(getDomNodeValue(curNode));
}
public fx_surface_type_enum gettype() throws Exception
{
return gettypeAt(0);
}
public void removetypeAt(int index) {
removeDomChildAt(Attribute, null, "type", index);
}
public void removetype() {
removetypeAt(0);
}
public org.w3c.dom.Node addtype(fx_surface_type_enum value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "type", value.toString());
}
public org.w3c.dom.Node addtype(String value) throws Exception {
return addtype(new fx_surface_type_enum(value));
}
public void inserttypeAt(fx_surface_type_enum value, int index) {
insertDomChildAt(Attribute, null, "type", index, value.toString());
}
public void inserttypeAt(String value, int index) throws Exception {
inserttypeAt(new fx_surface_type_enum(value), index);
}
public void replacetypeAt(fx_surface_type_enum value, int index) {
replaceDomChildAt(Attribute, null, "type", index, value.toString());
}
public void replacetypeAt(String value, int index) throws Exception {
replacetypeAt(new fx_surface_type_enum(value), index);
}
public static int getinit_as_nullMinCount() {
return 1;
}
public static int getinit_as_nullMaxCount() {
return 1;
}
public int getinit_as_nullCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null");
}
public boolean hasinit_as_null() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null");
}
public com.jmex.xml.xml.AnyTypeNode newinit_as_null() {
return new com.jmex.xml.xml.AnyTypeNode(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "init_as_null"));
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_nullAt(int index) throws Exception {
return new com.jmex.xml.xml.AnyTypeNode(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null", index));
}
public org.w3c.dom.Node getStartinginit_as_nullCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null" );
}
public org.w3c.dom.Node getAdvancedinit_as_nullCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null", curNode );
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_nullValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new com.jmex.xml.xml.AnyTypeNode(curNode);
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_null() throws Exception
{
return getinit_as_nullAt(0);
}
public void removeinit_as_nullAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_null", index);
}
public void removeinit_as_null() {
removeinit_as_nullAt(0);
}
public org.w3c.dom.Node addinit_as_null(com.jmex.xml.xml.AnyTypeNode value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "init_as_null", value);
}
public void insertinit_as_nullAt(com.jmex.xml.xml.AnyTypeNode value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "init_as_null", index, value);
}
public void replaceinit_as_nullAt(com.jmex.xml.xml.AnyTypeNode value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "init_as_null", index, value);
}
public static int getinit_as_targetMinCount() {
return 1;
}
public static int getinit_as_targetMaxCount() {
return 1;
}
public int getinit_as_targetCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target");
}
public boolean hasinit_as_target() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target");
}
public com.jmex.xml.xml.AnyTypeNode newinit_as_target() {
return new com.jmex.xml.xml.AnyTypeNode(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "init_as_target"));
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_targetAt(int index) throws Exception {
return new com.jmex.xml.xml.AnyTypeNode(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target", index));
}
public org.w3c.dom.Node getStartinginit_as_targetCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target" );
}
public org.w3c.dom.Node getAdvancedinit_as_targetCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target", curNode );
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_targetValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new com.jmex.xml.xml.AnyTypeNode(curNode);
}
public com.jmex.xml.xml.AnyTypeNode getinit_as_target() throws Exception
{
return getinit_as_targetAt(0);
}
public void removeinit_as_targetAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_as_target", index);
}
public void removeinit_as_target() {
removeinit_as_targetAt(0);
}
public org.w3c.dom.Node addinit_as_target(com.jmex.xml.xml.AnyTypeNode value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "init_as_target", value);
}
public void insertinit_as_targetAt(com.jmex.xml.xml.AnyTypeNode value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "init_as_target", index, value);
}
public void replaceinit_as_targetAt(com.jmex.xml.xml.AnyTypeNode value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "init_as_target", index, value);
}
public static int getinit_cubeMinCount() {
return 1;
}
public static int getinit_cubeMaxCount() {
return 1;
}
public int getinit_cubeCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube");
}
public boolean hasinit_cube() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube");
}
public fx_surface_init_cube_common newinit_cube() {
return new fx_surface_init_cube_common(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "init_cube"));
}
public fx_surface_init_cube_common getinit_cubeAt(int index) throws Exception {
return new fx_surface_init_cube_common(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube", index));
}
public org.w3c.dom.Node getStartinginit_cubeCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube" );
}
public org.w3c.dom.Node getAdvancedinit_cubeCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_cube", curNode );
}
public fx_surface_init_cube_common getinit_cubeValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -