bindings.xjb 2.07 KB
<?xml version="1.0" encoding="UTF-8"?>
<bindings xmlns="http://java.sun.com/xml/ns/jaxb"          xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"          xmlns:xs="http://www.w3.org/2001/XMLSchema"          version="2.1">
  <bindings schemaLocation="../xsd/VOResource_v1.0.xsd" version="1.0">
    <schemaBindings>
      <package name="eu.omp.irap.vespa.epntapclient.voresource.model"/>
    </schemaBindings>
  </bindings>
  <bindings schemaLocation="../xsd/VOTable_v1.3.xsd" version="1.0">
    <schemaBindings>
      <package name="eu.omp.irap.vespa.epntapclient.votable.model"/>
    </schemaBindings>
    <!-- rename the value attribute of Min nodes -->
    <bindings node="//xs:complexType[@name='Min']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
    <!-- rename the value attribute of Max nodes -->
    <bindings node="//xs:complexType[@name='Max']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
    <!-- rename the value attribute of Option nodes -->
    <bindings node="//xs:complexType[@name='Option']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
    <!-- rename the value attribute of Link nodes -->
    <bindings node="//xs:complexType[@name='Link']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
    <!-- rename the value attribute of Info nodes -->
    <bindings node="//xs:complexType[@name='Info']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
    <!-- rename the value attribute of Param nodes -->
    <bindings node="//xs:complexType[@name='Param']">
      <bindings node=".//xs:attribute[@name='value']">
        <property name="ValueAttribute"/>
      </bindings>
    </bindings>
  </bindings>
</bindings>