📄 fx_annotate_common.java
字号:
/**
* fx_annotate_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.SchemaNCName;
import com.jmex.xml.types.SchemaString;
public class fx_annotate_common extends com.jmex.xml.xml.Node {
public fx_annotate_common(fx_annotate_common node) {
super(node);
}
public fx_annotate_common(org.w3c.dom.Node node) {
super(node);
}
public fx_annotate_common(org.w3c.dom.Document doc) {
super(doc);
}
public fx_annotate_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, "name" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "name", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "int4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float2x2", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float3x3", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "float4x4", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "string" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "string", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
}
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_annotate_common");
}
public static int getnameMinCount() {
return 1;
}
public static int getnameMaxCount() {
return 1;
}
public int getnameCount() {
return getDomChildCount(Attribute, null, "name");
}
public boolean hasname() {
return hasDomChild(Attribute, null, "name");
}
public SchemaNCName newname() {
return new SchemaNCName();
}
public SchemaNCName getnameAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "name", index)));
}
public org.w3c.dom.Node getStartingnameCursor() throws Exception {
return getDomFirstChild(Attribute, null, "name" );
}
public org.w3c.dom.Node getAdvancednameCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "name", curNode );
}
public SchemaNCName getnameValueAtCursor( 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 getname() throws Exception
{
return getnameAt(0);
}
public void removenameAt(int index) {
removeDomChildAt(Attribute, null, "name", index);
}
public void removename() {
removenameAt(0);
}
public org.w3c.dom.Node addname(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "name", value.toString());
}
public org.w3c.dom.Node addname(String value) throws Exception {
return addname(new SchemaNCName(value));
}
public void insertnameAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "name", index, value.toString());
}
public void insertnameAt(String value, int index) throws Exception {
insertnameAt(new SchemaNCName(value), index);
}
public void replacenameAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "name", index, value.toString());
}
public void replacenameAt(String value, int index) throws Exception {
replacenameAt(new SchemaNCName(value), index);
}
public static int getboolMinCount() {
return 1;
}
public static int getboolMaxCount() {
return 1;
}
public int getboolCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");
}
public boolean hasbool() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool");
}
public bool newbool() {
return new bool();
}
public bool getboolAt(int index) throws Exception {
return new bool(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index)));
}
public org.w3c.dom.Node getStartingboolCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool" );
}
public org.w3c.dom.Node getAdvancedboolCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", curNode );
}
public bool getboolValueAtCursor( 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 getbool() throws Exception
{
return getboolAt(0);
}
public void removeboolAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index);
}
public void removebool() {
removeboolAt(0);
}
public org.w3c.dom.Node addbool(bool value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", value.toString());
}
public org.w3c.dom.Node addbool(String value) throws Exception {
return addbool(new bool(value));
}
public void insertboolAt(bool value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
}
public void insertboolAt(String value, int index) throws Exception {
insertboolAt(new bool(value), index);
}
public void replaceboolAt(bool value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool", index, value.toString());
}
public void replaceboolAt(String value, int index) throws Exception {
replaceboolAt(new bool(value), index);
}
public static int getbool2MinCount() {
return 1;
}
public static int getbool2MaxCount() {
return 1;
}
public int getbool2Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");
}
public boolean hasbool2() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2");
}
public bool2 newbool2() {
return new bool2();
}
public bool2 getbool2At(int index) throws Exception {
return new bool2(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index)));
}
public org.w3c.dom.Node getStartingbool2Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2" );
}
public org.w3c.dom.Node getAdvancedbool2Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", curNode );
}
public bool2 getbool2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new bool2(getDomNodeValue(curNode));
}
public bool2 getbool2() throws Exception
{
return getbool2At(0);
}
public void removebool2At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index);
}
public void removebool2() {
removebool2At(0);
}
public org.w3c.dom.Node addbool2(bool2 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", value.toString());
}
public org.w3c.dom.Node addbool2(String value) throws Exception {
return addbool2(new bool2(value));
}
public void insertbool2At(bool2 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "bool2", index, value.toString());
}
public void insertbool2At(String value, int index) throws Exception {
insertbool2At(new bool2(value), index);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -