File: binding-tutorial.htm

package info (click to toggle)
libjibx1.2-java 1.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,260 kB
  • sloc: java: 75,013; xml: 14,068; makefile: 17
file content (58 lines) | stat: -rw-r--r-- 3,095 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>JiBX: Bindings Tutorial</title>
</head>
<body class="composite">
      <div id="bodycol">
      <div class="app">
      <div class="h3">
      
<p>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
<a href="%defdetails%">Binding Definition</a> reference section of the documentation.</p>

<p>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:</p>

<ul>
<li><a href="%basicbind%#intro"><b>Getting started: A basic binding</b></a></li>
<li><a href="%basicbind%#diggingin"><b>Digging into the binding</b></a></li>
<li><a href="%bindextras%#variations"><b>Variations on a theme</b> - ways of working with values</a></li>
<li><a href="%bindextras%#mixing"><b>Mixing it up</b> - unordered elements</a></li>
<li><a href="%structmap%#intro"><b>Structure mapping</b> - handling structural differences</a></li>
<li><a href="%bindcolls%#collects"><b>Collection and array handling</b></a></li>
<li><a href="%bindcolls%#ids"><b>Working with IDs</b> - object references</a></li>
<li><a href="%bindmappings%#normal"><b>Normal mappings</b></a></li>
<li><a href="%bindmappings%#abstract"><b>Abstract mappings</b></a></li>
<li><a href="%bindmappings%#inherit"><b>Mappings and inheritance</b></a></li>
<li><a href="%bindadvanced%#inner-classes"><b>Using inner classes</b></a></li>
<li><a href="%bindadvanced%#enumerations"><b>Using enumerations</b></a></li>
<li><a href="%bindadvanced%#global"><b>Directions and tracking</b> - global binding options</a></li>
<li><a href="%bindadvanced%#namespaces"><b>Working with namespaces</b></a></li>
<li><a href="%bindadvanced%#structuring"><b>Structuring bindings</b></a></li>
<li><a href="%bindextend%#extmeths"><b>User extension method hooks</b></a></li>
<li><a href="%bindextend%#serdeser"><b>Custom serializers and deserializers</b></a></li>
<li><a href="%bindcustom%#custom"><b>Using custom code with JiBX</b></a></li>
<li><a href="%bindcustom%#marunmar"><b>Custom marshallers and unmarshallers</b></a></li>
<li><a href="%bindcustom%#frontend"><b>Controlling JiBX with front-end code</b></a></li>
</ul>

<p>The actual Java code, binding definition files, and XML documents for many
of the examples are included in the JiBX distribution under the <i>/tutorial</i>
directory. The <i>/tutorial/index.html</i> file gives a list of the specific
examples provided.</p>

<div><p align="center"><a href="%basicbind%"><b>Next: A basic binding</b></a></p></div>

      </div>
      </div>
      </div>
</body>
</html>