Welcome to this Blog. I am Software Engineer and work for Zühlke Engineering AG in Bern. This is my private blog, in which I will post mainly about technical stuff like Software Engineering or IT related topics. The views expressed herein do not necessarily represent those of my employer.

 

 
 

 

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