Powered by SmartDoc

Introduction

Asami Tomoharu's Relaxer is a powerful program that creates Java classes based on Relax Core or RELAX NG grammars. These classes can then be used to manipulate XML schema instances programmatically. Relaxer can also generate Java classes for factory, JDBC mapping, and composite or visitor patterns, among other things.

Relaxer essentially is a schema compiler that creates an object hierarchy that is similar to a Document Object Model (DOM) tree, but without making you do the tedious work of programming yourself. Relaxer does the work for you.

In addition, Relaxer can generate:

Using hands-on examples, this tutorial walks through several exercises that introduce you to a variety of Relaxer's features. This tutorial assumes that you have a reasonable knowledge of the following:

Note

If you are not well acquainted with these technologies, you will still be able to follow the tutorial because I'll provide basic explanations along the way.