JiBX
Home PageCategories: XML
Latest version: 1.2.1
Added 2005-10-05Updated 2009-10-03
Framework for binding XML data to Java objects.
JiBX works with existing classes, using a flexible mapping definition file to determine how data objects are translated to and from XML. It allows you to start from existing Java code and generate an XML schema, start from an XML schema and generate Java code, or bridge your existing code to a schema that represents the same data.
The JiBX framework handles all the details of converting your data to and from XML based on your instructions.
JiBX uses binding definition documents to define the rules for how your Java objects are converted to or from XML (the binding). At some point after you've compiled your source code into class files you execute the first part of the JiBX framework, the binding compiler. This compiler enhances binary class files produced by the Java compiler, adding code to handle converting instances of the classes to or from XML. After running the binding compiler you can continue the normal steps you take in assembling your application.
The second part of the JiBX framework is the binding runtime. The enhanced class files generated by the binding compiler use this runtime component both for actually building objects from an XML input document (called unmarshalling, in data binding terms) and for generating an XML output document from objects (called marshalling). The runtime uses a parser implementing the XMLPull API for handling input documents, but is otherwise self-contained.
Built for Java |
Free or free version available |
Source code provided |