- /**\r
- * \r
- * \r
- * @throws org.exolab.castor.xml.ValidationException if this\r
- * object is an invalid instance according to the schema\r
- */\r
- public void validate(\r
- )\r
- throws org.exolab.castor.xml.ValidationException {\r
- org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r
- validator.validate(this);\r
- }\r
+ /**\r
+ * Sets the value of field 'content'. The field 'content' has the following\r
+ * description: internal content storage\r
+ * \r
+ * @param content\r
+ * the value of field 'content'.\r
+ */\r
+ public void setContent(final java.lang.String content) {\r
+ this._content = content;\r
+ }\r
+\r
+ /**\r
+ * Sets the value of field 'dict'. The field 'dict' has the following\r
+ * description: specifies the symbol dictionary for this glyph - eg utf8 (the\r
+ * default), aasecstr_3 or kd_hydrophobicity - the content is not validated so\r
+ * applications must ensure they gracefully deal with invalid entries here\r
+ * \r
+ * @param dict\r
+ * the value of field 'dict'.\r
+ */\r
+ public void setDict(final java.lang.String dict) {\r
+ this._dict = dict;\r
+ }\r
+\r
+ /**\r
+ * Method unmarshal.\r
+ * \r
+ * @param reader\r
+ * @throws org.exolab.castor.xml.MarshalException\r
+ * if object is null or if any SAXException is thrown during\r
+ * marshaling\r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ * @return the unmarshaled uk.ac.vamsas.objects.core.Glyph\r
+ */\r
+ public static uk.ac.vamsas.objects.core.Glyph unmarshal(\r
+ final java.io.Reader reader)\r
+ throws org.exolab.castor.xml.MarshalException,\r
+ org.exolab.castor.xml.ValidationException {\r
+ return (uk.ac.vamsas.objects.core.Glyph) Unmarshaller.unmarshal(\r
+ uk.ac.vamsas.objects.core.Glyph.class, reader);\r
+ }\r
+\r
+ /**\r
+ * \r
+ * \r
+ * @throws org.exolab.castor.xml.ValidationException\r
+ * if this object is an invalid instance according to the schema\r
+ */\r
+ public void validate() throws org.exolab.castor.xml.ValidationException {\r
+ org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r
+ validator.validate(this);\r
+ }\r