alpha_functype.java
来自「java 3d game jme 工程开发源代码」· Java 代码 · 共 189 行
JAVA
189 行
/**
* alpha_funcType.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 alpha_funcType extends com.jmex.xml.xml.Node {
/**
*
*/
private static final long serialVersionUID = -7749906725482239947L;
public alpha_funcType(alpha_funcType node) {
super(node);
}
public alpha_funcType(org.w3c.dom.Node node) {
super(node);
}
public alpha_funcType(org.w3c.dom.Document doc) {
super(doc);
}
public alpha_funcType(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", "func" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "func", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new funcType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "value" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "value", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new valueType(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", "alpha_func");
}
public static int getfuncMinCount() {
return 1;
}
public static int getfuncMaxCount() {
return 1;
}
public int getfuncCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "func");
}
public boolean hasfunc() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "func");
}
public funcType newfunc() {
return new funcType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "func"));
}
public funcType getfuncAt(int index) throws Exception {
return new funcType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "func", index));
}
public org.w3c.dom.Node getStartingfuncCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "func" );
}
public org.w3c.dom.Node getAdvancedfuncCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "func", curNode );
}
public funcType getfuncValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new funcType(curNode);
}
public funcType getfunc() throws Exception
{
return getfuncAt(0);
}
public void removefuncAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "func", index);
}
public void removefunc() {
removefuncAt(0);
}
public org.w3c.dom.Node addfunc(funcType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "func", value);
}
public void insertfuncAt(funcType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "func", index, value);
}
public void replacefuncAt(funcType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "func", index, value);
}
public static int getvalue2MinCount() {
return 1;
}
public static int getvalue2MaxCount() {
return 1;
}
public int getvalue2Count() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "value");
}
public boolean hasvalue2() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "value");
}
public valueType newvalue2() {
return new valueType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "value"));
}
public valueType getvalue2At(int index) throws Exception {
return new valueType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "value", index));
}
public org.w3c.dom.Node getStartingvalue2Cursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "value" );
}
public org.w3c.dom.Node getAdvancedvalue2Cursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "value", curNode );
}
public valueType getvalue2ValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new valueType(curNode);
}
public valueType getvalue2() throws Exception
{
return getvalue2At(0);
}
public void removevalue2At(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "value", index);
}
public void removevalue2() {
removevalue2At(0);
}
public org.w3c.dom.Node addvalue2(valueType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "value", value);
}
public void insertvalue2At(valueType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "value", index, value);
}
public void replacevalue2At(valueType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "value", index, value);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?