Home Fabio Cortesi Stefan Jäger

Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.

 

 
 

 

JiBX offers the possibility to create separate input and output bindings. Just use the attribute direction in the root element of the binding file. To create a XML binding just for the marshalling objects, use <binding direction="output">. To create an XML binding just for unmarhshalling XML files, use <binding direction="input">.

With this possibility, you can define for example an input binding, which doesn’t map every element of a XML file. But in the output binding you can define some constants, which get’s mapped, if objects gets marshaled to XML files.

 

 

 

 

 
Leave a comment