📄 constanttype.java
字号:
/**
* constantType.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 constantType extends com.jmex.xml.xml.Node {
public constantType(constantType node) {
super(node);
}
public constantType(org.w3c.dom.Node node) {
super(node);
}
public constantType(org.w3c.dom.Document doc) {
super(doc);
}
public constantType(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", "emission" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_color_or_texture_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_color_or_texture_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_float_or_param_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparent", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_transparent_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "transparency", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_float_or_param_type(tmpNode).adjustPrefix();
}
for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction" );
tmpNode != null;
tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "index_of_refraction", tmpNode )
) {
internalAdjustPrefix(tmpNode, true);
new common_float_or_param_type(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", "constant");
}
public static int getemissionMinCount() {
return 0;
}
public static int getemissionMaxCount() {
return 1;
}
public int getemissionCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission");
}
public boolean hasemission() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission");
}
public common_color_or_texture_type newemission() {
return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "emission"));
}
public common_color_or_texture_type getemissionAt(int index) throws Exception {
return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", index));
}
public org.w3c.dom.Node getStartingemissionCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission" );
}
public org.w3c.dom.Node getAdvancedemissionCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", curNode );
}
public common_color_or_texture_type getemissionValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new common_color_or_texture_type(curNode);
}
public common_color_or_texture_type getemission() throws Exception
{
return getemissionAt(0);
}
public void removeemissionAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "emission", index);
}
public void removeemission() {
removeemissionAt(0);
}
public org.w3c.dom.Node addemission(common_color_or_texture_type value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "emission", value);
}
public void insertemissionAt(common_color_or_texture_type value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
}
public void replaceemissionAt(common_color_or_texture_type value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "emission", index, value);
}
public static int getreflectiveMinCount() {
return 0;
}
public static int getreflectiveMaxCount() {
return 1;
}
public int getreflectiveCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective");
}
public boolean hasreflective() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective");
}
public common_color_or_texture_type newreflective() {
return new common_color_or_texture_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "reflective"));
}
public common_color_or_texture_type getreflectiveAt(int index) throws Exception {
return new common_color_or_texture_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", index));
}
public org.w3c.dom.Node getStartingreflectiveCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective" );
}
public org.w3c.dom.Node getAdvancedreflectiveCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", curNode );
}
public common_color_or_texture_type getreflectiveValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new common_color_or_texture_type(curNode);
}
public common_color_or_texture_type getreflective() throws Exception
{
return getreflectiveAt(0);
}
public void removereflectiveAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflective", index);
}
public void removereflective() {
removereflectiveAt(0);
}
public org.w3c.dom.Node addreflective(common_color_or_texture_type value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "reflective", value);
}
public void insertreflectiveAt(common_color_or_texture_type value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflective", index, value);
}
public void replacereflectiveAt(common_color_or_texture_type value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "reflective", index, value);
}
public static int getreflectivityMinCount() {
return 0;
}
public static int getreflectivityMaxCount() {
return 1;
}
public int getreflectivityCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity");
}
public boolean hasreflectivity() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity");
}
public common_float_or_param_type newreflectivity() {
return new common_float_or_param_type(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "reflectivity"));
}
public common_float_or_param_type getreflectivityAt(int index) throws Exception {
return new common_float_or_param_type(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "reflectivity", index));
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -