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 4595 2011-09-08 15:55:10Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
 ComponentManager getComponentManager(java.lang.String componentName)
          Returns the manager for a component type identified by name.
 java.util.Set<java.lang.String> 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<java.lang.String> 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


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com