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 UserColourScheme.
\r
19 * @version $Revision$ $Date$
\r
21 public class UserColourScheme
\r
22 extends JalviewUserColours implements java.io.Serializable
\r
29 public UserColourScheme()
\r
32 } //-- jalview.binding.UserColourScheme()
\r
45 public boolean isValid()
\r
51 catch (org.exolab.castor.xml.ValidationException vex)
\r
56 } //-- boolean isValid()
\r
65 public void marshal(java.io.Writer out)
\r
66 throws org.exolab.castor.xml.MarshalException,
\r
67 org.exolab.castor.xml.ValidationException
\r
70 Marshaller.marshal(this, out);
\r
71 } //-- void marshal(java.io.Writer)
\r
80 public void marshal(org.xml.sax.ContentHandler handler)
\r
81 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
82 org.exolab.castor.xml.ValidationException
\r
85 Marshaller.marshal(this, handler);
\r
86 } //-- void marshal(org.xml.sax.ContentHandler)
\r
96 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
97 throws org.exolab.castor.xml.MarshalException,
\r
98 org.exolab.castor.xml.ValidationException
\r
100 return (jalview.binding.UserColourScheme) Unmarshaller.unmarshal(jalview.
\r
101 binding.UserColourScheme.class, reader);
\r
102 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
108 public void validate()
\r
109 throws org.exolab.castor.xml.ValidationException
\r
111 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.
\r
113 validator.validate(this);
\r
114 } //-- void validate()
\r