📄 stencil_optype.java
字号:
/**
* stencil_opType.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;
public class stencil_opType extends com.jmex.xml.xml.Node {
public stencil_opType(stencil_opType node) {
super(node);
}
public stencil_opType(org.w3c.dom.Node node) {
super(node);
}
public stencil_opType(org.w3c.dom.Document doc) {
super(doc);
}
public stencil_opType(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( Element, "http://www.collada.org/2005/11/COLLADASchema", "fail" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new failType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new zfailType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new zpassType(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", "stencil_op");
}
public static int getfailMinCount() {
return 1;
}
public static int getfailMaxCount() {
return 1;
}
public int getfailCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail");
}
public boolean hasfail() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail");
}
public failType newfail() {
return new failType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "fail"));
}
public failType getfailAt(int index) throws Exception {
return new failType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", index));
}
public org.w3c.dom.Node getStartingfailCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail" );
}
public org.w3c.dom.Node getAdvancedfailCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", curNode );
}
public failType getfailValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new failType(curNode);
}
public failType getfail() throws Exception
{
return getfailAt(0);
}
public void removefailAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "fail", index);
}
public void removefail() {
removefailAt(0);
}
public org.w3c.dom.Node addfail(failType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "fail", value);
}
public void insertfailAt(failType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "fail", index, value);
}
public void replacefailAt(failType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "fail", index, value);
}
public static int getzfailMinCount() {
return 1;
}
public static int getzfailMaxCount() {
return 1;
}
public int getzfailCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail");
}
public boolean haszfail() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail");
}
public zfailType newzfail() {
return new zfailType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zfail"));
}
public zfailType getzfailAt(int index) throws Exception {
return new zfailType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", index));
}
public org.w3c.dom.Node getStartingzfailCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail" );
}
public org.w3c.dom.Node getAdvancedzfailCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", curNode );
}
public zfailType getzfailValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new zfailType(curNode);
}
public zfailType getzfail() throws Exception
{
return getzfailAt(0);
}
public void removezfailAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zfail", index);
}
public void removezfail() {
removezfailAt(0);
}
public org.w3c.dom.Node addzfail(zfailType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zfail", value);
}
public void insertzfailAt(zfailType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfail", index, value);
}
public void replacezfailAt(zfailType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zfail", index, value);
}
public static int getzpassMinCount() {
return 1;
}
public static int getzpassMaxCount() {
return 1;
}
public int getzpassCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass");
}
public boolean haszpass() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass");
}
public zpassType newzpass() {
return new zpassType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "zpass"));
}
public zpassType getzpassAt(int index) throws Exception {
return new zpassType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", index));
}
public org.w3c.dom.Node getStartingzpassCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass" );
}
public org.w3c.dom.Node getAdvancedzpassCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", curNode );
}
public zpassType getzpassValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new zpassType(curNode);
}
public zpassType getzpass() throws Exception
{
return getzpassAt(0);
}
public void removezpassAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "zpass", index);
}
public void removezpass() {
removezpassAt(0);
}
public org.w3c.dom.Node addzpass(zpassType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "zpass", value);
}
public void insertzpassAt(zpassType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zpass", index, value);
}
public void replacezpassAt(zpassType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "zpass", index, value);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -