XML schema changes
[jalview.git] / src / jalview / binding / JalviewState.java
diff --git a/src/jalview/binding/JalviewState.java b/src/jalview/binding/JalviewState.java
deleted file mode 100755 (executable)
index ad9d1b3..0000000
+++ /dev/null
@@ -1,301 +0,0 @@
-/*\r
- * This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 0.9.6</a>, using an XML\r
- * Schema.\r
- * $Id$\r
- */\r
-\r
-package jalview.binding;\r
-\r
-  //---------------------------------/\r
- //- Imported classes and packages -/\r
-//---------------------------------/\r
-\r
-import java.io.IOException;\r
-import java.io.Reader;\r
-import java.io.Serializable;\r
-import java.io.Writer;\r
-import java.util.Date;\r
-import java.util.Enumeration;\r
-import java.util.Vector;\r
-import org.exolab.castor.xml.MarshalException;\r
-import org.exolab.castor.xml.Marshaller;\r
-import org.exolab.castor.xml.Unmarshaller;\r
-import org.exolab.castor.xml.ValidationException;\r
-import org.xml.sax.ContentHandler;\r
-\r
-/**\r
- * Class JalviewState.\r
- * \r
- * @version $Revision$ $Date$\r
- */\r
-public class JalviewState implements java.io.Serializable {\r
-\r
-\r
-      //--------------------------/\r
-     //- Class/Member Variables -/\r
-    //--------------------------/\r
-\r
-    /**\r
-     * Field _creationDate\r
-     */\r
-    private java.util.Date _creationDate;\r
-\r
-    /**\r
-     * Field _fileList\r
-     */\r
-    private java.util.Vector _fileList;\r
-\r
-\r
-      //----------------/\r
-     //- Constructors -/\r
-    //----------------/\r
-\r
-    public JalviewState() {\r
-        super();\r
-        _fileList = new Vector();\r
-    } //-- jalview.binding.JalviewState()\r
-\r
-\r
-      //-----------/\r
-     //- Methods -/\r
-    //-----------/\r
-\r
-    /**\r
-     * Method addFile\r
-     * \r
-     * \r
-     * \r
-     * @param vFile\r
-     */\r
-    public void addFile(java.lang.String vFile)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        _fileList.addElement(vFile);\r
-    } //-- void addFile(java.lang.String) \r
-\r
-    /**\r
-     * Method addFile\r
-     * \r
-     * \r
-     * \r
-     * @param index\r
-     * @param vFile\r
-     */\r
-    public void addFile(int index, java.lang.String vFile)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        _fileList.insertElementAt(vFile, index);\r
-    } //-- void addFile(int, java.lang.String) \r
-\r
-    /**\r
-     * Method enumerateFile\r
-     * \r
-     * \r
-     * \r
-     * @return Enumeration\r
-     */\r
-    public java.util.Enumeration enumerateFile()\r
-    {\r
-        return _fileList.elements();\r
-    } //-- java.util.Enumeration enumerateFile() \r
-\r
-    /**\r
-     * Returns the value of field 'creationDate'.\r
-     * \r
-     * @return Date\r
-     * @return the value of field 'creationDate'.\r
-     */\r
-    public java.util.Date getCreationDate()\r
-    {\r
-        return this._creationDate;\r
-    } //-- java.util.Date getCreationDate() \r
-\r
-    /**\r
-     * Method getFile\r
-     * \r
-     * \r
-     * \r
-     * @param index\r
-     * @return String\r
-     */\r
-    public java.lang.String getFile(int index)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        //-- check bounds for index\r
-        if ((index < 0) || (index > _fileList.size())) {\r
-            throw new IndexOutOfBoundsException();\r
-        }\r
-        \r
-        return (String)_fileList.elementAt(index);\r
-    } //-- java.lang.String getFile(int) \r
-\r
-    /**\r
-     * Method getFile\r
-     * \r
-     * \r
-     * \r
-     * @return String\r
-     */\r
-    public java.lang.String[] getFile()\r
-    {\r
-        int size = _fileList.size();\r
-        java.lang.String[] mArray = new java.lang.String[size];\r
-        for (int index = 0; index < size; index++) {\r
-            mArray[index] = (String)_fileList.elementAt(index);\r
-        }\r
-        return mArray;\r
-    } //-- java.lang.String[] getFile() \r
-\r
-    /**\r
-     * Method getFileCount\r
-     * \r
-     * \r
-     * \r
-     * @return int\r
-     */\r
-    public int getFileCount()\r
-    {\r
-        return _fileList.size();\r
-    } //-- int getFileCount() \r
-\r
-    /**\r
-     * Method isValid\r
-     * \r
-     * \r
-     * \r
-     * @return boolean\r
-     */\r
-    public boolean isValid()\r
-    {\r
-        try {\r
-            validate();\r
-        }\r
-        catch (org.exolab.castor.xml.ValidationException vex) {\r
-            return false;\r
-        }\r
-        return true;\r
-    } //-- boolean isValid() \r
-\r
-    /**\r
-     * Method marshal\r
-     * \r
-     * \r
-     * \r
-     * @param out\r
-     */\r
-    public void marshal(java.io.Writer out)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        \r
-        Marshaller.marshal(this, out);\r
-    } //-- void marshal(java.io.Writer) \r
-\r
-    /**\r
-     * Method marshal\r
-     * \r
-     * \r
-     * \r
-     * @param handler\r
-     */\r
-    public void marshal(org.xml.sax.ContentHandler handler)\r
-        throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        \r
-        Marshaller.marshal(this, handler);\r
-    } //-- void marshal(org.xml.sax.ContentHandler) \r
-\r
-    /**\r
-     * Method removeAllFile\r
-     * \r
-     */\r
-    public void removeAllFile()\r
-    {\r
-        _fileList.removeAllElements();\r
-    } //-- void removeAllFile() \r
-\r
-    /**\r
-     * Method removeFile\r
-     * \r
-     * \r
-     * \r
-     * @param index\r
-     * @return String\r
-     */\r
-    public java.lang.String removeFile(int index)\r
-    {\r
-        java.lang.Object obj = _fileList.elementAt(index);\r
-        _fileList.removeElementAt(index);\r
-        return (String)obj;\r
-    } //-- java.lang.String removeFile(int) \r
-\r
-    /**\r
-     * Sets the value of field 'creationDate'.\r
-     * \r
-     * @param creationDate the value of field 'creationDate'.\r
-     */\r
-    public void setCreationDate(java.util.Date creationDate)\r
-    {\r
-        this._creationDate = creationDate;\r
-    } //-- void setCreationDate(java.util.Date) \r
-\r
-    /**\r
-     * Method setFile\r
-     * \r
-     * \r
-     * \r
-     * @param index\r
-     * @param vFile\r
-     */\r
-    public void setFile(int index, java.lang.String vFile)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        //-- check bounds for index\r
-        if ((index < 0) || (index > _fileList.size())) {\r
-            throw new IndexOutOfBoundsException();\r
-        }\r
-        _fileList.setElementAt(vFile, index);\r
-    } //-- void setFile(int, java.lang.String) \r
-\r
-    /**\r
-     * Method setFile\r
-     * \r
-     * \r
-     * \r
-     * @param fileArray\r
-     */\r
-    public void setFile(java.lang.String[] fileArray)\r
-    {\r
-        //-- copy array\r
-        _fileList.removeAllElements();\r
-        for (int i = 0; i < fileArray.length; i++) {\r
-            _fileList.addElement(fileArray[i]);\r
-        }\r
-    } //-- void setFile(java.lang.String) \r
-\r
-    /**\r
-     * Method unmarshal\r
-     * \r
-     * \r
-     * \r
-     * @param reader\r
-     * @return Object\r
-     */\r
-    public static java.lang.Object unmarshal(java.io.Reader reader)\r
-        throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException\r
-    {\r
-        return (jalview.binding.JalviewState) Unmarshaller.unmarshal(jalview.binding.JalviewState.class, reader);\r
-    } //-- java.lang.Object unmarshal(java.io.Reader) \r
-\r
-    /**\r
-     * Method validate\r
-     * \r
-     */\r
-    public void validate()\r
-        throws org.exolab.castor.xml.ValidationException\r
-    {\r
-        org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator();\r
-        validator.validate(this);\r
-    } //-- void validate() \r
-\r
-}\r