4 * This file was generated by XMLSpy 2007sp2 Enterprise Edition.
\r
6 * YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
\r
7 * OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
\r
9 * Refer to the XMLSpy Documentation for further details.
\r
10 * http://www.altova.com/xmlspy
\r
14 package com.jmex.model.collada.schema;
\r
16 import com.jmex.xml.types.SchemaNCName;
\r
18 public class texcoordType extends com.jmex.xml.xml.Node {
\r
20 public texcoordType(texcoordType node) {
\r
24 public texcoordType(org.w3c.dom.Node node) {
\r
28 public texcoordType(org.w3c.dom.Document doc) {
\r
32 public texcoordType(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
\r
33 super(doc, namespaceURI, prefix, name);
\r
36 public void adjustPrefix() {
\r
37 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "semantic" );
\r
39 tmpNode = getDomNextChild( Attribute, null, "semantic", tmpNode )
\r
41 internalAdjustPrefix(tmpNode, false);
\r
44 public void setXsiType() {
\r
45 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
46 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "texcoord");
\r
49 public static int getsemanticMinCount() {
\r
53 public static int getsemanticMaxCount() {
\r
57 public int getsemanticCount() {
\r
58 return getDomChildCount(Attribute, null, "semantic");
\r
61 public boolean hassemantic() {
\r
62 return hasDomChild(Attribute, null, "semantic");
\r
65 public SchemaNCName newsemantic() {
\r
66 return new SchemaNCName();
\r
69 public SchemaNCName getsemanticAt(int index) throws Exception {
\r
70 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "semantic", index)));
\r
73 public org.w3c.dom.Node getStartingsemanticCursor() throws Exception {
\r
74 return getDomFirstChild(Attribute, null, "semantic" );
\r
77 public org.w3c.dom.Node getAdvancedsemanticCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
78 return getDomNextChild( Attribute, null, "semantic", curNode );
\r
81 public SchemaNCName getsemanticValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
82 if( curNode == null )
\r
83 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
85 return new SchemaNCName(getDomNodeValue(curNode));
\r
88 public SchemaNCName getsemantic() throws Exception
\r
90 return getsemanticAt(0);
\r
93 public void removesemanticAt(int index) {
\r
94 removeDomChildAt(Attribute, null, "semantic", index);
\r
97 public void removesemantic() {
\r
98 removesemanticAt(0);
\r
101 public org.w3c.dom.Node addsemantic(SchemaNCName value) {
\r
102 if( value.isNull() )
\r
105 return appendDomChild(Attribute, null, "semantic", value.toString());
\r
108 public org.w3c.dom.Node addsemantic(String value) throws Exception {
\r
109 return addsemantic(new SchemaNCName(value));
\r
112 public void insertsemanticAt(SchemaNCName value, int index) {
\r
113 insertDomChildAt(Attribute, null, "semantic", index, value.toString());
\r
116 public void insertsemanticAt(String value, int index) throws Exception {
\r
117 insertsemanticAt(new SchemaNCName(value), index);
\r
120 public void replacesemanticAt(SchemaNCName value, int index) {
\r
121 replaceDomChildAt(Attribute, null, "semantic", index, value.toString());
\r
124 public void replacesemanticAt(String value, int index) throws Exception {
\r
125 replacesemanticAt(new SchemaNCName(value), index);
\r