org.pentaho.reporting.engine.classic.core.metadata
Interface ElementMetaData

All Superinterfaces:
MetaData
All Known Implementing Classes:
DefaultElementMetaData

public interface ElementMetaData
extends MetaData

Todo: Document Me

Author:
Thomas Morgner

Method Summary
 ElementType create()
           
 AttributeMetaData getAttributeDescription(String namespace, String name)
           
 AttributeMetaData[] getAttributeDescriptions()
           
 Class getContentType()
           
 Image getIcon(Locale locale, int iconKind)
           
 StyleMetaData getStyleDescription(StyleKey name)
           
 StyleMetaData[] getStyleDescriptions()
           
 boolean isContainerElement()
          Indicates whether the element described here is a container element, like "band".
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.metadata.MetaData
getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getGrouping, getGroupingOrdinal, getItemOrdinal, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
 

Method Detail

getIcon

Image getIcon(Locale locale,
              int iconKind)
Parameters:
locale - the locale.
iconKind - one of java.beans.BeanInfo#ICON_COLOR_16x16, java.beans.BeanInfo#ICON_COLOR_32x32, java.beans.BeanInfo#ICON_MONO_16x16, or java.beans.BeanInfo#ICON_MONO_32x32
Returns:
the image or null, if there is no icon.
See Also:
for the general semantics

getAttributeDescriptions

AttributeMetaData[] getAttributeDescriptions()

getStyleDescriptions

StyleMetaData[] getStyleDescriptions()

getAttributeDescription

AttributeMetaData getAttributeDescription(String namespace,
                                          String name)

getStyleDescription

StyleMetaData getStyleDescription(StyleKey name)

create

ElementType create()
                   throws InstantiationException
Throws:
InstantiationException

isContainerElement

boolean isContainerElement()
Indicates whether the element described here is a container element, like "band". Such element-types are tied to a specific element instance and cannot be shared freely.

Returns:

getContentType

Class getContentType()