This class serializes a set of
module descriptors
into a
XML document
. The set of module descriptors to process is specified indirectly
by supplying one or several
ModuleDescriptorProvider
(see
addModuleDescriptorProvider(ModuleDescriptorProvider)
). In this respect this class is
used the same way as
RegistryBuilder
. There is even a
corresponding
static method
to serialize the modules of
the default registry.
The resulting XML file does not conform to the hivemind module deployment descriptor schema. The
following changes occur:
- The outermost element is <registry> (which contains a list of <module>)
- A unique id (unique within the file) is assigned to each <module>,
<configuration-point>, <service-point>, <contribution>, &tl;schema> and
<implementation> (this is to make it easier to generate links and anchors)
- Unqualified ids are converted to qualified ids (whereever possible).