--- /dev/null
+<?xml version="1.0"?>\r
+<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd">\r
+<mapping>\r
+ <class name="jalview.datamodel.UniprotFile">\r
+ <map-to xml="uniprot"/> \r
+ <field name="UniprotEntries" type="jalview.datamodel.UniprotEntry" collection="vector">\r
+ <bind-xml name="entry"/>\r
+ </field> \r
+ </class>\r
+ \r
+ <class name="jalview.datamodel.UniprotEntry">\r
+ <field name="name" type="string"/>\r
+ <field name="accession" type="string"/>\r
+ <field name="UniprotSequence" type="jalview.datamodel.UniprotSequence">\r
+ <bind-xml name="sequence"/> \r
+ </field>\r
+ <field name="features" type="jalview.datamodel.SequenceFeature" collection="vector">\r
+ <bind-xml name="feature"/>\r
+ </field>\r
+ \r
+ </class>\r
+ \r
+ \r
+ <class name="jalview.datamodel.SequenceFeature">\r
+ <field name="type">\r
+ <bind-xml name="type" node="attribute"/>\r
+ </field>\r
+ <field name="description">\r
+ <bind-xml name="description" node="attribute"/>\r
+ </field>\r
+ <field name="status">\r
+ <bind-xml name="status" node="attribute"/>\r
+ </field>\r
+ <field name="position">\r
+ <bind-xml name="position" node="attribute" location="location/position"/>\r
+ </field>\r
+ <field name="begin">\r
+ <bind-xml name="position" node="attribute" location="location/begin"/>\r
+ </field>\r
+ <field name="end">\r
+ <bind-xml name="position" node="attribute" location="location/end"/>\r
+ </field>\r
+ </class>\r
+ \r
+ <class name="jalview.datamodel.UniprotSequence">\r
+ <field name="content" type="string">\r
+ <bind-xml name="sequence" node="text"/>\r
+ </field>\r
+ </class>\r
+\r
+</mapping>\r