-
Notifications
You must be signed in to change notification settings - Fork 37
Sample PO Project
highsource edited this page Dec 26, 2014
·
1 revision
Please see the jsonix-schema-compiler-sample-po-<version>-<type>-src.zip
files.
This sample project simply compiles the src/main/resources/purchaseorder.xsd
schema using the bindings file src/main/resources/bindings.xjb
.
Jsonix modules PurchaseOrder.std.js
(standard naming) and PurchaseOrder.cmp.js
(compact naming) are generated in the target/generated-sources/xjc
target directory. This is configured in the bindings file:
<jsonix:module name="PurchaseOrder">
<jsonix:mapping name="PO" package="org.hisrc.jsonix.demos.po"/>
<jsonix:output naming="standard" fileName="${module.name}.std.js"/>
<jsonix:output naming="compact" fileName="${module.name}.cmp.js"/>
</jsonix:module>
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development