2 * contributorType.java
\r
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.SchemaString;
\r
18 public class contributorType extends com.jmex.xml.xml.Node {
\r
20 public contributorType(contributorType node) {
\r
24 public contributorType(org.w3c.dom.Node node) {
\r
28 public contributorType(org.w3c.dom.Document doc) {
\r
32 public contributorType(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( Element, "http://www.collada.org/2005/11/COLLADASchema", "author" );
\r
39 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "author", tmpNode )
\r
41 internalAdjustPrefix(tmpNode, true);
\r
43 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool" );
\r
45 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", tmpNode )
\r
47 internalAdjustPrefix(tmpNode, true);
\r
49 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "comments" );
\r
51 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", tmpNode )
\r
53 internalAdjustPrefix(tmpNode, true);
\r
55 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright" );
\r
57 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", tmpNode )
\r
59 internalAdjustPrefix(tmpNode, true);
\r
61 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data" );
\r
63 tmpNode = getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", tmpNode )
\r
65 internalAdjustPrefix(tmpNode, true);
\r
68 public void setXsiType() {
\r
69 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
70 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "contributor");
\r
73 public static int getauthorMinCount() {
\r
77 public static int getauthorMaxCount() {
\r
81 public int getauthorCount() {
\r
82 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "author");
\r
85 public boolean hasauthor() {
\r
86 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "author");
\r
89 public SchemaString newauthor() {
\r
90 return new SchemaString();
\r
93 public SchemaString getauthorAt(int index) throws Exception {
\r
94 return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "author", index)));
\r
97 public org.w3c.dom.Node getStartingauthorCursor() throws Exception {
\r
98 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "author" );
\r
101 public org.w3c.dom.Node getAdvancedauthorCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
102 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "author", curNode );
\r
105 public SchemaString getauthorValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
106 if( curNode == null )
\r
107 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
109 return new SchemaString(getDomNodeValue(curNode));
\r
112 public SchemaString getauthor() throws Exception
\r
114 return getauthorAt(0);
\r
117 public void removeauthorAt(int index) {
\r
118 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "author", index);
\r
121 public void removeauthor() {
\r
125 public org.w3c.dom.Node addauthor(SchemaString value) {
\r
126 if( value.isNull() )
\r
129 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "author", value.toString());
\r
132 public org.w3c.dom.Node addauthor(String value) throws Exception {
\r
133 return addauthor(new SchemaString(value));
\r
136 public void insertauthorAt(SchemaString value, int index) {
\r
137 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "author", index, value.toString());
\r
140 public void insertauthorAt(String value, int index) throws Exception {
\r
141 insertauthorAt(new SchemaString(value), index);
\r
144 public void replaceauthorAt(SchemaString value, int index) {
\r
145 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "author", index, value.toString());
\r
148 public void replaceauthorAt(String value, int index) throws Exception {
\r
149 replaceauthorAt(new SchemaString(value), index);
\r
152 public static int getauthoring_toolMinCount() {
\r
156 public static int getauthoring_toolMaxCount() {
\r
160 public int getauthoring_toolCount() {
\r
161 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool");
\r
164 public boolean hasauthoring_tool() {
\r
165 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool");
\r
168 public SchemaString newauthoring_tool() {
\r
169 return new SchemaString();
\r
172 public SchemaString getauthoring_toolAt(int index) throws Exception {
\r
173 return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", index)));
\r
176 public org.w3c.dom.Node getStartingauthoring_toolCursor() throws Exception {
\r
177 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool" );
\r
180 public org.w3c.dom.Node getAdvancedauthoring_toolCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
181 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", curNode );
\r
184 public SchemaString getauthoring_toolValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
185 if( curNode == null )
\r
186 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
188 return new SchemaString(getDomNodeValue(curNode));
\r
191 public SchemaString getauthoring_tool() throws Exception
\r
193 return getauthoring_toolAt(0);
\r
196 public void removeauthoring_toolAt(int index) {
\r
197 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", index);
\r
200 public void removeauthoring_tool() {
\r
201 removeauthoring_toolAt(0);
\r
204 public org.w3c.dom.Node addauthoring_tool(SchemaString value) {
\r
205 if( value.isNull() )
\r
208 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", value.toString());
\r
211 public org.w3c.dom.Node addauthoring_tool(String value) throws Exception {
\r
212 return addauthoring_tool(new SchemaString(value));
\r
215 public void insertauthoring_toolAt(SchemaString value, int index) {
\r
216 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", index, value.toString());
\r
219 public void insertauthoring_toolAt(String value, int index) throws Exception {
\r
220 insertauthoring_toolAt(new SchemaString(value), index);
\r
223 public void replaceauthoring_toolAt(SchemaString value, int index) {
\r
224 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "authoring_tool", index, value.toString());
\r
227 public void replaceauthoring_toolAt(String value, int index) throws Exception {
\r
228 replaceauthoring_toolAt(new SchemaString(value), index);
\r
231 public static int getcommentsMinCount() {
\r
235 public static int getcommentsMaxCount() {
\r
239 public int getcommentsCount() {
\r
240 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments");
\r
243 public boolean hascomments() {
\r
244 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments");
\r
247 public SchemaString newcomments() {
\r
248 return new SchemaString();
\r
251 public SchemaString getcommentsAt(int index) throws Exception {
\r
252 return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", index)));
\r
255 public org.w3c.dom.Node getStartingcommentsCursor() throws Exception {
\r
256 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments" );
\r
259 public org.w3c.dom.Node getAdvancedcommentsCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
260 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", curNode );
\r
263 public SchemaString getcommentsValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
264 if( curNode == null )
\r
265 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
267 return new SchemaString(getDomNodeValue(curNode));
\r
270 public SchemaString getcomments() throws Exception
\r
272 return getcommentsAt(0);
\r
275 public void removecommentsAt(int index) {
\r
276 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", index);
\r
279 public void removecomments() {
\r
280 removecommentsAt(0);
\r
283 public org.w3c.dom.Node addcomments(SchemaString value) {
\r
284 if( value.isNull() )
\r
287 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", value.toString());
\r
290 public org.w3c.dom.Node addcomments(String value) throws Exception {
\r
291 return addcomments(new SchemaString(value));
\r
294 public void insertcommentsAt(SchemaString value, int index) {
\r
295 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", index, value.toString());
\r
298 public void insertcommentsAt(String value, int index) throws Exception {
\r
299 insertcommentsAt(new SchemaString(value), index);
\r
302 public void replacecommentsAt(SchemaString value, int index) {
\r
303 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "comments", index, value.toString());
\r
306 public void replacecommentsAt(String value, int index) throws Exception {
\r
307 replacecommentsAt(new SchemaString(value), index);
\r
310 public static int getcopyrightMinCount() {
\r
314 public static int getcopyrightMaxCount() {
\r
318 public int getcopyrightCount() {
\r
319 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright");
\r
322 public boolean hascopyright() {
\r
323 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright");
\r
326 public SchemaString newcopyright() {
\r
327 return new SchemaString();
\r
330 public SchemaString getcopyrightAt(int index) throws Exception {
\r
331 return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", index)));
\r
334 public org.w3c.dom.Node getStartingcopyrightCursor() throws Exception {
\r
335 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright" );
\r
338 public org.w3c.dom.Node getAdvancedcopyrightCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
339 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", curNode );
\r
342 public SchemaString getcopyrightValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
343 if( curNode == null )
\r
344 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
346 return new SchemaString(getDomNodeValue(curNode));
\r
349 public SchemaString getcopyright() throws Exception
\r
351 return getcopyrightAt(0);
\r
354 public void removecopyrightAt(int index) {
\r
355 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", index);
\r
358 public void removecopyright() {
\r
359 removecopyrightAt(0);
\r
362 public org.w3c.dom.Node addcopyright(SchemaString value) {
\r
363 if( value.isNull() )
\r
366 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", value.toString());
\r
369 public org.w3c.dom.Node addcopyright(String value) throws Exception {
\r
370 return addcopyright(new SchemaString(value));
\r
373 public void insertcopyrightAt(SchemaString value, int index) {
\r
374 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", index, value.toString());
\r
377 public void insertcopyrightAt(String value, int index) throws Exception {
\r
378 insertcopyrightAt(new SchemaString(value), index);
\r
381 public void replacecopyrightAt(SchemaString value, int index) {
\r
382 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "copyright", index, value.toString());
\r
385 public void replacecopyrightAt(String value, int index) throws Exception {
\r
386 replacecopyrightAt(new SchemaString(value), index);
\r
389 public static int getsource_dataMinCount() {
\r
393 public static int getsource_dataMaxCount() {
\r
397 public int getsource_dataCount() {
\r
398 return getDomChildCount(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data");
\r
401 public boolean hassource_data() {
\r
402 return hasDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data");
\r
405 public SchemaString newsource_data() {
\r
406 return new SchemaString();
\r
409 public SchemaString getsource_dataAt(int index) throws Exception {
\r
410 return new SchemaString(getDomNodeValue(getDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", index)));
\r
413 public org.w3c.dom.Node getStartingsource_dataCursor() throws Exception {
\r
414 return getDomFirstChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data" );
\r
417 public org.w3c.dom.Node getAdvancedsource_dataCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
418 return getDomNextChild( Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", curNode );
\r
421 public SchemaString getsource_dataValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
422 if( curNode == null )
\r
423 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
425 return new SchemaString(getDomNodeValue(curNode));
\r
428 public SchemaString getsource_data() throws Exception
\r
430 return getsource_dataAt(0);
\r
433 public void removesource_dataAt(int index) {
\r
434 removeDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", index);
\r
437 public void removesource_data() {
\r
438 removesource_dataAt(0);
\r
441 public org.w3c.dom.Node addsource_data(SchemaString value) {
\r
442 if( value.isNull() )
\r
445 return appendDomChild(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", value.toString());
\r
448 public org.w3c.dom.Node addsource_data(String value) throws Exception {
\r
449 return addsource_data(new SchemaString(value));
\r
452 public void insertsource_dataAt(SchemaString value, int index) {
\r
453 insertDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", index, value.toString());
\r
456 public void insertsource_dataAt(String value, int index) throws Exception {
\r
457 insertsource_dataAt(new SchemaString(value), index);
\r
460 public void replacesource_dataAt(SchemaString value, int index) {
\r
461 replaceDomChildAt(Element, "http://www.collada.org/2005/11/COLLADASchema", "source_data", index, value.toString());
\r
464 public void replacesource_dataAt(String value, int index) throws Exception {
\r
465 replacesource_dataAt(new SchemaString(value), index);
\r