📄 ellipsoidtype.java
字号:
/**
* ellipsoidType.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 ellipsoidType extends com.jmex.xml.xml.Node {
public ellipsoidType(ellipsoidType node) {
super(node);
}
public ellipsoidType(org.w3c.dom.Node node) {
super(node);
}
public ellipsoidType(org.w3c.dom.Document doc) {
super(doc);
}
public ellipsoidType(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", "size" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "size", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
}
}
public void setXsiType() {
org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "ellipsoid");
}
public static int getsizeMinCount() {
return 1;
}
public static int getsizeMaxCount() {
return 1;
}
public int getsizeCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "size");
}
public boolean hassize() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "size");
}
public float3 newsize() {
return new float3();
}
public float3 getsizeAt(int index) throws Exception {
return new float3(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "size", index)));
}
public org.w3c.dom.Node getStartingsizeCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "size" );
}
public org.w3c.dom.Node getAdvancedsizeCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "size", curNode );
}
public float3 getsizeValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new float3(getDomNodeValue(curNode));
}
public float3 getsize() throws Exception
{
return getsizeAt(0);
}
public void removesizeAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "size", index);
}
public void removesize() {
removesizeAt(0);
}
public org.w3c.dom.Node addsize(float3 value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "size", value.toString());
}
public org.w3c.dom.Node addsize(String value) throws Exception {
return addsize(new float3(value));
}
public void insertsizeAt(float3 value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "size", index, value.toString());
}
public void insertsizeAt(String value, int index) throws Exception {
insertsizeAt(new float3(value), index);
}
public void replacesizeAt(float3 value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "size", index, value.toString());
}
public void replacesizeAt(String value, int index) throws Exception {
replacesizeAt(new float3(value), index);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -