-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathbindings.xjb
23 lines (19 loc) · 837 Bytes
/
bindings.xjb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jaxb:bindings
version="2.1"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:jsonix="http://jsonix.highsource.org/customizations"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
jaxb:extensionBindingPrefixes="jsonix">
<jaxb:bindings schemaLocation="../schemas/purchaseorder.xsd" node="/xs:schema">
<jaxb:schemaBindings>
<jaxb:package name="org.hisrc.jsonix.demos.po"/>
</jaxb:schemaBindings>
<jsonix:module name="PurchaseOrder">
<jsonix:mapping name="PO" package="org.hisrc.jsonix.demos.po" schemaId="PurchaseOrder.jsonschema#"/>
<jsonix:output naming="standard" fileName="${module.name}.standard.js"/>
<jsonix:output naming="compact" fileName="${module.name}.compact.js"/>
<jsonix:jsonSchema/>
</jsonix:module>
</jaxb:bindings>
</jaxb:bindings>