📄 paramtype5.java
字号:
/**
* paramType5.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 paramType5 extends com.jmex.xml.xml.Node {
public paramType5(paramType5 node) {
super(node);
}
public paramType5(org.w3c.dom.Node node) {
super(node);
}
public paramType5(org.w3c.dom.Document doc) {
super(doc);
}
public paramType5(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, "ref" );
tmpNode != null;
tmpNode = getDomNextChild( Attribute, null, "ref", tmpNode )
) {
internalAdjustPrefix(tmpNode, false);
}
}
public void setXsiType() {
org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "param");
}
public static int getrefMinCount() {
return 1;
}
public static int getrefMaxCount() {
return 1;
}
public int getrefCount() {
return getDomChildCount(Attribute, null, "ref");
}
public boolean hasref() {
return hasDomChild(Attribute, null, "ref");
}
public SchemaString newref() {
return new SchemaString();
}
public SchemaString getrefAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Attribute, null, "ref", index)));
}
public org.w3c.dom.Node getStartingrefCursor() throws Exception {
return getDomFirstChild(Attribute, null, "ref" );
}
public org.w3c.dom.Node getAdvancedrefCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "ref", curNode );
}
public SchemaString getrefValueAtCursor( 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 getref() throws Exception
{
return getrefAt(0);
}
public void removerefAt(int index) {
removeDomChildAt(Attribute, null, "ref", index);
}
public void removeref() {
removerefAt(0);
}
public org.w3c.dom.Node addref(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "ref", value.toString());
}
public org.w3c.dom.Node addref(String value) throws Exception {
return addref(new SchemaString(value));
}
public void insertrefAt(SchemaString value, int index) {
insertDomChildAt(Attribute, null, "ref", index, value.toString());
}
public void insertrefAt(String value, int index) throws Exception {
insertrefAt(new SchemaString(value), index);
}
public void replacerefAt(SchemaString value, int index) {
replaceDomChildAt(Attribute, null, "ref", index, value.toString());
}
public void replacerefAt(String value, int index) throws Exception {
replacerefAt(new SchemaString(value), index);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -