Welcome to XJConf
XJConf enables you to create any type of Java object from any XML-document. In order to achieve this, all you need to do is specify the rules for the config reader. These rules can be specified in two ways:
- programmatically
- using a special XML syntax
Features
- Convert any XML document to custom Java-objects
- Type-safe Setter-support
- Full namespace support
XJConf documentation
- DocsIntro -- Introduction to XJConf
- DocsTagDefinitions -- Creating Tag Definitions
- DocsConstructor -- Defining a constructor
- DocsCollections -- Using Collections and Maps
- DocsPrimitives -- Using primitives instead of objects
- DocsNamespaces -- Using XML namespace
- DocsExtending? -- Extending existing tags
- DocsExtensions? -- Using and developing extensions
Dowloading XJConf
There's no public release available, yet. Still, you can get XJConf from the Subversion repository and build your own copy.
Subversion access
To get and compile the latest version follow these steps:
$ svn checkout http://java.schst.net/svn/XJConf/trunk XJConf $ cd XJConf $ ant all
You may need to copy build.properties.sample to build.properties and adjust some values to set the name of your compiler.
History
XJConf is a port of patConfiguration, a package I developed in PHP. But of course I made several adjustments to the architecture, API and feature-set so the package fits into the Java-world.
The differences in detail:
- XJConf only parses XML documents, whereas patCOnfiguration is driver-based and able to read INI, WDDX and PHP configuration files.
- XJConf is read-only, while patConfiguration can also be used to create XML documents from scratch.
- XJConf has real namespace support, which lacks in patConfiguration.
- XJConf has a different tag definition syntax.
- XJConf has a better structured architecture, as the tag definition file reader is separate from the actual XML document reader.
Developers
XJConf is currently developed by:
- Stephan Schmidt (schst), lead developer
- Carsten Helmstädter (chelmst), developer
- Niels Schelbach (niels), developer
- Frank Kleine (mikey), developer
Related projects
XJConf is also available for PHP5. For more information on this project visit the XJConf For PHP website.
How to use this site?
This site is powered by Trac, which is an enhanced Wiki and issue-tracking system. You can use this site to report bug reports or feature requests and also browse the source in the subversion repository. If you need help with Trac, I recommend reading the TracGuide. The design has been made by Sebastian Mordziol, if you like the design and are looking for a skilled designer/developer you can reach him at http://www.mistralys.com.
License
XJConf is published under the LGPL.
