2 * This class was automatically generated with
\r
3 * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML
\r
7 package jalview.binding;
\r
9 import org.exolab.castor.xml.MarshalException;
\r
10 import org.exolab.castor.xml.Marshaller;
\r
11 import org.exolab.castor.xml.Unmarshaller;
\r
12 import org.exolab.castor.xml.ValidationException;
\r
14 import org.xml.sax.ContentHandler;
\r
16 //---------------------------------/
\r
17 //- Imported classes and packages -/
\r
18 //---------------------------------/
\r
19 import java.io.IOException;
\r
20 import java.io.Reader;
\r
21 import java.io.Serializable;
\r
22 import java.io.Writer;
\r
26 * Class VamsasModel.
\r
28 * @version $Revision$ $Date$
\r
30 public class VamsasModel extends VAMSAS implements java.io.Serializable
\r
35 public VamsasModel()
\r
40 //-- jalview.binding.VamsasModel()
\r
46 * @return DOCUMENT ME!
\r
48 public boolean isValid()
\r
54 catch (org.exolab.castor.xml.ValidationException vex)
\r
62 //-- boolean isValid()
\r
71 public void marshal(java.io.Writer out)
\r
72 throws org.exolab.castor.xml.MarshalException,
\r
73 org.exolab.castor.xml.ValidationException
\r
75 Marshaller.marshal(this, out);
\r
78 //-- void marshal(java.io.Writer)
\r
87 public void marshal(org.xml.sax.ContentHandler handler)
\r
88 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
89 org.exolab.castor.xml.ValidationException
\r
91 Marshaller.marshal(this, handler);
\r
94 //-- void marshal(org.xml.sax.ContentHandler)
\r
104 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
105 throws org.exolab.castor.xml.MarshalException,
\r
106 org.exolab.castor.xml.ValidationException
\r
108 return (jalview.binding.VamsasModel) Unmarshaller.unmarshal(jalview.binding.VamsasModel.class,
\r
112 //-- java.lang.Object unmarshal(java.io.Reader)
\r
118 public void validate() throws org.exolab.castor.xml.ValidationException
\r
120 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
\r
121 validator.validate(this);
\r
124 //-- void validate()
\r