net.sf.jasperreports.engine.component
Interface ComponentsBundle

All Known Implementing Classes:
DefaultComponentsBundle

public interface ComponentsBundle

A component bundle is a package comprising of one or several components that share the same XML namespace and schema.

Version:
$Id: ComponentsBundle.java 3033 2009-08-27 11:46:22Z teodord $
Author:
Lucian Chirita ([email protected])

Method Summary
 ComponentManager getComponentManager(java.lang.String componentName)
          Returns the manager for a component type identified by name.
 java.util.Set getComponentNames()
          Returns a set that contains the names of components included in this bundle.
 ComponentsXmlParser getXmlParser()
          Returns the XML parsing information for this bundle.
 

Method Detail

getXmlParser

ComponentsXmlParser getXmlParser()
Returns the XML parsing information for this bundle.

Returns:
the bundle XML parser

getComponentNames

java.util.Set getComponentNames()
Returns a set that contains the names of components included in this bundle.

Returns:
the set of component names in this bundle

getComponentManager

ComponentManager getComponentManager(java.lang.String componentName)
Returns the manager for a component type identified by name.

Parameters:
componentName - the component name
Returns:
the manager for the corresponding component type
Throws:
JRRuntimeException - if the bundle does not include a component type having the specified name


Copyright © 2011. All Rights Reserved.