Dynamic Model Builder.
Useful for constructing configuration model etc. Allows you to build a config model
for a dynamic configuration namespace i.e. a config namespace that is evolving and being
extended all the time. New namespaces can be easily added or extended. All that's required
is to define the new config XSD and the Smooks Java Binding config to bind the data in the
config namespace into the target Java model.
The namespaces all need to be configured in a "descriptor" .properties file located on the classpath.
Here's an example:
mycomp.namespace=http://www.acme.com/xsd/mycomp.xsd
mycomp.schemaLocation=/META-INF/xsd/mycomp.xsd
mycomp.bindingConfigLocation=/META-INF/xsd/mycomp-binding.xml
You should use a unique descriptor path for a given configuration model. Of course there can be many instances
of this file on the classpath i.e. one per module/jar. This allows you to easily add extensions and updates
to your configuration model, without having to define new Java model for the new namespaces (versions) etc.