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 java.io.IOException;
\r
15 import java.io.Reader;
\r
16 import java.io.Serializable;
\r
17 import java.io.Writer;
\r
18 import org.exolab.castor.xml.MarshalException;
\r
19 import org.exolab.castor.xml.Marshaller;
\r
20 import org.exolab.castor.xml.Unmarshaller;
\r
21 import org.exolab.castor.xml.ValidationException;
\r
22 import org.xml.sax.ContentHandler;
\r
25 * Class VamsasModel.
\r
27 * @version $Revision$ $Date$
\r
29 public class VamsasModel extends VAMSAS
\r
30 implements java.io.Serializable
\r
38 public VamsasModel() {
\r
40 } //-- jalview.binding.VamsasModel()
\r
54 public boolean isValid()
\r
59 catch (org.exolab.castor.xml.ValidationException vex) {
\r
63 } //-- boolean isValid()
\r
72 public void marshal(java.io.Writer out)
\r
73 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
76 Marshaller.marshal(this, out);
\r
77 } //-- void marshal(java.io.Writer)
\r
86 public void marshal(org.xml.sax.ContentHandler handler)
\r
87 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
90 Marshaller.marshal(this, handler);
\r
91 } //-- void marshal(org.xml.sax.ContentHandler)
\r
101 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
102 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
\r
104 return (jalview.binding.VamsasModel) Unmarshaller.unmarshal(jalview.binding.VamsasModel.class, reader);
\r
105 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
111 public void validate()
\r
112 throws org.exolab.castor.xml.ValidationException
\r
114 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
115 validator.validate(this);
\r
116 } //-- void validate()
\r