Blame view

src/main/resources/xjb/bindings.xjb 2.07 KB
18fad48e   Nathanael Jourdane   Improve code-sour...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?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>