SwingJS update
[jalview.git] / schemas / embl_bindings.xml
1 <!--  
2         Binding file stops the nested 'taxon' elements generating invalid Java (nested type hiding enclosing type).
3         The binding converts EntryType/feature/taxon to EntryType$Feature$FeatureTaxon.
4         EntryType/feature/taxon/lineage/taxon generates EntryType$Feature$FeatureTaxon$Lineage$Taxon.  
5 -->
6 <jaxb:bindings
7         xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8         xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" version="2.1">
9         <jaxb:bindings schemaLocation="embl.xsd">
10                 <jaxb:bindings
11                         node="/xsd:schema/xsd:complexType[@name='EntryType']/xsd:sequence/xsd:element[@name='feature']/xsd:complexType/xsd:sequence/xsd:element[@name='taxon']/xsd:complexType">
12                         <jaxb:class name="FeatureTaxon" />
13                 </jaxb:bindings>
14         </jaxb:bindings>
15 </jaxb:bindings>