Reasons to Use XML Data Binding
| |
- Reduces Development Time
- Increased reliability (spot problems at compile time not runtime)
- Creates more readable code
- Fastest root between code and XML
|
|
Reasons To Use Liquid XML Data Binding Code Generator
| |
|
|
|
- Supports Java 1.3, 1.4, 1.5, 1.6 & JME
- Supports XSD, XDR & DTD's
- Supports the Fast Infoset XML compression
- Generates Documentation with the code.
- Royalty free distribution & source
|
|
Xml Data Binding
XML Data Binding allows you to treat your XML documents as objects within your application. This makes dealing with XML data from a programming language a simple matter of manipulating these strongly typed objects.
Liquid XML Data Binding Code Generator takes an XML Schema and uses it to generate a class library. These classes map directly to to data contained in your XML Schema, so if your schema has an Person entity and that has a date of birth attribute, then a class called Person will be generated, which will have a property called DateOfBirth. |
|
Standard Support
The use of XML is exploding, and with it the number and complexity of 3rd party standards. There are now 1000's of XML Schemas describing everything from Solar orbits to coffee bean quality.
Because the XSD standard is complex, many XML Data Binding tools only support a sub set of it. This may be adequate for small in house schemas, but in the real world you need something that will cope with the standards that exist out in the wild. Liquid XML Data Binder has an unprecedented level of support for the W3C XSD Standard allowing it to cope with the most complex standards, just try it and see.
|
|
Tools Included with Liquid XML Studio
Liquid XML Data Binding Code Generator is included in the Developer Edition of Liquid XML Studio, which includes many other XML tools including
XSD Editor, XML Editor, XML Differencing tool, XPath Query viewer, Web Service Call Composer and more... see Liquid XML Studio.
|
 |
A Simple Example
The following example we will use the Person.xsd, shown below to demonstrate how to read and write an XML document based on this schema.
XML Schema - Bookstore.xsd - Click to View
Conclusion
XML Data Binding makes it significantly easier to deal with XML documents from within your code, resulting in less code, which is simpler to read and maintain.
As the generated class library is strongly typed, it forms a kind of template for the developer, ensuring that the data created conforms the underlying XML Schema.
The maintenance phase of a project also befits as XML Data Binding allows any errors introduced because of changes in the data model to be caught early at compile time, unlike weekly typed DOM trees, which will give no indication of a problem until runtime. These kinds of changes can be a major cause of bugs which can only be caught in testing. Being able to identify these at compile time can save huge amounts of time and effort.
|