2 * This class was automatically generated with
\r
3 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
8 package jalview.binding;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
14 import org.exolab.castor.xml.*;
\r
17 * Class UserColours.
\r
19 * @version $Revision$ $Date$
\r
21 public class UserColours
\r
22 implements java.io.Serializable
\r
25 //--------------------------/
\r
26 //- Class/Member Variables -/
\r
27 //--------------------------/
\r
32 private java.lang.String _id;
\r
35 * Field _userColourScheme
\r
37 private jalview.binding.UserColourScheme _userColourScheme;
\r
43 public UserColours()
\r
46 } //-- jalview.binding.UserColours()
\r
53 * Returns the value of field 'id'.
\r
56 * @return the value of field 'id'.
\r
58 public java.lang.String getId()
\r
61 } //-- java.lang.String getId()
\r
64 * Returns the value of field 'userColourScheme'.
\r
66 * @return UserColourScheme
\r
67 * @return the value of field 'userColourScheme'.
\r
69 public jalview.binding.UserColourScheme getUserColourScheme()
\r
71 return this._userColourScheme;
\r
72 } //-- jalview.binding.UserColourScheme getUserColourScheme()
\r
81 public boolean isValid()
\r
87 catch (org.exolab.castor.xml.ValidationException vex)
\r
92 } //-- boolean isValid()
\r
101 public void marshal(java.io.Writer out)
\r
102 throws org.exolab.castor.xml.MarshalException,
\r
103 org.exolab.castor.xml.ValidationException
\r
106 Marshaller.marshal(this, out);
\r
107 } //-- void marshal(java.io.Writer)
\r
116 public void marshal(org.xml.sax.ContentHandler handler)
\r
117 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
118 org.exolab.castor.xml.ValidationException
\r
121 Marshaller.marshal(this, handler);
\r
122 } //-- void marshal(org.xml.sax.ContentHandler)
\r
125 * Sets the value of field 'id'.
\r
127 * @param id the value of field 'id'.
\r
129 public void setId(java.lang.String id)
\r
132 } //-- void setId(java.lang.String)
\r
135 * Sets the value of field 'userColourScheme'.
\r
137 * @param userColourScheme the value of field 'userColourScheme'
\r
139 public void setUserColourScheme(jalview.binding.UserColourScheme
\r
142 this._userColourScheme = userColourScheme;
\r
143 } //-- void setUserColourScheme(jalview.binding.UserColourScheme)
\r
153 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
154 throws org.exolab.castor.xml.MarshalException,
\r
155 org.exolab.castor.xml.ValidationException
\r
157 return (jalview.binding.UserColours) Unmarshaller.unmarshal(jalview.binding.
\r
158 UserColours.class, reader);
\r
159 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
165 public void validate()
\r
166 throws org.exolab.castor.xml.ValidationException
\r
168 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.
\r
170 validator.validate(this);
\r
171 } //-- void validate()
\r