Chapter 21. Developing a Fragment

The BIRT Report Engine environment supports plug-in fragments. A plug-in fragment is a separately loaded package that adds functionality to an existing plug-in, such as a specific language feature in a National Language Support (NLS) localization application. The example in this chapter creates a Java resource bundle that adds translations to the messages defined in the files for the plug-in.

Understanding a fragment

A fragment does not define its own plugin.xml file or a plug-in class. The related plug-in controls all processing. A fragment loads along the classpath of the related plug-in, providing access to all classes in the plug-in package.

A fragment inherits ...

Get Integrating and Extending BIRT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.