Class ReportItemFactory
java.lang.Object
org.eclipse.birt.report.model.api.extension.ReportItemFactory
- All Implemented Interfaces:
IReportItemFactory
Adapter class for the IReportItemFactory interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFactoryStyles
(String extensionName) Returns the list of default styles that defined for the extension element.abstract IMessages
Returns theIMessages
, which can get localized message for the given resource key and locale.abstract IReportItem
newReportItem
(DesignElementHandle extendedItemHandle) Creates a new instance of the extended element given a handle to the BIRT report element that represents the extended element.
-
Constructor Details
-
ReportItemFactory
public ReportItemFactory()
-
-
Method Details
-
newReportItem
Description copied from interface:IReportItemFactory
Creates a new instance of the extended element given a handle to the BIRT report element that represents the extended element.- Specified by:
newReportItem
in interfaceIReportItemFactory
- Parameters:
extendedItemHandle
- the BIRT report item that represents the extended element- Returns:
- a new peer element
-
getMessages
Description copied from interface:IReportItemFactory
Returns theIMessages
, which can get localized message for the given resource key and locale.- Specified by:
getMessages
in interfaceIReportItemFactory
- Returns:
- the I18N class implementing
IMessages
-
getFactoryStyles
Description copied from interface:IReportItemFactory
Returns the list of default styles that defined for the extension element.- Specified by:
getFactoryStyles
in interfaceIReportItemFactory
- Parameters:
extensionName
- the extension name of the element- Returns:
- default style list.
-