Class SharedStyleHandle

All Implemented Interfaces:
org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel, org.eclipse.birt.report.model.elements.interfaces.IStyleModel
Direct Known Subclasses:
CssSharedStyleHandle

public class SharedStyleHandle extends StyleHandle
Represents a named, shared style. A named, shared style is a style defined in components slot of a report design.
  • Constructor Details

    • SharedStyleHandle

      public SharedStyleHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
      Constructs a handle for a shared style. 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

    • getQualifiedName

      public String getQualifiedName()
      Description copied from class: DesignElementHandle
      Gets the name of this element. The returned element name will be the same as getName(), plus the namespace of the module that the element is contained, if the element name resides in the whole design tree scope; otherwise we will append the name of the holder where the element name resides. If the element is existed in the current module,this method and getName() will return identical results.
      Overrides:
      getQualifiedName in class DesignElementHandle
      Returns:
      the qualified name of the element.