Specifying the data extraction extension
In this step, specify the extension point required to implement the XML data extraction extension and add the extension element details. The extension point, org.eclipse.birt.report.engine.dataExtraction, sets the following properties for the extension:

ID
Optional identifier of the extension instance

Name
Optional name of the extension instance
The extension point defines how to create a new data extraction extension to extract data in a custom way. The extension point defines the following extension element properties:

id
Optional identifier for the data extraction extension

format
Supported format of this data extraction extension

class
Java class, that implements the IDataExtractionExtension

mimeType
MIME type of the supported file output format, such as XML

name
Name of the extension

isHidden
Used to determine whether format is shown in UI
Use the Eclipse PDE to choose the extension point and provide the extension element details.
How to specify the extension
1 On PDE Manifest Editor, choose Extensions.
2 In All Extensions, choose Add. New Extension—Extension Point Selection appears.
3 In Extension Points, select the following extension point:
org.eclipse.birt.report.engine.dataExtraction
Use the Extension Point filter to narrow your search, as shown in
Figure 21‑7. Choose Finish.
All Extensions lists the extension point, org.eclipse.birt.report.engine.dataExtraction. Extension Details contains the list of extension details specified in the XML schema file, dataExtraction.exsd.
Figure 21‑7 Selecting the data extraction extension point
4 In All Extensions, choose the extension point, org.eclipse.birt.report.engine.dataExtraction. Extension Element Details appears.
5 In Extension Element Details, specify the properties for the data extraction extension element, as shown in
Table 21‑3.
Table 21‑3 Property values for the data extraction extension element
Property | Value |
id | org.eclipse.birt.report.engine.dataextraction.xml |
format | xml |
class | org.eclipse.birt.report.engine.dataextraction.xml.XMLDataExtractionImpl |
mimeType | xml |
name | XML |
isHidden | false |
Extension Element Details appears as shown in
Figure 21‑8. The PDE Manifest Editor automatically updates plugin.xml.
Figure 21‑8 Property values for the emitter extension