From 8393c3ca97f38340d359af04cb418917441425e3 Mon Sep 17 00:00:00 2001 From: jprocter Date: Thu, 24 May 2007 15:19:17 +0000 Subject: [PATCH] castor-1.1 compatible classes from ant task --- src/jalview/binding/JalviewUserColoursItem.java | 68 -------- src/jalview/binding/Residue.java | 199 ---------------------- src/jalview/binding/UserColour.java | 200 ----------------------- 3 files changed, 467 deletions(-) delete mode 100755 src/jalview/binding/JalviewUserColoursItem.java delete mode 100755 src/jalview/binding/Residue.java delete mode 100755 src/jalview/binding/UserColour.java diff --git a/src/jalview/binding/JalviewUserColoursItem.java b/src/jalview/binding/JalviewUserColoursItem.java deleted file mode 100755 index 9c88831..0000000 --- a/src/jalview/binding/JalviewUserColoursItem.java +++ /dev/null @@ -1,68 +0,0 @@ -/* - * This class was automatically generated with - * Castor 0.9.6, using an XML - * Schema. - * $Id$ - */ -package jalview.binding; - -import org.exolab.castor.xml.Marshaller; -import org.exolab.castor.xml.Unmarshaller; - -//---------------------------------/ -//- Imported classes and packages -/ -//---------------------------------/ -import java.io.Serializable; - - -/** - * Class JalviewUserColoursItem. - * - * @version $Revision$ $Date$ - */ -public class JalviewUserColoursItem implements java.io.Serializable -{ - //--------------------------/ - //- Class/Member Variables -/ - //--------------------------/ - - /** - * Field _colour - */ - private jalview.binding.Colour _colour; - - //----------------/ - //- Constructors -/ - //----------------/ - public JalviewUserColoursItem() - { - super(); - } - - //-- jalview.binding.JalviewUserColoursItem() - //-----------/ - - /** - * DOCUMENT ME! - * - * @return DOCUMENT ME! - */ - public jalview.binding.Colour getColour() - { - return this._colour; - } - - //-- jalview.binding.Colour getColour() - - /** - * Sets the value of field 'colour'. - * - * @param colour the value of field 'colour'. - */ - public void setColour(jalview.binding.Colour colour) - { - this._colour = colour; - } - - //-- void setColour(jalview.binding.Colour) -} diff --git a/src/jalview/binding/Residue.java b/src/jalview/binding/Residue.java deleted file mode 100755 index 2588f38..0000000 --- a/src/jalview/binding/Residue.java +++ /dev/null @@ -1,199 +0,0 @@ -/* - * This class was automatically generated with - * Castor 0.9.6, using an XML - * Schema. - * $Id$ - */ - -package jalview.binding; - -//---------------------------------/ -//- Imported classes and packages -/ -//---------------------------------/ - -import org.exolab.castor.xml.*; - -/** - * Class Residue. - * - * @version $Revision$ $Date$ - */ -public class Residue - implements java.io.Serializable -{ - - //--------------------------/ - //- Class/Member Variables -/ - //--------------------------/ - - /** - * Field _name - */ - private java.lang.String _name; - - /** - * Field _RGB - */ - private int _RGB; - - /** - * keeps track of state for field: _RGB - */ - private boolean _has_RGB; - - //----------------/ - //- Constructors -/ - //----------------/ - - public Residue() - { - super(); - } //-- jalview.binding.Residue() - - //-----------/ - //- Methods -/ - //-----------/ - - /** - * Method deleteRGB - * - */ - public void deleteRGB() - { - this._has_RGB = false; - } //-- void deleteRGB() - - /** - * Returns the value of field 'name'. - * - * @return String - * @return the value of field 'name'. - */ - public java.lang.String getName() - { - return this._name; - } //-- java.lang.String getName() - - /** - * Returns the value of field 'RGB'. - * - * @return int - * @return the value of field 'RGB'. - */ - public int getRGB() - { - return this._RGB; - } //-- int getRGB() - - /** - * Method hasRGB - * - * - * - * @return boolean - */ - public boolean hasRGB() - { - return this._has_RGB; - } //-- boolean hasRGB() - - /** - * Method isValid - * - * - * - * @return boolean - */ - public boolean isValid() - { - try - { - validate(); - } - catch (org.exolab.castor.xml.ValidationException vex) - { - return false; - } - return true; - } //-- boolean isValid() - - /** - * Method marshal - * - * - * - * @param out - */ - public void marshal(java.io.Writer out) - throws org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - - Marshaller.marshal(this, out); - } //-- void marshal(java.io.Writer) - - /** - * Method marshal - * - * - * - * @param handler - */ - public void marshal(org.xml.sax.ContentHandler handler) - throws java.io.IOException, org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - - Marshaller.marshal(this, handler); - } //-- void marshal(org.xml.sax.ContentHandler) - - /** - * Sets the value of field 'name'. - * - * @param name the value of field 'name'. - */ - public void setName(java.lang.String name) - { - this._name = name; - } //-- void setName(java.lang.String) - - /** - * Sets the value of field 'RGB'. - * - * @param RGB the value of field 'RGB'. - */ - public void setRGB(int RGB) - { - this._RGB = RGB; - this._has_RGB = true; - } //-- void setRGB(int) - - /** - * Method unmarshal - * - * - * - * @param reader - * @return Object - */ - public static java.lang.Object unmarshal(java.io.Reader reader) - throws org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - return (jalview.binding.Residue) Unmarshaller.unmarshal(jalview.binding. - Residue.class, reader); - } //-- java.lang.Object unmarshal(java.io.Reader) - - /** - * Method validate - * - */ - public void validate() - throws org.exolab.castor.xml.ValidationException - { - org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml. - Validator(); - validator.validate(this); - } //-- void validate() - -} diff --git a/src/jalview/binding/UserColour.java b/src/jalview/binding/UserColour.java deleted file mode 100755 index 1d27451..0000000 --- a/src/jalview/binding/UserColour.java +++ /dev/null @@ -1,200 +0,0 @@ -/* - * This class was automatically generated with - * Castor 0.9.6, using an XML - * Schema. - * $Id$ - */ - -package jalview.binding; - -//---------------------------------/ -//- Imported classes and packages -/ -//---------------------------------/ - -import org.exolab.castor.xml.*; - -/** - * Class UserColour. - * - * @version $Revision$ $Date$ - */ -public class UserColour - implements java.io.Serializable -{ - - //--------------------------/ - //- Class/Member Variables -/ - //--------------------------/ - - /** - * Field _id - */ - private int _id; - - /** - * keeps track of state for field: _id - */ - private boolean _has_id; - - /** - * Field _userColourScheme - */ - private jalview.binding.UserColourScheme _userColourScheme; - - //----------------/ - //- Constructors -/ - //----------------/ - - public UserColour() - { - super(); - } //-- jalview.binding.UserColour() - - //-----------/ - //- Methods -/ - //-----------/ - - /** - * Method deleteId - * - */ - public void deleteId() - { - this._has_id = false; - } //-- void deleteId() - - /** - * Returns the value of field 'id'. - * - * @return int - * @return the value of field 'id'. - */ - public int getId() - { - return this._id; - } //-- int getId() - - /** - * Returns the value of field 'userColourScheme'. - * - * @return UserColourScheme - * @return the value of field 'userColourScheme'. - */ - public jalview.binding.UserColourScheme getUserColourScheme() - { - return this._userColourScheme; - } //-- jalview.binding.UserColourScheme getUserColourScheme() - - /** - * Method hasId - * - * - * - * @return boolean - */ - public boolean hasId() - { - return this._has_id; - } //-- boolean hasId() - - /** - * Method isValid - * - * - * - * @return boolean - */ - public boolean isValid() - { - try - { - validate(); - } - catch (org.exolab.castor.xml.ValidationException vex) - { - return false; - } - return true; - } //-- boolean isValid() - - /** - * Method marshal - * - * - * - * @param out - */ - public void marshal(java.io.Writer out) - throws org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - - Marshaller.marshal(this, out); - } //-- void marshal(java.io.Writer) - - /** - * Method marshal - * - * - * - * @param handler - */ - public void marshal(org.xml.sax.ContentHandler handler) - throws java.io.IOException, org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - - Marshaller.marshal(this, handler); - } //-- void marshal(org.xml.sax.ContentHandler) - - /** - * Sets the value of field 'id'. - * - * @param id the value of field 'id'. - */ - public void setId(int id) - { - this._id = id; - this._has_id = true; - } //-- void setId(int) - - /** - * Sets the value of field 'userColourScheme'. - * - * @param userColourScheme the value of field 'userColourScheme' - */ - public void setUserColourScheme(jalview.binding.UserColourScheme - userColourScheme) - { - this._userColourScheme = userColourScheme; - } //-- void setUserColourScheme(jalview.binding.UserColourScheme) - - /** - * Method unmarshal - * - * - * - * @param reader - * @return Object - */ - public static java.lang.Object unmarshal(java.io.Reader reader) - throws org.exolab.castor.xml.MarshalException, - org.exolab.castor.xml.ValidationException - { - return (jalview.binding.UserColour) Unmarshaller.unmarshal(jalview.binding. - UserColour.class, reader); - } //-- java.lang.Object unmarshal(java.io.Reader) - - /** - * Method validate - * - */ - public void validate() - throws org.exolab.castor.xml.ValidationException - { - org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml. - Validator(); - validator.validate(this); - } //-- void validate() - -} -- 1.7.10.2