forked from adallolio/imc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IMC.xjb
34 lines (29 loc) · 1.24 KB
/
IMC.xjb
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
<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="IMC.xsd" version="1.0">
<!-- Customise the package name -->
<schemaBindings>
<package name="pt.lsts.imc"/>
</schemaBindings>
<!-- rename the description for fields -->
<bindings node="//xs:complexType[@name='fieldType']">
<bindings node=".//xs:element[@name='description']">
<property name="fieldDescription"/>
</bindings>
</bindings>
<!-- rename the description for types -->
<bindings node="//xs:complexType[@name='typeType']">
<bindings node=".//xs:element[@name='description']">
<property name="typeDescription"/>
</bindings>
</bindings>
<!-- rename the values for field documentation -->
<bindings node="//xs:complexType[@name='fieldType']">
<bindings node=".//xs:element[@name='value']">
<property name="fieldValue"/>
</bindings>
</bindings>
</bindings>
</bindings>