not needed
authoramwaterhouse <Andrew Waterhouse>
Mon, 5 Dec 2005 13:38:08 +0000 (13:38 +0000)
committeramwaterhouse <Andrew Waterhouse>
Mon, 5 Dec 2005 13:38:08 +0000 (13:38 +0000)
src/jalview/binding/JalviewModelSequence2.java [deleted file]
src/jalview/binding/JalviewModelSequence2Item.java [deleted file]

diff --git a/src/jalview/binding/JalviewModelSequence2.java b/src/jalview/binding/JalviewModelSequence2.java
deleted file mode 100755 (executable)
index 2cfd72c..0000000
+++ /dev/null
@@ -1,319 +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
-package jalview.binding;\r
-\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
-\r
-import org.xml.sax.ContentHandler;\r
-\r
-//---------------------------------/\r
-//- Imported classes and packages -/\r
-//---------------------------------/\r
-import java.io.IOException;\r
-import java.io.Reader;\r
-import java.io.Serializable;\r
-import java.io.Writer;\r
-\r
-import java.util.Enumeration;\r
-import java.util.Vector;\r
-\r
-\r
-/**\r
- * Class JalviewModelSequence2.\r
- *\r
- * @version $Revision$ $Date$\r
- */\r
-public class JalviewModelSequence2 implements java.io.Serializable\r
-{\r
-    //--------------------------/\r
-    //- Class/Member Variables -/\r
-    //--------------------------/\r
-\r
-    /**\r
-     * Field _items\r
-     */\r
-    private java.util.Vector _items;\r
-\r
-    //----------------/\r
-    //- Constructors -/\r
-    //----------------/\r
-    public JalviewModelSequence2()\r
-    {\r
-        super();\r
-        _items = new Vector();\r
-    }\r
-\r
-    //-- jalview.binding.JalviewModelSequence2()\r
-    //-----------/\r
-\r
-    /**\r
-     * DOCUMENT ME!\r
-     *\r
-     * @param vJalviewModelSequence2Item DOCUMENT ME!\r
-     *\r
-     * @throws java.lang.IndexOutOfBoundsException DOCUMENT ME!\r
-     */\r
-    public void addJalviewModelSequence2Item(\r
-        jalview.binding.JalviewModelSequence2Item vJalviewModelSequence2Item)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        _items.addElement(vJalviewModelSequence2Item);\r
-    }\r
-\r
-    //-- void addJalviewModelSequence2Item(jalview.binding.JalviewModelSequence2Item) \r
-\r
-    /**\r
-     * Method addJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @param index\r
-     * @param vJalviewModelSequence2Item\r
-     */\r
-    public void addJalviewModelSequence2Item(int index,\r
-        jalview.binding.JalviewModelSequence2Item vJalviewModelSequence2Item)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        _items.insertElementAt(vJalviewModelSequence2Item, index);\r
-    }\r
-\r
-    //-- void addJalviewModelSequence2Item(int, jalview.binding.JalviewModelSequence2Item) \r
-\r
-    /**\r
-     * Method enumerateJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @return Enumeration\r
-     */\r
-    public java.util.Enumeration enumerateJalviewModelSequence2Item()\r
-    {\r
-        return _items.elements();\r
-    }\r
-\r
-    //-- java.util.Enumeration enumerateJalviewModelSequence2Item() \r
-\r
-    /**\r
-     * Method getJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @param index\r
-     * @return JalviewModelSequence2Item\r
-     */\r
-    public jalview.binding.JalviewModelSequence2Item getJalviewModelSequence2Item(\r
-        int index) throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        //-- check bounds for index\r
-        if ((index < 0) || (index > _items.size()))\r
-        {\r
-            throw new IndexOutOfBoundsException();\r
-        }\r
-\r
-        return (jalview.binding.JalviewModelSequence2Item) _items.elementAt(index);\r
-    }\r
-\r
-    //-- jalview.binding.JalviewModelSequence2Item getJalviewModelSequence2Item(int) \r
-\r
-    /**\r
-     * Method getJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @return JalviewModelSequence2Item\r
-     */\r
-    public jalview.binding.JalviewModelSequence2Item[] getJalviewModelSequence2Item()\r
-    {\r
-        int size = _items.size();\r
-        jalview.binding.JalviewModelSequence2Item[] mArray = new jalview.binding.JalviewModelSequence2Item[size];\r
-\r
-        for (int index = 0; index < size; index++)\r
-        {\r
-            mArray[index] = (jalview.binding.JalviewModelSequence2Item) _items.elementAt(index);\r
-        }\r
-\r
-        return mArray;\r
-    }\r
-\r
-    //-- jalview.binding.JalviewModelSequence2Item[] getJalviewModelSequence2Item() \r
-\r
-    /**\r
-     * Method getJalviewModelSequence2ItemCount\r
-     *\r
-     *\r
-     *\r
-     * @return int\r
-     */\r
-    public int getJalviewModelSequence2ItemCount()\r
-    {\r
-        return _items.size();\r
-    }\r
-\r
-    //-- int getJalviewModelSequence2ItemCount() \r
-\r
-    /**\r
-     * Method isValid\r
-     *\r
-     *\r
-     *\r
-     * @return boolean\r
-     */\r
-    public boolean isValid()\r
-    {\r
-        try\r
-        {\r
-            validate();\r
-        }\r
-        catch (org.exolab.castor.xml.ValidationException vex)\r
-        {\r
-            return false;\r
-        }\r
-\r
-        return true;\r
-    }\r
-\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, \r
-            org.exolab.castor.xml.ValidationException\r
-    {\r
-        Marshaller.marshal(this, out);\r
-    }\r
-\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, \r
-            org.exolab.castor.xml.ValidationException\r
-    {\r
-        Marshaller.marshal(this, handler);\r
-    }\r
-\r
-    //-- void marshal(org.xml.sax.ContentHandler) \r
-\r
-    /**\r
-     * Method removeAllJalviewModelSequence2Item\r
-     *\r
-     */\r
-    public void removeAllJalviewModelSequence2Item()\r
-    {\r
-        _items.removeAllElements();\r
-    }\r
-\r
-    //-- void removeAllJalviewModelSequence2Item() \r
-\r
-    /**\r
-     * Method removeJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @param index\r
-     * @return JalviewModelSequence2Item\r
-     */\r
-    public jalview.binding.JalviewModelSequence2Item removeJalviewModelSequence2Item(\r
-        int index)\r
-    {\r
-        java.lang.Object obj = _items.elementAt(index);\r
-        _items.removeElementAt(index);\r
-\r
-        return (jalview.binding.JalviewModelSequence2Item) obj;\r
-    }\r
-\r
-    //-- jalview.binding.JalviewModelSequence2Item removeJalviewModelSequence2Item(int) \r
-\r
-    /**\r
-     * Method setJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @param index\r
-     * @param vJalviewModelSequence2Item\r
-     */\r
-    public void setJalviewModelSequence2Item(int index,\r
-        jalview.binding.JalviewModelSequence2Item vJalviewModelSequence2Item)\r
-        throws java.lang.IndexOutOfBoundsException\r
-    {\r
-        //-- check bounds for index\r
-        if ((index < 0) || (index > _items.size()))\r
-        {\r
-            throw new IndexOutOfBoundsException();\r
-        }\r
-\r
-        _items.setElementAt(vJalviewModelSequence2Item, index);\r
-    }\r
-\r
-    //-- void setJalviewModelSequence2Item(int, jalview.binding.JalviewModelSequence2Item) \r
-\r
-    /**\r
-     * Method setJalviewModelSequence2Item\r
-     *\r
-     *\r
-     *\r
-     * @param jalviewModelSequence2ItemArray\r
-     */\r
-    public void setJalviewModelSequence2Item(\r
-        jalview.binding.JalviewModelSequence2Item[] jalviewModelSequence2ItemArray)\r
-    {\r
-        //-- copy array\r
-        _items.removeAllElements();\r
-\r
-        for (int i = 0; i < jalviewModelSequence2ItemArray.length; i++)\r
-        {\r
-            _items.addElement(jalviewModelSequence2ItemArray[i]);\r
-        }\r
-    }\r
-\r
-    //-- void setJalviewModelSequence2Item(jalview.binding.JalviewModelSequence2Item) \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, \r
-            org.exolab.castor.xml.ValidationException\r
-    {\r
-        return (jalview.binding.JalviewModelSequence2) Unmarshaller.unmarshal(jalview.binding.JalviewModelSequence2.class,\r
-            reader);\r
-    }\r
-\r
-    //-- java.lang.Object unmarshal(java.io.Reader) \r
-\r
-    /**\r
-     * Method validate\r
-     *\r
-     */\r
-    public void validate() 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
-    }\r
-\r
-    //-- void validate() \r
-}\r
diff --git a/src/jalview/binding/JalviewModelSequence2Item.java b/src/jalview/binding/JalviewModelSequence2Item.java
deleted file mode 100755 (executable)
index 6e54565..0000000
+++ /dev/null
@@ -1,206 +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.util.*;\r
-\r
-/**\r
- * Class JalviewModelSequence2Item.\r
- *\r
- * @version $Revision$ $Date$\r
- */\r
-public class JalviewModelSequence2Item\r
-    implements java.io.Serializable\r
-{\r
-\r
-  //--------------------------/\r
-  //- Class/Member Variables -/\r
-  //--------------------------/\r
-\r
-  /**\r
-   * Field _userColourSchemeList\r
-   */\r
-  private java.util.Vector _userColourSchemeList;\r
-\r
-  //----------------/\r
-  //- Constructors -/\r
-  //----------------/\r
-\r
-  public JalviewModelSequence2Item()\r
-  {\r
-    super();\r
-    _userColourSchemeList = new Vector();\r
-  } //-- jalview.binding.JalviewModelSequence2Item()\r
-\r
-  //-----------/\r
-  //- Methods -/\r
-  //-----------/\r
-\r
-  /**\r
-   * Method addUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param vUserColourScheme\r
-   */\r
-  public void addUserColourScheme(jalview.binding.UserColourScheme\r
-                                  vUserColourScheme)\r
-      throws java.lang.IndexOutOfBoundsException\r
-  {\r
-    _userColourSchemeList.addElement(vUserColourScheme);\r
-  } //-- void addUserColourScheme(jalview.binding.UserColourScheme)\r
-\r
-  /**\r
-   * Method addUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param index\r
-   * @param vUserColourScheme\r
-   */\r
-  public void addUserColourScheme(int index,\r
-                                  jalview.binding.UserColourScheme\r
-                                  vUserColourScheme)\r
-      throws java.lang.IndexOutOfBoundsException\r
-  {\r
-    _userColourSchemeList.insertElementAt(vUserColourScheme, index);\r
-  } //-- void addUserColourScheme(int, jalview.binding.UserColourScheme)\r
-\r
-  /**\r
-   * Method enumerateUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @return Enumeration\r
-   */\r
-  public java.util.Enumeration enumerateUserColourScheme()\r
-  {\r
-    return _userColourSchemeList.elements();\r
-  } //-- java.util.Enumeration enumerateUserColourScheme()\r
-\r
-  /**\r
-   * Method getUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param index\r
-   * @return UserColourScheme\r
-   */\r
-  public jalview.binding.UserColourScheme getUserColourScheme(int index)\r
-      throws java.lang.IndexOutOfBoundsException\r
-  {\r
-    //-- check bounds for index\r
-    if ( (index < 0) || (index > _userColourSchemeList.size()))\r
-    {\r
-      throw new IndexOutOfBoundsException();\r
-    }\r
-\r
-    return (jalview.binding.UserColourScheme) _userColourSchemeList.elementAt(\r
-        index);\r
-  } //-- jalview.binding.UserColourScheme getUserColourScheme(int)\r
-\r
-  /**\r
-   * Method getUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @return UserColourScheme\r
-   */\r
-  public jalview.binding.UserColourScheme[] getUserColourScheme()\r
-  {\r
-    int size = _userColourSchemeList.size();\r
-    jalview.binding.UserColourScheme[] mArray = new jalview.binding.\r
-        UserColourScheme[size];\r
-    for (int index = 0; index < size; index++)\r
-    {\r
-      mArray[index] = (jalview.binding.UserColourScheme) _userColourSchemeList.\r
-          elementAt(index);\r
-    }\r
-    return mArray;\r
-  } //-- jalview.binding.UserColourScheme[] getUserColourScheme()\r
-\r
-  /**\r
-   * Method getUserColourSchemeCount\r
-   *\r
-   *\r
-   *\r
-   * @return int\r
-   */\r
-  public int getUserColourSchemeCount()\r
-  {\r
-    return _userColourSchemeList.size();\r
-  } //-- int getUserColourSchemeCount()\r
-\r
-  /**\r
-   * Method removeAllUserColourScheme\r
-   *\r
-   */\r
-  public void removeAllUserColourScheme()\r
-  {\r
-    _userColourSchemeList.removeAllElements();\r
-  } //-- void removeAllUserColourScheme()\r
-\r
-  /**\r
-   * Method removeUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param index\r
-   * @return UserColourScheme\r
-   */\r
-  public jalview.binding.UserColourScheme removeUserColourScheme(int index)\r
-  {\r
-    java.lang.Object obj = _userColourSchemeList.elementAt(index);\r
-    _userColourSchemeList.removeElementAt(index);\r
-    return (jalview.binding.UserColourScheme) obj;\r
-  } //-- jalview.binding.UserColourScheme removeUserColourScheme(int)\r
-\r
-  /**\r
-   * Method setUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param index\r
-   * @param vUserColourScheme\r
-   */\r
-  public void setUserColourScheme(int index,\r
-                                  jalview.binding.UserColourScheme\r
-                                  vUserColourScheme)\r
-      throws java.lang.IndexOutOfBoundsException\r
-  {\r
-    //-- check bounds for index\r
-    if ( (index < 0) || (index > _userColourSchemeList.size()))\r
-    {\r
-      throw new IndexOutOfBoundsException();\r
-    }\r
-    _userColourSchemeList.setElementAt(vUserColourScheme, index);\r
-  } //-- void setUserColourScheme(int, jalview.binding.UserColourScheme)\r
-\r
-  /**\r
-   * Method setUserColourScheme\r
-   *\r
-   *\r
-   *\r
-   * @param userColourSchemeArray\r
-   */\r
-  public void setUserColourScheme(jalview.binding.UserColourScheme[]\r
-                                  userColourSchemeArray)\r
-  {\r
-    //-- copy array\r
-    _userColourSchemeList.removeAllElements();\r
-    for (int i = 0; i < userColourSchemeArray.length; i++)\r
-    {\r
-      _userColourSchemeList.addElement(userColourSchemeArray[i]);\r
-    }\r
-  } //-- void setUserColourScheme(jalview.binding.UserColourScheme)\r
-\r
-}\r