📄 colladatype.java
字号:
/**
* COLLADAType.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.SchemaString;
public class COLLADAType extends com.jmex.xml.xml.Node {
public COLLADAType(COLLADAType node) {
super(node);
}
public COLLADAType(org.w3c.dom.Node node) {
super(node);
}
public COLLADAType(org.w3c.dom.Document doc) {
super(doc);
}
public COLLADAType(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, "version" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "version", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, "http://www.w3.org/XML/1998/namespace", "base" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, "http://www.w3.org/XML/1998/namespace", "base", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new assetType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_animations" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_animations", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_animationsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_animation_clips" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_animation_clips", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_animation_clipsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_cameras" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_cameras", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_camerasType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_controllers" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_controllers", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_controllersType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_geometries" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_geometries", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_geometriesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_effects" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_effects", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_effectsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_force_fields" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_force_fields", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_force_fieldsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_images" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_images", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_imagesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_lights" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_lights", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_lightsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_materials" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_materials", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_materialsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_nodes" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_nodes", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_nodesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_materials" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_materials", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_physics_materialsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_models" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_models", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_physics_modelsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_scenes" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_physics_scenes", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_physics_scenesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_visual_scenes" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "library_visual_scenes", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new library_visual_scenesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "scene" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "scene", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new sceneType(tmpNode).adjustPrefix();
}
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", "COLLADA");
}
public static int getversionMinCount() {
return 1;
}
public static int getversionMaxCount() {
return 1;
}
public int getversionCount() {
return getDomChildCount(Attribute, null, "version");
}
public boolean hasversion() {
return hasDomChild(Attribute, null, "version");
}
public VersionType newversion() {
return new VersionType();
}
public VersionType getversionAt(int index) throws Exception {
return new VersionType(getDomNodeValue(getDomChildAt(Attribute, null, "version", index)));
}
public org.w3c.dom.Node getStartingversionCursor() throws Exception {
return getDomFirstChild(Attribute, null, "version" );
}
public org.w3c.dom.Node getAdvancedversionCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "version", curNode );
}
public VersionType getversionValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new VersionType(getDomNodeValue(curNode));
}
public VersionType getversion() throws Exception
{
return getversionAt(0);
}
public void removeversionAt(int index) {
removeDomChildAt(Attribute, null, "version", index);
}
public void removeversion() {
removeversionAt(0);
}
public org.w3c.dom.Node addversion(VersionType value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "version", value.toString());
}
public org.w3c.dom.Node addversion(String value) throws Exception {
return addversion(new VersionType(value));
}
public void insertversionAt(VersionType value, int index) {
insertDomChildAt(Attribute, null, "version", index, value.toString());
}
public void insertversionAt(String value, int index) throws Exception {
insertversionAt(new VersionType(value), index);
}
public void replaceversionAt(VersionType value, int index) {
replaceDomChildAt(Attribute, null, "version", index, value.toString());
}
public void replaceversionAt(String value, int index) throws Exception {
replaceversionAt(new VersionType(value), index);
}
public static int getbaseMinCount() {
return 0;
}
public static int getbaseMaxCount() {
return 1;
}
public int getbaseCount() {
return getDomChildCount(Attribute, "http://www.w3.org/XML/1998/namespace", "base");
}
public boolean hasbase() {
return hasDomChild(Attribute, "http://www.w3.org/XML/1998/namespace", "base");
}
public SchemaString newbase() {
return new SchemaString();
}
public SchemaString getbaseAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Attribute, "http://www.w3.org/XML/1998/namespace", "base", index)));
}
public org.w3c.dom.Node getStartingbaseCursor() throws Exception {
return getDomFirstChild(Attribute, "http://www.w3.org/XML/1998/namespace", "base" );
}
public org.w3c.dom.Node getAdvancedbaseCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, "http://www.w3.org/XML/1998/namespace", "base", curNode );
}
public SchemaString getbaseValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new SchemaString(getDomNodeValue(curNode));
}
public SchemaString getbase() throws Exception
{
return getbaseAt(0);
}
public void removebaseAt(int index) {
removeDomChildAt(Attribute, "http://www.w3.org/XML/1998/namespace", "base", index);
}
public void removebase() {
removebaseAt(0);
}
public org.w3c.dom.Node addbase(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, "http://www.w3.org/XML/1998/namespace", "base", value.toString());
}
public org.w3c.dom.Node addbase(String value) throws Exception {
return addbase(new SchemaString(value));
}
public void insertbaseAt(SchemaString value, int index) {
insertDomChildAt(Attribute, "http://www.w3.org/XML/1998/namespace", "base", index, value.toString());
}
public void insertbaseAt(String value, int index) throws Exception {
insertbaseAt(new SchemaString(value), index);
}
public void replacebaseAt(SchemaString value, int index) {
replaceDomChildAt(Attribute, "http://www.w3.org/XML/1998/namespace", "base", index, value.toString());
}
public void replacebaseAt(String value, int index) throws Exception {
replacebaseAt(new SchemaString(value), index);
}
public static int getassetMinCount() {
return 1;
}
public static int getassetMaxCount() {
return 1;
}
public int getassetCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");
}
public boolean hasasset() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");
}
public assetType newasset() {
return new assetType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "asset"));
}
public assetType getassetAt(int index) throws Exception {
return new assetType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index));
}
public org.w3c.dom.Node getStartingassetCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset" );
}
public org.w3c.dom.Node getAdvancedassetCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", curNode );
}
public assetType getassetValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -