JiBX

Open source framework for XML data binding to Java
Download

JiBX Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Dennis M. Sosnoski
  • Publisher web site:
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 15.7 MB

JiBX Tags


JiBX Description

Open source framework for XML data binding to Java JiBX works with existing classes, using a flexible mapping definition file to determine how data objects are translated to and from XML.JiBX lets you work with data from XML documents using your own class structures. The JiBX framework handles all the details of converting your data to and from XML based on your instructions. JiBX is designed to perform the translation between internal data structures and XML with very high efficiency, but still allows you a high degree of control over the translation process.How does it manage this? 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 (such as building jar files, etc.). You can also skip the binding compiler as a separate step and instead bind classes directly at runtime, though this approach has some drawbacks.The second part of the JiBX framework is the binding runtime.The runtime uses a parser implementing the XMLPull API for handling input documents, but is otherwise self-contained. What's New in This Release: · Handle xs:annotation child elements of xs:schema. · Fix some cases where element name was set on concrete mapping reference. · Skip the nonamespace namespace in set needing to be defined when generating documentation (avoiding NPE). · Fix handling of schema URLs (rather than file paths) passed on command line. · Fix binding compiler issues in namespace handling, including detecting when the nonamespace namespace cannot be used because some other namespace has been made the default. · Loosen attribute matching test for precompiled binding being included, only testing cases where compatibility is an issue. · Allow for precompiled bindings to include other bindings, and only check for package on direct precompiled includes. · Change to arbitrary content for both xs:documentation and xs:appinfo element. · Check for absolute file path provided for schema, before assuming relative. · Report an error when the type specified for a schema element is an abstract type. · Add reference item for complexType restriction base type, rather than just ignoring (necessary so that schema extract handling will pick up namespace reference).


JiBX Related Software