📄 techniquetype.java
字号:
/**
* techniqueType.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.SchemaID;
import com.jmex.xml.types.SchemaNCName;
public class techniqueType extends com.jmex.xml.xml.Node {
public techniqueType(techniqueType node) {
super(node);
}
public techniqueType(org.w3c.dom.Node node) {
super(node);
}
public techniqueType(org.w3c.dom.Document doc) {
super(doc);
}
public techniqueType(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, "id" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "id", 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( 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", "annotate" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_annotate_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "code" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "code", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_code_profile(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "include" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "include", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new fx_include_common(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "image" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "image", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new imageType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "newparam" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "newparam", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_newparam(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "setparam" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "setparam", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new cg_setparam(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "pass" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "pass", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new passType(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", "technique");
}
public static int getidMinCount() {
return 0;
}
public static int getidMaxCount() {
return 1;
}
public int getidCount() {
return getDomChildCount(Attribute, null, "id");
}
public boolean hasid() {
return hasDomChild(Attribute, null, "id");
}
public SchemaID newid() {
return new SchemaID();
}
public SchemaID getidAt(int index) throws Exception {
return new SchemaID(getDomNodeValue(getDomChildAt(Attribute, null, "id", index)));
}
public org.w3c.dom.Node getStartingidCursor() throws Exception {
return getDomFirstChild(Attribute, null, "id" );
}
public org.w3c.dom.Node getAdvancedidCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "id", curNode );
}
public SchemaID getidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new SchemaID(getDomNodeValue(curNode));
}
public SchemaID getid() throws Exception
{
return getidAt(0);
}
public void removeidAt(int index) {
removeDomChildAt(Attribute, null, "id", index);
}
public void removeid() {
removeidAt(0);
}
public org.w3c.dom.Node addid(SchemaID value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "id", value.toString());
}
public org.w3c.dom.Node addid(String value) throws Exception {
return addid(new SchemaID(value));
}
public void insertidAt(SchemaID value, int index) {
insertDomChildAt(Attribute, null, "id", index, value.toString());
}
public void insertidAt(String value, int index) throws Exception {
insertidAt(new SchemaID(value), index);
}
public void replaceidAt(SchemaID value, int index) {
replaceDomChildAt(Attribute, null, "id", index, value.toString());
}
public void replaceidAt(String value, int index) throws Exception {
replaceidAt(new SchemaID(value), index);
}
public static int getsidMinCount() {
return 1;
}
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;
return appendDomChild(Attribute, null, "sid", value.toString());
}
public org.w3c.dom.Node addsid(String value) throws Exception {
return addsid(new SchemaNCName(value));
}
public void insertsidAt(SchemaNCName value, int index) {
insertDomChildAt(Attribute, null, "sid", index, value.toString());
}
public void insertsidAt(String value, int index) throws Exception {
insertsidAt(new SchemaNCName(value), index);
}
public void replacesidAt(SchemaNCName value, int index) {
replaceDomChildAt(Attribute, null, "sid", index, value.toString());
}
public void replacesidAt(String value, int index) throws Exception {
replacesidAt(new SchemaNCName(value), index);
}
public static int getassetMinCount() {
return 0;
}
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
return new assetType(curNode);
}
public assetType getasset() throws Exception
{
return getassetAt(0);
}
public void removeassetAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index);
}
public void removeasset() {
removeassetAt(0);
}
public org.w3c.dom.Node addasset(assetType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "asset", value);
}
public void insertassetAt(assetType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);
}
public void replaceassetAt(assetType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);
}
public static int getannotateMinCount() {
return 0;
}
public static int getannotateMaxCount() {
return Integer.MAX_VALUE;
}
public int getannotateCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate");
}
public boolean hasannotate() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate");
}
public fx_annotate_common newannotate() {
return new fx_annotate_common(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "annotate"));
}
public fx_annotate_common getannotateAt(int index) throws Exception {
return new fx_annotate_common(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", index));
}
public org.w3c.dom.Node getStartingannotateCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate" );
}
public org.w3c.dom.Node getAdvancedannotateCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", curNode );
}
public fx_annotate_common getannotateValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new fx_annotate_common(curNode);
}
public fx_annotate_common getannotate() throws Exception
{
return getannotateAt(0);
}
public void removeannotateAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "annotate", index);
}
public void removeannotate() {
while (hasannotate())
removeannotateAt(0);
}
public org.w3c.dom.Node addannotate(fx_annotate_common value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "annotate", value);
}
public void insertannotateAt(fx_annotate_common value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
}
public void replaceannotateAt(fx_annotate_common value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "annotate", index, value);
}
public static int getcodeMinCount() {
return 1;
}
public static int getcodeMaxCount() {
return 1;
}
public int getcodeCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "code");
}
public boolean hascode() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "code");
}
public fx_code_profile newcode() {
return new fx_code_profile(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "code"));
}
public fx_code_profile getcodeAt(int index) throws Exception {
return new fx_code_profile(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "code", index));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -