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 implements java.io.Serializable
41 * @return true if this object is valid according to the schema
43 public boolean isValid()
48 } catch (org.exolab.castor.xml.ValidationException vex)
59 * @throws org.exolab.castor.xml.MarshalException
60 * if object is null or if any SAXException is thrown during
62 * @throws org.exolab.castor.xml.ValidationException
63 * if this object is an invalid instance according to the schema
65 public void marshal(final java.io.Writer out)
66 throws org.exolab.castor.xml.MarshalException,
67 org.exolab.castor.xml.ValidationException
69 Marshaller.marshal(this, out);
76 * @throws java.io.IOException
77 * if an IOException occurs during marshaling
78 * @throws org.exolab.castor.xml.ValidationException
79 * if this object is an invalid instance according to the schema
80 * @throws org.exolab.castor.xml.MarshalException
81 * if object is null or if any SAXException is thrown during
84 public void marshal(final org.xml.sax.ContentHandler handler)
85 throws java.io.IOException,
86 org.exolab.castor.xml.MarshalException,
87 org.exolab.castor.xml.ValidationException
89 Marshaller.marshal(this, handler);
96 * @throws org.exolab.castor.xml.MarshalException
97 * if object is null or if any SAXException is thrown during
99 * @throws org.exolab.castor.xml.ValidationException
100 * if this object is an invalid instance according to the schema
101 * @return the unmarshaled jalview.binding.Pdbentry
103 public static jalview.binding.Pdbentry unmarshal(
104 final java.io.Reader reader)
105 throws org.exolab.castor.xml.MarshalException,
106 org.exolab.castor.xml.ValidationException
108 return (jalview.binding.Pdbentry) Unmarshaller.unmarshal(
109 jalview.binding.Pdbids.class, reader);
115 * @throws org.exolab.castor.xml.ValidationException
116 * if this object is an invalid instance according to the schema
118 public void validate() throws org.exolab.castor.xml.ValidationException
120 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();
121 validator.validate(this);