org.pentaho.reporting.engine.classic.core.metadata
Class DefaultElementMetaData

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
      extended by org.pentaho.reporting.engine.classic.core.metadata.DefaultElementMetaData
All Implemented Interfaces:
Serializable, ElementMetaData, MetaData

public class DefaultElementMetaData
extends AbstractMetaData
implements ElementMetaData

Todo: Document Me

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
DefaultElementMetaData(String name, String bundleLocation, String keyPrefix, boolean expert, boolean preferred, boolean hidden, boolean deprecated, boolean container, org.pentaho.reporting.libraries.xmlns.common.AttributeMap attributes, HashMap styles, Class elementType, Class contentType, boolean experimental, int compatibilityLevel)
           
 
Method Summary
 ElementType create()
           
 AttributeMetaData getAttributeDescription(String namespace, String name)
           
 AttributeMetaData[] getAttributeDescriptions()
           
 Class getContentType()
           
 StyleMetaData getStyleDescription(StyleKey name)
           
 StyleMetaData[] getStyleDescriptions()
           
 boolean isContainerElement()
          Indicates whether the element described here is a container element, like "band".
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.metadata.AbstractMetaData
getBundle, getBundleLocation, getCompatibilityLevel, getDeprecationMessage, getDescription, getDisplayName, getGrouping, getGroupingOrdinal, getIcon, getItemOrdinal, getKeyPrefix, getMetaAttribute, getName, isDeprecated, isExperimental, isExpert, isHidden, isPreferred
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.metadata.ElementMetaData
getIcon
 
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
 

Constructor Detail

DefaultElementMetaData

public DefaultElementMetaData(String name,
                              String bundleLocation,
                              String keyPrefix,
                              boolean expert,
                              boolean preferred,
                              boolean hidden,
                              boolean deprecated,
                              boolean container,
                              org.pentaho.reporting.libraries.xmlns.common.AttributeMap attributes,
                              HashMap styles,
                              Class elementType,
                              Class contentType,
                              boolean experimental,
                              int compatibilityLevel)
Method Detail

getAttributeDescriptions

public AttributeMetaData[] getAttributeDescriptions()
Specified by:
getAttributeDescriptions in interface ElementMetaData

getStyleDescriptions

public StyleMetaData[] getStyleDescriptions()
Specified by:
getStyleDescriptions in interface ElementMetaData

getAttributeDescription

public AttributeMetaData getAttributeDescription(String namespace,
                                                 String name)
Specified by:
getAttributeDescription in interface ElementMetaData

getStyleDescription

public StyleMetaData getStyleDescription(StyleKey name)
Specified by:
getStyleDescription in interface ElementMetaData

create

public ElementType create()
                   throws InstantiationException
Specified by:
create in interface ElementMetaData
Throws:
InstantiationException

isContainerElement

public boolean isContainerElement()
Description copied from interface: ElementMetaData
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.

Specified by:
isContainerElement in interface ElementMetaData
Returns:

getContentType

public Class getContentType()
Specified by:
getContentType in interface ElementMetaData