/*\r
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.1)\r
- * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6.1)\r
+ * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle\r
* \r
- * This program is free software; you can redistribute it and/or\r
- * modify it under the terms of the GNU General Public License\r
- * as published by the Free Software Foundation; either version 2\r
- * of the License, or (at your option) any later version.\r
+ * This file is part of Jalview.\r
* \r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
+ * Jalview is free software: you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License \r
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\r
* \r
- * You should have received a copy of the GNU General Public License\r
- * along with this program; if not, write to the Free Software\r
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\r
+ * Jalview is distributed in the hope that it will be useful, but \r
+ * WITHOUT ANY WARRANTY; without even the implied warranty \r
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR \r
+ * PURPOSE. See the GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
package jalview.schemabinding.version2.descriptors;\r
\r
- //---------------------------------/\r
- //- Imported classes and packages -/\r
+//---------------------------------/\r
+//- Imported classes and packages -/\r
//---------------------------------/\r
\r
import jalview.schemabinding.version2.UserColourScheme;\r
* \r
* @version $Revision$ $Date$\r
*/\r
-public class UserColourSchemeDescriptor extends jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor {\r
-\r
-\r
- //--------------------------/\r
- //- Class/Member Variables -/\r
- //--------------------------/\r
-\r
- /**\r
- * Field _elementDefinition.\r
- */\r
- private boolean _elementDefinition;\r
-\r
- /**\r
- * Field _nsPrefix.\r
- */\r
- private java.lang.String _nsPrefix;\r
-\r
- /**\r
- * Field _nsURI.\r
- */\r
- private java.lang.String _nsURI;\r
-\r
- /**\r
- * Field _xmlName.\r
- */\r
- private java.lang.String _xmlName;\r
-\r
-\r
- //----------------/\r
- //- Constructors -/\r
- //----------------/\r
-\r
- public UserColourSchemeDescriptor() {\r
- super();\r
- setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor());\r
- _nsURI = "www.jalview.org";\r
- _xmlName = "UserColourScheme";\r
- _elementDefinition = true;\r
- }\r
-\r
-\r
- //-----------/\r
- //- Methods -/\r
- //-----------/\r
-\r
- /**\r
- * Method getAccessMode.\r
- * \r
- * @return the access mode specified for this class.\r
- */\r
- public org.exolab.castor.mapping.AccessMode getAccessMode(\r
- ) {\r
- return null;\r
- }\r
-\r
- /**\r
- * Method getIdentity.\r
- * \r
- * @return the identity field, null if this class has no\r
- * identity.\r
- */\r
- public org.exolab.castor.mapping.FieldDescriptor getIdentity(\r
- ) {\r
- return super.getIdentity();\r
- }\r
-\r
- /**\r
- * Method getJavaClass.\r
- * \r
- * @return the Java class represented by this descriptor.\r
- */\r
- public java.lang.Class getJavaClass(\r
- ) {\r
- return jalview.schemabinding.version2.UserColourScheme.class;\r
- }\r
-\r
- /**\r
- * Method getNameSpacePrefix.\r
- * \r
- * @return the namespace prefix to use when marshaling as XML.\r
- */\r
- public java.lang.String getNameSpacePrefix(\r
- ) {\r
- return _nsPrefix;\r
- }\r
-\r
- /**\r
- * Method getNameSpaceURI.\r
- * \r
- * @return the namespace URI used when marshaling and\r
- * unmarshaling as XML.\r
- */\r
- public java.lang.String getNameSpaceURI(\r
- ) {\r
- return _nsURI;\r
- }\r
-\r
- /**\r
- * Method getValidator.\r
- * \r
- * @return a specific validator for the class described by this\r
- * ClassDescriptor.\r
- */\r
- public org.exolab.castor.xml.TypeValidator getValidator(\r
- ) {\r
- return this;\r
- }\r
-\r
- /**\r
- * Method getXMLName.\r
- * \r
- * @return the XML Name for the Class being described.\r
- */\r
- public java.lang.String getXMLName(\r
- ) {\r
- return _xmlName;\r
- }\r
-\r
- /**\r
- * Method isElementDefinition.\r
- * \r
- * @return true if XML schema definition of this Class is that\r
- * of a global\r
- * element or element with anonymous type definition.\r
- */\r
- public boolean isElementDefinition(\r
- ) {\r
- return _elementDefinition;\r
- }\r
+public class UserColourSchemeDescriptor\r
+ extends\r
+ jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor\r
+{\r
+\r
+ // --------------------------/\r
+ // - Class/Member Variables -/\r
+ // --------------------------/\r
+\r
+ /**\r
+ * Field _elementDefinition.\r
+ */\r
+ private boolean _elementDefinition;\r
+\r
+ /**\r
+ * Field _nsPrefix.\r
+ */\r
+ private java.lang.String _nsPrefix;\r
+\r
+ /**\r
+ * Field _nsURI.\r
+ */\r
+ private java.lang.String _nsURI;\r
+\r
+ /**\r
+ * Field _xmlName.\r
+ */\r
+ private java.lang.String _xmlName;\r
+\r
+ // ----------------/\r
+ // - Constructors -/\r
+ // ----------------/\r
+\r
+ public UserColourSchemeDescriptor()\r
+ {\r
+ super();\r
+ setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor());\r
+ _nsURI = "www.jalview.org";\r
+ _xmlName = "UserColourScheme";\r
+ _elementDefinition = true;\r
+ }\r
+\r
+ // -----------/\r
+ // - Methods -/\r
+ // -----------/\r
+\r
+ /**\r
+ * Method getAccessMode.\r
+ * \r
+ * @return the access mode specified for this class.\r
+ */\r
+ public org.exolab.castor.mapping.AccessMode getAccessMode()\r
+ {\r
+ return null;\r
+ }\r
+\r
+ /**\r
+ * Method getIdentity.\r
+ * \r
+ * @return the identity field, null if this class has no identity.\r
+ */\r
+ public org.exolab.castor.mapping.FieldDescriptor getIdentity()\r
+ {\r
+ return super.getIdentity();\r
+ }\r
+\r
+ /**\r
+ * Method getJavaClass.\r
+ * \r
+ * @return the Java class represented by this descriptor.\r
+ */\r
+ public java.lang.Class getJavaClass()\r
+ {\r
+ return jalview.schemabinding.version2.UserColourScheme.class;\r
+ }\r
+\r
+ /**\r
+ * Method getNameSpacePrefix.\r
+ * \r
+ * @return the namespace prefix to use when marshaling as XML.\r
+ */\r
+ public java.lang.String getNameSpacePrefix()\r
+ {\r
+ return _nsPrefix;\r
+ }\r
+\r
+ /**\r
+ * Method getNameSpaceURI.\r
+ * \r
+ * @return the namespace URI used when marshaling and unmarshaling as XML.\r
+ */\r
+ public java.lang.String getNameSpaceURI()\r
+ {\r
+ return _nsURI;\r
+ }\r
+\r
+ /**\r
+ * Method getValidator.\r
+ * \r
+ * @return a specific validator for the class described by this\r
+ * ClassDescriptor.\r
+ */\r
+ public org.exolab.castor.xml.TypeValidator getValidator()\r
+ {\r
+ return this;\r
+ }\r
+\r
+ /**\r
+ * Method getXMLName.\r
+ * \r
+ * @return the XML Name for the Class being described.\r
+ */\r
+ public java.lang.String getXMLName()\r
+ {\r
+ return _xmlName;\r
+ }\r
+\r
+ /**\r
+ * Method isElementDefinition.\r
+ * \r
+ * @return true if XML schema definition of this Class is that of a global\r
+ * element or element with anonymous type definition.\r
+ */\r
+ public boolean isElementDefinition()\r
+ {\r
+ return _elementDefinition;\r
+ }\r
\r
}\r