📄 convex_meshtype.java
字号:
/**
* convex_meshType.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.SchemaString;
public class convex_meshType extends com.jmex.xml.xml.Node {
public convex_meshType(convex_meshType node) {
super(node);
}
public convex_meshType(org.w3c.dom.Node node) {
super(node);
}
public convex_meshType(org.w3c.dom.Document doc) {
super(doc);
}
public convex_meshType(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, "convex_hull_of" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "convex_hull_of", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new sourceType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new verticesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new linesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new linestripsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polygons", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new polygonsType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "polylist", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new polylistType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "triangles", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new trianglesType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "trifans", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new trifansType(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "tristrips", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new tristripsType(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", "convex_mesh");
}
public static int getconvex_hull_ofMinCount() {
return 0;
}
public static int getconvex_hull_ofMaxCount() {
return 1;
}
public int getconvex_hull_ofCount() {
return getDomChildCount(Attribute, null, "convex_hull_of");
}
public boolean hasconvex_hull_of() {
return hasDomChild(Attribute, null, "convex_hull_of");
}
public SchemaString newconvex_hull_of() {
return new SchemaString();
}
public SchemaString getconvex_hull_ofAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Attribute, null, "convex_hull_of", index)));
}
public org.w3c.dom.Node getStartingconvex_hull_ofCursor() throws Exception {
return getDomFirstChild(Attribute, null, "convex_hull_of" );
}
public org.w3c.dom.Node getAdvancedconvex_hull_ofCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "convex_hull_of", curNode );
}
public SchemaString getconvex_hull_ofValueAtCursor( 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 getconvex_hull_of() throws Exception
{
return getconvex_hull_ofAt(0);
}
public void removeconvex_hull_ofAt(int index) {
removeDomChildAt(Attribute, null, "convex_hull_of", index);
}
public void removeconvex_hull_of() {
removeconvex_hull_ofAt(0);
}
public org.w3c.dom.Node addconvex_hull_of(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "convex_hull_of", value.toString());
}
public org.w3c.dom.Node addconvex_hull_of(String value) throws Exception {
return addconvex_hull_of(new SchemaString(value));
}
public void insertconvex_hull_ofAt(SchemaString value, int index) {
insertDomChildAt(Attribute, null, "convex_hull_of", index, value.toString());
}
public void insertconvex_hull_ofAt(String value, int index) throws Exception {
insertconvex_hull_ofAt(new SchemaString(value), index);
}
public void replaceconvex_hull_ofAt(SchemaString value, int index) {
replaceDomChildAt(Attribute, null, "convex_hull_of", index, value.toString());
}
public void replaceconvex_hull_ofAt(String value, int index) throws Exception {
replaceconvex_hull_ofAt(new SchemaString(value), index);
}
public static int getsourceMinCount() {
return 1;
}
public static int getsourceMaxCount() {
return Integer.MAX_VALUE;
}
public int getsourceCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");
}
public boolean hassource() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source");
}
public sourceType newsource() {
return new sourceType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "source"));
}
public sourceType getsourceAt(int index) throws Exception {
return new sourceType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index));
}
public org.w3c.dom.Node getStartingsourceCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source" );
}
public org.w3c.dom.Node getAdvancedsourceCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source", curNode );
}
public sourceType getsourceValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new sourceType(curNode);
}
public sourceType getsource() throws Exception
{
return getsourceAt(0);
}
public void removesourceAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source", index);
}
public void removesource() {
while (hassource())
removesourceAt(0);
}
public org.w3c.dom.Node addsource(sourceType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "source", value);
}
public void insertsourceAt(sourceType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "source", index, value);
}
public void replacesourceAt(sourceType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "source", index, value);
}
public static int getverticesMinCount() {
return 1;
}
public static int getverticesMaxCount() {
return 1;
}
public int getverticesCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices");
}
public boolean hasvertices() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices");
}
public verticesType newvertices() {
return new verticesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "vertices"));
}
public verticesType getverticesAt(int index) throws Exception {
return new verticesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", index));
}
public org.w3c.dom.Node getStartingverticesCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices" );
}
public org.w3c.dom.Node getAdvancedverticesCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", curNode );
}
public verticesType getverticesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new verticesType(curNode);
}
public verticesType getvertices() throws Exception
{
return getverticesAt(0);
}
public void removeverticesAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "vertices", index);
}
public void removevertices() {
removeverticesAt(0);
}
public org.w3c.dom.Node addvertices(verticesType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "vertices", value);
}
public void insertverticesAt(verticesType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "vertices", index, value);
}
public void replaceverticesAt(verticesType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "vertices", index, value);
}
public static int getlinesMinCount() {
return 1;
}
public static int getlinesMaxCount() {
return 1;
}
public int getlinesCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines");
}
public boolean haslines() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines");
}
public linesType newlines() {
return new linesType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "lines"));
}
public linesType getlinesAt(int index) throws Exception {
return new linesType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", index));
}
public org.w3c.dom.Node getStartinglinesCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines" );
}
public org.w3c.dom.Node getAdvancedlinesCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", curNode );
}
public linesType getlinesValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new linesType(curNode);
}
public linesType getlines() throws Exception
{
return getlinesAt(0);
}
public void removelinesAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "lines", index);
}
public void removelines() {
removelinesAt(0);
}
public org.w3c.dom.Node addlines(linesType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "lines", value);
}
public void insertlinesAt(linesType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lines", index, value);
}
public void replacelinesAt(linesType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "lines", index, value);
}
public static int getlinestripsMinCount() {
return 1;
}
public static int getlinestripsMaxCount() {
return 1;
}
public int getlinestripsCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips");
}
public boolean haslinestrips() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips");
}
public linestripsType newlinestrips() {
return new linestripsType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "linestrips"));
}
public linestripsType getlinestripsAt(int index) throws Exception {
return new linestripsType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", index));
}
public org.w3c.dom.Node getStartinglinestripsCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips" );
}
public org.w3c.dom.Node getAdvancedlinestripsCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "linestrips", curNode );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -