imagetype.java
来自「java 3d game jme 工程开发源代码」· Java 代码 · 共 870 行 · 第 1/2 页
JAVA
870 行
public boolean haswidth() {
return hasDomChild(Attribute, null, "width");
}
public uint newwidth() {
return new uint();
}
public uint getwidthAt(int index) throws Exception {
return new uint(getDomNodeValue(getDomChildAt(Attribute, null, "width", index)));
}
public org.w3c.dom.Node getStartingwidthCursor() throws Exception {
return getDomFirstChild(Attribute, null, "width" );
}
public org.w3c.dom.Node getAdvancedwidthCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "width", curNode );
}
public uint getwidthValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new uint(getDomNodeValue(curNode));
}
public uint getwidth() throws Exception
{
return getwidthAt(0);
}
public void removewidthAt(int index) {
removeDomChildAt(Attribute, null, "width", index);
}
public void removewidth() {
removewidthAt(0);
}
public org.w3c.dom.Node addwidth(uint value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "width", value.toString());
}
public org.w3c.dom.Node addwidth(String value) throws Exception {
return addwidth(new uint(value));
}
public void insertwidthAt(uint value, int index) {
insertDomChildAt(Attribute, null, "width", index, value.toString());
}
public void insertwidthAt(String value, int index) throws Exception {
insertwidthAt(new uint(value), index);
}
public void replacewidthAt(uint value, int index) {
replaceDomChildAt(Attribute, null, "width", index, value.toString());
}
public void replacewidthAt(String value, int index) throws Exception {
replacewidthAt(new uint(value), index);
}
public static int getdepthMinCount() {
return 0;
}
public static int getdepthMaxCount() {
return 1;
}
public int getdepthCount() {
return getDomChildCount(Attribute, null, "depth");
}
public boolean hasdepth() {
return hasDomChild(Attribute, null, "depth");
}
public uint newdepth() {
return new uint();
}
public uint getdepthAt(int index) throws Exception {
return new uint(getDomNodeValue(getDomChildAt(Attribute, null, "depth", index)));
}
public org.w3c.dom.Node getStartingdepthCursor() throws Exception {
return getDomFirstChild(Attribute, null, "depth" );
}
public org.w3c.dom.Node getAdvanceddepthCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Attribute, null, "depth", curNode );
}
public uint getdepthValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new uint(getDomNodeValue(curNode));
}
public uint getdepth() throws Exception
{
return getdepthAt(0);
}
public void removedepthAt(int index) {
removeDomChildAt(Attribute, null, "depth", index);
}
public void removedepth() {
removedepthAt(0);
}
public org.w3c.dom.Node adddepth(uint value) {
if( value.isNull() )
return null;
return appendDomChild(Attribute, null, "depth", value.toString());
}
public org.w3c.dom.Node adddepth(String value) throws Exception {
return adddepth(new uint(value));
}
public void insertdepthAt(uint value, int index) {
insertDomChildAt(Attribute, null, "depth", index, value.toString());
}
public void insertdepthAt(String value, int index) throws Exception {
insertdepthAt(new uint(value), index);
}
public void replacedepthAt(uint value, int index) {
replaceDomChildAt(Attribute, null, "depth", index, value.toString());
}
public void replacedepthAt(String value, int index) throws Exception {
replacedepthAt(new uint(value), index);
}
public static int getassetMinCount() {
return 0;
}
public static int getassetMaxCount() {
return 1;
}
public int getassetCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");
}
public boolean hasasset() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset");
}
public assetType newasset() {
return new assetType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "asset"));
}
public assetType getassetAt(int index) throws Exception {
return new assetType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index));
}
public org.w3c.dom.Node getStartingassetCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset" );
}
public org.w3c.dom.Node getAdvancedassetCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", curNode );
}
public assetType getassetValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new assetType(curNode);
}
public assetType getasset() throws Exception
{
return getassetAt(0);
}
public void removeassetAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "asset", index);
}
public void removeasset() {
removeassetAt(0);
}
public org.w3c.dom.Node addasset(assetType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "asset", value);
}
public void insertassetAt(assetType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);
}
public void replaceassetAt(assetType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "asset", index, value);
}
public static int getdataMinCount() {
return 1;
}
public static int getdataMaxCount() {
return 1;
}
public int getdataCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "data");
}
public boolean hasdata() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "data");
}
public ListOfHexBinary newdata() {
return new ListOfHexBinary();
}
public ListOfHexBinary getdataAt(int index) throws Exception {
return new ListOfHexBinary(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "data", index)));
}
public org.w3c.dom.Node getStartingdataCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "data" );
}
public org.w3c.dom.Node getAdvanceddataCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "data", curNode );
}
public ListOfHexBinary getdataValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new ListOfHexBinary(getDomNodeValue(curNode));
}
public ListOfHexBinary getdata() throws Exception
{
return getdataAt(0);
}
public void removedataAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "data", index);
}
public void removedata() {
removedataAt(0);
}
public org.w3c.dom.Node adddata(ListOfHexBinary value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "data", value.toString());
}
public org.w3c.dom.Node adddata(String value) throws Exception {
return adddata(new ListOfHexBinary(value));
}
public void insertdataAt(ListOfHexBinary value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "data", index, value.toString());
}
public void insertdataAt(String value, int index) throws Exception {
insertdataAt(new ListOfHexBinary(value), index);
}
public void replacedataAt(ListOfHexBinary value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "data", index, value.toString());
}
public void replacedataAt(String value, int index) throws Exception {
replacedataAt(new ListOfHexBinary(value), index);
}
public static int getinit_fromMinCount() {
return 1;
}
public static int getinit_fromMaxCount() {
return 1;
}
public int getinit_fromCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from");
}
public boolean hasinit_from() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from");
}
public SchemaString newinit_from() {
return new SchemaString();
}
public SchemaString getinit_fromAt(int index) throws Exception {
return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", index)));
}
public org.w3c.dom.Node getStartinginit_fromCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from" );
}
public org.w3c.dom.Node getAdvancedinit_fromCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", curNode );
}
public SchemaString getinit_fromValueAtCursor( 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 getinit_from() throws Exception
{
return getinit_fromAt(0);
}
public void removeinit_fromAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", index);
}
public void removeinit_from() {
removeinit_fromAt(0);
}
public org.w3c.dom.Node addinit_from(SchemaString value) {
if( value.isNull() )
return null;
return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", value.toString());
}
public org.w3c.dom.Node addinit_from(String value) throws Exception {
return addinit_from(new SchemaString(value));
}
public void insertinit_fromAt(SchemaString value, int index) {
insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", index, value.toString());
}
public void insertinit_fromAt(String value, int index) throws Exception {
insertinit_fromAt(new SchemaString(value), index);
}
public void replaceinit_fromAt(SchemaString value, int index) {
replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "init_from", index, value.toString());
}
public void replaceinit_fromAt(String value, int index) throws Exception {
replaceinit_fromAt(new SchemaString(value), index);
}
public static int getextraMinCount() {
return 0;
}
public static int getextraMaxCount() {
return Integer.MAX_VALUE;
}
public int getextraCount() {
return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
}
public boolean hasextra() {
return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra");
}
public extraType newextra() {
return new extraType(domNode.getOwnerDocument().createElementNS("http://www.collada.org/2005/11/COLLADASchema", "extra"));
}
public extraType getextraAt(int index) throws Exception {
return new extraType(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index));
}
public org.w3c.dom.Node getStartingextraCursor() throws Exception {
return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra" );
}
public org.w3c.dom.Node getAdvancedextraCursor( org.w3c.dom.Node curNode ) throws Exception {
return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", curNode );
}
public extraType getextraValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
if( curNode == null )
throw new com.jmex.xml.xml.XmlException("Out of range");
else
return new extraType(curNode);
}
public extraType getextra() throws Exception
{
return getextraAt(0);
}
public void removeextraAt(int index) {
removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "extra", index);
}
public void removeextra() {
while (hasextra())
removeextraAt(0);
}
public org.w3c.dom.Node addextra(extraType value) {
return appendDomElement("http://www.collada.org/2005/11/COLLADASchema", "extra", value);
}
public void insertextraAt(extraType value, int index) {
insertDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
}
public void replaceextraAt(extraType value, int index) {
replaceDomElementAt("http://www.collada.org/2005/11/COLLADASchema", "extra", index, value);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?