X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotationElement.java;h=137d945495538c5da69bd514b8f8262abb68716a;hb=6486a5333807ca300db4a28a6bf9899f5dddf5a6;hp=576b4ade5848fe48e447ea3453d8fd101c6a641b;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/schemabinding/version2/AnnotationElement.java b/src/jalview/schemabinding/version2/AnnotationElement.java index 576b4ad..137d945 100755 --- a/src/jalview/schemabinding/version2/AnnotationElement.java +++ b/src/jalview/schemabinding/version2/AnnotationElement.java @@ -1,26 +1,25 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5) + * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * This file is part of Jalview. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along with Jalview. If not, see . */ package jalview.schemabinding.version2; -// ---------------------------------/ -// - Imported classes and packages -/ -// ---------------------------------/ +//---------------------------------/ +//- Imported classes and packages -/ +//---------------------------------/ import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; @@ -96,21 +95,21 @@ public class AnnotationElement implements java.io.Serializable // -----------/ /** - */ + */ public void deleteColour() { this._has_colour = false; } /** - */ + */ public void deletePosition() { this._has_position = false; } /** - */ + */ public void deleteValue() { this._has_value = false; @@ -228,11 +227,10 @@ public class AnnotationElement implements java.io.Serializable * * @param out * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema */ public void marshal(final java.io.Writer out) throws org.exolab.castor.xml.MarshalException, @@ -246,13 +244,12 @@ public class AnnotationElement implements java.io.Serializable * * @param handler * @throws java.io.IOException - * if an IOException occurs during marshaling + * if an IOException occurs during marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling */ public void marshal(final org.xml.sax.ContentHandler handler) throws java.io.IOException, @@ -266,7 +263,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'colour'. * * @param colour - * the value of field 'colour'. + * the value of field 'colour'. */ public void setColour(final int colour) { @@ -278,7 +275,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'description'. * * @param description - * the value of field 'description'. + * the value of field 'description'. */ public void setDescription(final java.lang.String description) { @@ -289,7 +286,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'displayCharacter'. * * @param displayCharacter - * the value of field 'displayCharacter' + * the value of field 'displayCharacter' */ public void setDisplayCharacter(final java.lang.String displayCharacter) { @@ -300,7 +297,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'position'. * * @param position - * the value of field 'position'. + * the value of field 'position'. */ public void setPosition(final int position) { @@ -312,7 +309,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'secondaryStructure'. * * @param secondaryStructure - * the value of field 'secondaryStructure'. + * the value of field 'secondaryStructure'. */ public void setSecondaryStructure( final java.lang.String secondaryStructure) @@ -324,7 +321,7 @@ public class AnnotationElement implements java.io.Serializable * Sets the value of field 'value'. * * @param value - * the value of field 'value'. + * the value of field 'value'. */ public void setValue(final float value) { @@ -337,11 +334,10 @@ public class AnnotationElement implements java.io.Serializable * * @param reader * @throws org.exolab.castor.xml.MarshalException - * if object is null or if any SAXException is thrown during - * marshaling + * if object is null or if any SAXException is thrown during + * marshaling * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema * @return the unmarshaled jalview.schemabinding.version2.AnnotationElement */ public static jalview.schemabinding.version2.AnnotationElement unmarshal( @@ -359,8 +355,7 @@ public class AnnotationElement implements java.io.Serializable * * * @throws org.exolab.castor.xml.ValidationException - * if this object is an invalid instance according to the - * schema + * if this object is an invalid instance according to the schema */ public void validate() throws org.exolab.castor.xml.ValidationException {