Class TemplateReportItemHandle

All Implemented Interfaces:
org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel

public class TemplateReportItemHandle extends TemplateElementHandle
Handle for template report items. A template report item is a place holder to generate a real report item.
See Also:
  • Constructor Details

    • TemplateReportItemHandle

      public TemplateReportItemHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
      Constructs a handle for the given design and design element. The application generally does not create handles directly. Instead, it uses one of the navigation methods available on other element handles.
      Parameters:
      module - the module
      element - the model representation of the element
  • Method Details

    • transformToReportItem

      public void transformToReportItem(ReportItemHandle reportItemHandle) throws SemanticException
      Transforms the current template report item to the given real report item.
      Parameters:
      reportItemHandle - the real report item handle to replace this template report item
      Throws:
      SemanticException - if this template report item has no template definition or some containing contexts don't match
    • visibilityRulesIterator

      public Iterator visibilityRulesIterator()
      Returns visibility rules defined on the template report item. The element in the iterator is the corresponding StructureHandle that deal with a HideRule in the list.
      Returns:
      the iterator for visibility rules defined on this template report item.
      See Also: