📄 instance_materialtype.java
字号:
/**
* instance_materialType.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 instance_materialType extends com.jmex.xml.xml.Node {
public instance_materialType(instance_materialType node) {
super(node);
}
public instance_materialType(org.w3c.dom.Node node) {
super(node);
}
public instance_materialType(org.w3c.dom.Document doc) {
super(doc);
}
public instance_materialType(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, "symbol" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "symbol", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "target" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "target", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
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( 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", "bind" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new bindType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_vertex_input" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "bind_vertex_input", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new bind_vertex_inputType(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", "instance_material");
}
public static int getsymbolMinCount() {
return 1;
}
public static int getsymbolMaxCount() {
return 1;
}
public int getsymbolCount() {
return getDomChildCount(Attribute, null, "symbol");
}
public boolean hassymbol() {
return hasDomChild(Attribute, null, "symbol");
}
public SchemaNCName newsymbol() {
return new SchemaNCName();
}
public SchemaNCName getsymbolAt(int index) throws Exception {
return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "symbol", index)));
}
public org.w3c.dom.Node getStartingsymbolCursor() throws Exception {
return getDomFirstChild(Attribute, null, "symbol" );
}
public org.w3c.dom.Node getAdvancedsymbolCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "symbol", curNode );
}
public SchemaNCName getsymbolValueAtCursor( 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 getsymbol() throws Exception
{
return getsymbolAt(0);
}
public void removesymbolAt(int index) {
removeDomChildAt(Attribute, null, "symbol", index);
}
public void removesymbol() {
removesymbolAt(0);
}
public org.w3c.dom.Node addsymbol(SchemaNCName value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "symbol", value.toString());
}
public org.w3c.dom.Node addsymbol(String value) throws Exception {
return addsymbol(new SchemaNCName(value));
}
public void insertsymbolAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "symbol", index, value.toString());
}
public void insertsymbolAt(String value, int index) throws Exception {
insertsymbolAt(new SchemaNCName(value), index);
}
public void replacesymbolAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "symbol", index, value.toString());
}
public void replacesymbolAt(String value, int index) throws Exception {
replacesymbolAt(new SchemaNCName(value), index);
}
public static int gettargetMinCount() {
return 1;
}
public static int gettargetMaxCount() {
return 1;
}
public int gettargetCount() {
return getDomChildCount(Attribute, null, "target");
}
public boolean hastarget() {
return hasDomChild(Attribute, null, "target");
}
public SchemaString newtarget() {
return new SchemaString();
}
public SchemaString gettargetAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Attribute, null, "target", index)));
}
public org.w3c.dom.Node getStartingtargetCursor() throws Exception {
return getDomFirstChild(Attribute, null, "target" );
}
public org.w3c.dom.Node getAdvancedtargetCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "target", curNode );
}
public SchemaString gettargetValueAtCursor( 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 gettarget() throws Exception
{
return gettargetAt(0);
}
public void removetargetAt(int index) {
removeDomChildAt(Attribute, null, "target", index);
}
public void removetarget() {
removetargetAt(0);
}
public org.w3c.dom.Node addtarget(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "target", value.toString());
}
public org.w3c.dom.Node addtarget(String value) throws Exception {
return addtarget(new SchemaString(value));
}
public void inserttargetAt(SchemaString value, int index) {
insertDomChildAt(Attribute, null, "target", index, value.toString());
}
public void inserttargetAt(String value, int index) throws Exception {
inserttargetAt(new SchemaString(value), index);
}
public void replacetargetAt(SchemaString value, int index) {
replaceDomChildAt(Attribute, null, "target", index, value.toString());
}
public void replacetargetAt(String value, int index) throws Exception {
replacetargetAt(new SchemaString(value), index);
}
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;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -