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
17 import com.jmex.xml.types.SchemaType;
\r
19 public class colorType extends com.jmex.xml.xml.Node {
\r
21 public colorType(colorType node) {
\r
25 public colorType(org.w3c.dom.Node node) {
\r
29 public colorType(org.w3c.dom.Document doc) {
\r
33 public colorType(com.jmex.xml.xml.Document doc, String namespaceURI, String prefix, String name) {
\r
34 super(doc, namespaceURI, prefix, name);
\r
38 public fx_color_common getValue() {
\r
39 return new fx_color_common(getDomNodeValue(domNode));
\r
42 public void setValue(SchemaType value) {
\r
43 setDomNodeValue(domNode, value.toString());
\r
46 public void assign(SchemaType value) {
\r
50 public void adjustPrefix() {
\r
51 for ( org.w3c.dom.Node tmpNode = getDomFirstChild( Attribute, null, "sid" );
\r
53 tmpNode = getDomNextChild( Attribute, null, "sid", tmpNode )
\r
55 internalAdjustPrefix(tmpNode, false);
\r
58 public void setXsiType() {
\r
59 org.w3c.dom.Element el = (org.w3c.dom.Element) domNode;
\r
60 el.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:type", "color");
\r
63 public static int getsidMinCount() {
\r
67 public static int getsidMaxCount() {
\r
71 public int getsidCount() {
\r
72 return getDomChildCount(Attribute, null, "sid");
\r
75 public boolean hassid() {
\r
76 return hasDomChild(Attribute, null, "sid");
\r
79 public SchemaNCName newsid() {
\r
80 return new SchemaNCName();
\r
83 public SchemaNCName getsidAt(int index) throws Exception {
\r
84 return new SchemaNCName(getDomNodeValue(getDomChildAt(Attribute, null, "sid", index)));
\r
87 public org.w3c.dom.Node getStartingsidCursor() throws Exception {
\r
88 return getDomFirstChild(Attribute, null, "sid" );
\r
91 public org.w3c.dom.Node getAdvancedsidCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
92 return getDomNextChild( Attribute, null, "sid", curNode );
\r
95 public SchemaNCName getsidValueAtCursor( org.w3c.dom.Node curNode ) throws Exception {
\r
96 if( curNode == null )
\r
97 throw new com.jmex.xml.xml.XmlException("Out of range");
\r
99 return new SchemaNCName(getDomNodeValue(curNode));
\r
102 public SchemaNCName getsid() throws Exception
\r
104 return getsidAt(0);
\r
107 public void removesidAt(int index) {
\r
108 removeDomChildAt(Attribute, null, "sid", index);
\r
111 public void removesid() {
\r
115 public org.w3c.dom.Node addsid(SchemaNCName value) {
\r
116 if( value.isNull() )
\r
119 return appendDomChild(Attribute, null, "sid", value.toString());
\r
122 public org.w3c.dom.Node addsid(String value) throws Exception {
\r
123 return addsid(new SchemaNCName(value));
\r
126 public void insertsidAt(SchemaNCName value, int index) {
\r
127 insertDomChildAt(Attribute, null, "sid", index, value.toString());
\r
130 public void insertsidAt(String value, int index) throws Exception {
\r
131 insertsidAt(new SchemaNCName(value), index);
\r
134 public void replacesidAt(SchemaNCName value, int index) {
\r
135 replaceDomChildAt(Attribute, null, "sid", index, value.toString());
\r
138 public void replacesidAt(String value, int index) throws Exception {
\r
139 replacesidAt(new SchemaNCName(value), index);
\r