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.schemabinding.version2;
\r
10 //---------------------------------/
\r
11 //- Imported classes and packages -/
\r
12 //---------------------------------/
\r
14 import org.exolab.castor.xml.*;
\r
19 * @version $Revision$ $Date$
\r
21 public class OtherData
\r
22 implements java.io.Serializable
\r
25 //--------------------------/
\r
26 //- Class/Member Variables -/
\r
27 //--------------------------/
\r
32 private java.lang.String _key;
\r
37 private java.lang.String _value;
\r
46 } //-- jalview.schemabinding.version2.OtherData()
\r
53 * Returns the value of field 'key'.
\r
56 * @return the value of field 'key'.
\r
58 public java.lang.String getKey()
\r
61 } //-- java.lang.String getKey()
\r
64 * Returns the value of field 'value'.
\r
67 * @return the value of field 'value'.
\r
69 public java.lang.String getValue()
\r
72 } //-- java.lang.String getValue()
\r
81 public boolean isValid()
\r
87 catch (org.exolab.castor.xml.ValidationException vex)
\r
92 } //-- boolean isValid()
\r
101 public void marshal(java.io.Writer out)
\r
102 throws org.exolab.castor.xml.MarshalException,
\r
103 org.exolab.castor.xml.ValidationException
\r
106 Marshaller.marshal(this, out);
\r
107 } //-- void marshal(java.io.Writer)
\r
116 public void marshal(org.xml.sax.ContentHandler handler)
\r
117 throws java.io.IOException, org.exolab.castor.xml.MarshalException,
\r
118 org.exolab.castor.xml.ValidationException
\r
121 Marshaller.marshal(this, handler);
\r
122 } //-- void marshal(org.xml.sax.ContentHandler)
\r
125 * Sets the value of field 'key'.
\r
127 * @param key the value of field 'key'.
\r
129 public void setKey(java.lang.String key)
\r
132 } //-- void setKey(java.lang.String)
\r
135 * Sets the value of field 'value'.
\r
137 * @param value the value of field 'value'.
\r
139 public void setValue(java.lang.String value)
\r
141 this._value = value;
\r
142 } //-- void setValue(java.lang.String)
\r
152 public static java.lang.Object unmarshal(java.io.Reader reader)
\r
153 throws org.exolab.castor.xml.MarshalException,
\r
154 org.exolab.castor.xml.ValidationException
\r
156 return (jalview.schemabinding.version2.OtherData) Unmarshaller.unmarshal(
\r
157 jalview.schemabinding.version2.OtherData.class, reader);
\r
158 } //-- java.lang.Object unmarshal(java.io.Reader)
\r
164 public void validate()
\r
165 throws org.exolab.castor.xml.ValidationException
\r
167 org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.
\r
169 validator.validate(this);
\r
170 } //-- void validate()
\r