JAL-1807 includes ?j2sdebug flag and DebugJS._(msg)
[jalviewjs.git] / resources / embl_mapping.xml
index ccbde5e..1946827 100644 (file)
-<?xml version="1.0"?>
-<!--
- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
- * Copyright (C) $$Year-Rel$$ The Jalview Authors
- * 
- * This file is part of Jalview.
- * 
- * 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.
- *  
- * 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 <http://www.gnu.org/licenses/>.
- * The Jalview Authors are detailed in the 'AUTHORS' file.
--->
-<mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://castor.exolab.org/ ../schemas/castor-mapping.xsd">
-<!--
-       History: Originally created from EMBL_common_V1.0
-       Updated on 24th April 2007 for WsDBFetch Service move to EMBL_Services_V1.1.xsd
-       -->
-       <class name="jalview.datamodel.xdb.embl.EmblFile">
-               <map-to xml="EMBL_Services"/>
-               <field name="entries" type="jalview.datamodel.xdb.embl.EmblEntry" collection="vector">
-                       <bind-xml name="entry"/>
-               </field>
-               
-               <field name="errors" type="jalview.datamodel.xdb.embl.EmblError" collection="vector">
-                       <bind-xml name="Error"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.EmblEntry">
-               <field name="accession" type="string">
-                       <bind-xml location="accession" node="attribute"/>
-               </field>
-               <!--  May 2015 changed from last-updated to match xml -->
-               <field name="lastUpdated" type="string">
-                       <bind-xml location="lastUpdated" node="attribute"/>
-               </field>
-               <field name="version" type="string">
-                       <bind-xml location="version" node="attribute"/>
-               </field>
-               <field name="rCreated" type="string">
-                       <bind-xml location="releaseCreated" node="attribute"/>
-               </field>
-               <field name="rLastUpdated" type="string">
-                       <bind-xml location="releaseLastUpdated" node="attribute"/>
-               </field>
-               <field name="desc" type="string">
-                       <bind-xml name="description" node="element"/>
-               </field>
-               <field name="keywords" type="string" collection="vector">
-                       <bind-xml name="keyword" node="element"/>
-               </field>
-               <field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">
-                       <bind-xml name="feature"/>
-               </field>
-               <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">
-                       <bind-xml name="dbreference" />
-               </field>
-               <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">
-                       <bind-xml name="sequence"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.EmblSequence">
-               <field name="type" type="string">
-                       <bind-xml name="type" node="attribute" location="type"/>
-               </field>
-               <field name="version" type="string">
-                       <bind-xml name="version" node="attribute" location="version"/>
-               </field>
-               <field name="sequence" type="string">
-                       <bind-xml node="text"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.EmblFeature" verify-constructable="false">
-               <field name="name" type="string">
-                       <bind-xml name="name" node="attribute"/>
-               </field>
-               <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">
-                       <bind-xml name="dbreference" node="element"/>
-               </field>
-               <field name="qualifiers" type="jalview.datamodel.xdb.embl.Qualifier" collection="vector">
-                       <bind-xml name="qualifier"/>
-               </field>                                        
-               <field name="locations" type="jalview.datamodel.xdb.embl.EmblFeatureLocations" collection="vector">
-                       <bind-xml name="location"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.DBRefEntry" verify-constructable="false">
-               <field name="accessionId" type="java.lang.String">
-                       <bind-xml name="primary" node="attribute"/>
-               </field>
-               <field name="source" type="java.lang.String"> 
-                       <bind-xml name="db" node="attribute"/>
-               </field>
-               <field name="version" type="string">
-                       <bind-xml name="secondary" node="attribute"/>
-               </field>
-       </class>
-       <class  name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">
-               <field name="name">
-                       <bind-xml name="name" node="attribute"/>
-               </field>
-               <field name="evidence" type="string" collection="array">
-                       <bind-xml name="evidence" node="element"/>
-               </field>
-               <field name="values" type="string" collection="array">
-                       <bind-xml name="value" node="element"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.EmblFeatureLocations">
-               <field name="locationType" type="string">
-                       <bind-xml name="type" node="attribute"/>
-               </field>
-               <field name="locationComplement" type="boolean">
-                       <bind-xml name="complement" node="attribute"/>
-               </field>
-               <field name="locElements" type="jalview.datamodel.xdb.embl.EmblFeatureLocElement" collection="vector">
-                       <bind-xml name="locationElement"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.EmblFeatureLocElement">
-               <field name="type" type="string">
-                       <bind-xml name="type" node="attribute"/>
-               </field>
-               <field name="accession" type="string">
-                       <bind-xml name="accession" node="attribute"/>                   
-               </field>
-               <field name="version" type="string">
-                       <bind-xml name="version" node="attribute"/>
-               </field>
-               <field name="complement" type="boolean">
-                       <bind-xml name="complement"/>
-               </field>
-               <field name="basePositions" type="jalview.datamodel.xdb.embl.BasePosition" collection="array">
-                       <bind-xml name="basePosition" node="element"/>
-               </field>
-       </class>
-       <class name="jalview.datamodel.xdb.embl.BasePosition">
-               <field name="type">
-                       <bind-xml name="type" node="attribute"/>
-               </field>
-               <field name="pos">
-                       <bind-xml node="text"/>
-               </field>
-       </class>
-</mapping>
+<?xml version="1.0"?>\r
+<!--\r
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)\r
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors\r
+ * \r
+ * This file is part of Jalview.\r
+ * \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
+ * 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
+ * The Jalview Authors are detailed in the 'AUTHORS' file.\r
+-->\r
+<mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+       xsi:schemaLocation="http://castor.exolab.org/ ../schemas/castor-mapping.xsd">\r
+<!--\r
+       History: Originally created from EMBL_common_V1.0\r
+       Updated on 24th April 2007 for WsDBFetch Service move to EMBL_Services_V1.1.xsd\r
+       -->\r
+       <class name="jalview.datamodel.xdb.embl.EmblFile">\r
+               <map-to xml="EMBL_Services"/>\r
+               <field name="entries" type="jalview.datamodel.xdb.embl.EmblEntry" collection="vector">\r
+                       <bind-xml name="entry"/>\r
+               </field>\r
+               \r
+               <field name="errors" type="jalview.datamodel.xdb.embl.EmblError" collection="vector">\r
+                       <bind-xml name="Error"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.EmblEntry">\r
+               <field name="accession" type="string">\r
+                       <bind-xml location="accession" node="attribute"/>\r
+               </field>\r
+               <!--  May 2015 changed from last-updated to match xml -->\r
+               <field name="lastUpdated" type="string">\r
+                       <bind-xml location="lastUpdated" node="attribute"/>\r
+               </field>\r
+               <field name="version" type="string">\r
+                       <bind-xml location="version" node="attribute"/>\r
+               </field>\r
+               <field name="rCreated" type="string">\r
+                       <bind-xml location="releaseCreated" node="attribute"/>\r
+               </field>\r
+               <field name="rLastUpdated" type="string">\r
+                       <bind-xml location="releaseLastUpdated" node="attribute"/>\r
+               </field>\r
+               <field name="desc" type="string">\r
+                       <bind-xml name="description" node="element"/>\r
+               </field>\r
+               <field name="keywords" type="string" collection="vector">\r
+                       <bind-xml name="keyword" node="element"/>\r
+               </field>\r
+               <field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">\r
+                       <bind-xml name="feature"/>\r
+               </field>\r
+               <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
+                       <bind-xml name="dbreference" />\r
+               </field>\r
+               <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
+                       <bind-xml name="sequence"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.EmblSequence">\r
+               <field name="type" type="string">\r
+                       <bind-xml name="type" node="attribute" location="type"/>\r
+               </field>\r
+               <field name="version" type="string">\r
+                       <bind-xml name="version" node="attribute" location="version"/>\r
+               </field>\r
+               <field name="sequence" type="string">\r
+                       <bind-xml node="text"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.EmblFeature" verify-constructable="false">\r
+               <field name="name" type="string">\r
+                       <bind-xml name="name" node="attribute"/>\r
+               </field>\r
+               <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
+                       <bind-xml name="dbreference" node="element"/>\r
+               </field>\r
+               <field name="qualifiers" type="jalview.datamodel.xdb.embl.Qualifier" collection="vector">\r
+                       <bind-xml name="qualifier"/>\r
+               </field>                                        \r
+               <field name="locations" type="jalview.datamodel.xdb.embl.EmblFeatureLocations" collection="vector">\r
+                       <bind-xml name="location"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.DBRefEntry" verify-constructable="false">\r
+               <field name="accessionId" type="java.lang.String">\r
+                       <bind-xml name="primary" node="attribute"/>\r
+               </field>\r
+               <field name="source" type="java.lang.String"> \r
+                       <bind-xml name="db" node="attribute"/>\r
+               </field>\r
+               <field name="version" type="string">\r
+                       <bind-xml name="secondary" node="attribute"/>\r
+               </field>\r
+       </class>\r
+       <class  name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">\r
+               <field name="name">\r
+                       <bind-xml name="name" node="attribute"/>\r
+               </field>\r
+               <field name="evidence" type="string" collection="array">\r
+                       <bind-xml name="evidence" node="element"/>\r
+               </field>\r
+               <field name="values" type="string" collection="array">\r
+                       <bind-xml name="value" node="element"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.EmblFeatureLocations">\r
+               <field name="locationType" type="string">\r
+                       <bind-xml name="type" node="attribute"/>\r
+               </field>\r
+               <field name="locationComplement" type="boolean">\r
+                       <bind-xml name="complement" node="attribute"/>\r
+               </field>\r
+               <field name="locElements" type="jalview.datamodel.xdb.embl.EmblFeatureLocElement" collection="vector">\r
+                       <bind-xml name="locationElement"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.EmblFeatureLocElement">\r
+               <field name="type" type="string">\r
+                       <bind-xml name="type" node="attribute"/>\r
+               </field>\r
+               <field name="accession" type="string">\r
+                       <bind-xml name="accession" node="attribute"/>                   \r
+               </field>\r
+               <field name="version" type="string">\r
+                       <bind-xml name="version" node="attribute"/>\r
+               </field>\r
+               <field name="complement" type="boolean">\r
+                       <bind-xml name="complement"/>\r
+               </field>\r
+               <field name="basePositions" type="jalview.datamodel.xdb.embl.BasePosition" collection="array">\r
+                       <bind-xml name="basePosition" node="element"/>\r
+               </field>\r
+       </class>\r
+       <class name="jalview.datamodel.xdb.embl.BasePosition">\r
+               <field name="type">\r
+                       <bind-xml name="type" node="attribute"/>\r
+               </field>\r
+               <field name="pos">\r
+                       <bind-xml node="text"/>\r
+               </field>\r
+       </class>\r
+</mapping>\r