2 * This class was automatically generated with
3 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
8 package jalview.binding;
10 //---------------------------------/
11 //- Imported classes and packages -/
12 //---------------------------------/
14 import org.exolab.castor.xml.Marshaller;
15 import org.exolab.castor.xml.Unmarshaller;
20 * @version $Revision$ $Date$
22 public class Pdbids extends Pdbentry
23 implements java.io.Serializable
43 * @return true if this object is valid according to the schema
45 public boolean isValid(
49 } catch (org.exolab.castor.xml.ValidationException vex) {
59 * @throws org.exolab.castor.xml.MarshalException if object is
60 * null or if any SAXException is thrown during marshaling
61 * @throws org.exolab.castor.xml.ValidationException if this
62 * object is an invalid instance according to the schema
65 final java.io.Writer out)
66 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
67 Marshaller.marshal(this, out);
74 * @throws java.io.IOException if an IOException occurs during
76 * @throws org.exolab.castor.xml.ValidationException if this
77 * object is an invalid instance according to the schema
78 * @throws org.exolab.castor.xml.MarshalException if object is
79 * null or if any SAXException is thrown during marshaling
82 final org.xml.sax.ContentHandler handler)
83 throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
84 Marshaller.marshal(this, handler);
91 * @throws org.exolab.castor.xml.MarshalException if object is
92 * null or if any SAXException is thrown during marshaling
93 * @throws org.exolab.castor.xml.ValidationException if this
94 * object is an invalid instance according to the schema
95 * @return the unmarshaled jalview.binding.Pdbentry
97 public static jalview.binding.Pdbentry unmarshal(
98 final java.io.Reader reader)
99 throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException {
100 return (jalview.binding.Pdbentry) Unmarshaller.unmarshal(jalview.binding.Pdbids.class, reader);
106 * @throws org.exolab.castor.xml.ValidationException if this
107 * object is an invalid instance according to the schema
109 public void validate(
111 throws org.exolab.castor.xml.ValidationException {
112 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
113 validator.validate(this);