Class BundleWriter

  • public class BundleWriter
    extends Object
    The bundle-frontend. This class orchestrates the writing process.

    In the absence of template files, it will simply serialize the whole report into a XML file and will fail if there are non-serializable or unrecognized elements. Unlike the old ext-writer, this class does not try to write all report-definitions. The report definitions fed into this writer must use ElementType implementation to be written correctly.

    In this very first implementation, we ignore the global bundle and write everything into the target bundle. To make selective writing work, we have to tag each shared element as shared.

    Thomas Morgner