“Tahiti” is a Java tool to generate a Java object model from a schema. Currently, it supports RELAX NG. This release includes software developed by the Apache Software Foundation (https://xml.apache.org/).
This tool is a command line tool that can compile RELAX NG grammar to a Java object model that in turn parses XML documents written in that schema.
The automatic Java object model generation makes it easy to read/write XML documents from your application. Also, This tool lets you heavily customize the generated object model.
See UsersGuide.html for details.
This tool should be considered as alpha-quality. And any feedback is more than welcome!