Simon sprottĀ who is the author of this article gives us an insight into xml data binding. His article describes how XML data binding guides in managing Xml documents using a collection of simple objects. An XML schema is used for formulation of the rules to define its shape. Generally, an XML document can be read into an XML library and manipulated through simple get and set methods in programming. Similarly, the converse is true. i. e XML data binding library can be the source. This means that a document can be created and serialized as an
This article by Simon Sprott begins: "XML Data Binding allows you to manipulate an XML document via a set of simple objects. The rules defining the 'shape' of the XML document are described in an XML schema. Typically, it is possible to read an XML document into an XML binding library and manipulate it programmatically via simple get and set methods. Conversely, a document can be created from an XML data binding library, and serialized as an XML document."
It then launches into a chart and example rich comparison of the various schema creation
Introduction
Castor XML is an XML databinding framework. Unlike the two main XML APIs, DOM (Document Object Model) and SAX (Simple API for XML) which deal with the structure of an XML document, Castor enables one to deal with the data defined in an XML document through an object model which represents that data.
Castor XML can marshal almost any "bean-like" Java Object to and from XML. In most cases the marshalling framework uses a set of ClassDescriptors and FieldDescriptors to describe how an Object should be marshalled and unmarshalled from