JiBX: Bindings Tutorial

# JiBX: Bindings Tutorial |

JiBX Basics Overview Getting Started Binding Compiler Binding on Load Runtime Extras Building JiBX Contributing License News and Status Support FAQ Mailing Lists Bugs User Comments Sponsors Start from Code Start from Code BindGen Example Code Example 1 Example 2 Example 3 Example 4 Customizations Reference SchemaGen Jibx2Wsdl Examples Customizations Start from Schema Start from Schema CodeGen Example Code Example 1 Example 2 Example 3 Customizations Reference Binding Definition Binding Tutorial A basic binding Binding extras Structure mapping Collections and arrays Using mappings Advanced binding Method hooks Custom code Precompiled Bindings Definition details Definition contexts Conversions XML summary <binding> element <include> element <format> element <namespace> element <mapping> element <value> element <structure> element <collection> element Attribute groups Usage API Runtime JavaDocs Subprojects Eclipse Plug-in Introduction Install Usage Axis2 Usage | Binding definitions are the core of working with JiBX. In order to usefully apply JiBX to your applications you need to understand what can and can't be done in a binding definition. This tutorial is designed to give an overview of doing various types of binding operations in JiBX to help you get up to speed as quickly as possible. For full information on working with binding files, see the Binding Definition reference section of the documentation. You can go through the tutorial in sequence using the forward links at the bottom of each page, use the menu to the left to browse by individual page, or use this table of contents to jump directly to a particular section of the tutorial: Getting started: A basic binding Digging into the binding Variations on a theme - ways of working with values Mixing it up - unordered elements Structure mapping - handling structural differences Collection and array handling Working with IDs - object references Normal mappings Abstract mappings Mappings and inheritance Using inner classes Using enumerations Directions and tracking - global binding options Working with namespaces Structuring bindings User extension method hooks Custom serializers and deserializers Using custom code with JiBX Custom marshallers and unmarshallers Controlling JiBX with front-end code The actual Java code, binding definition files, and XML documents for many of the examples are included in the JiBX distribution under the /tutorial directory. The /tutorial/index.html file gives a list of the specific examples provided. Next: A basic binding