net.sf.jasperreports.engine.component
public class DefaultComponentsBundle extends java.lang.Object implements ComponentsBundle
components bundle
implementation.
A components bundle consists of a XML parser
instance and a map of component managers
.
Constructor and Description |
---|
DefaultComponentsBundle() |
Modifier and Type | Method and Description |
---|---|
ComponentManager |
getComponentManager(java.lang.String componentName)
Returns the manager for a component type identified by name.
|
java.util.Map |
getComponentManagers()
Returns the internal map of component managers, indexed by component 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.
|
void |
setComponentManagers(java.util.Map componentManagers)
Sets the map of component managers.
|
void |
setXmlParser(ComponentsXmlParser xmlParser)
Sets the components XML parser implementation.
|
public ComponentsXmlParser getXmlParser()
ComponentsBundle
getXmlParser
in interface ComponentsBundle
public void setXmlParser(ComponentsXmlParser xmlParser)
xmlParser
- the components XML parsergetXmlParser()
public java.util.Set getComponentNames()
ComponentsBundle
getComponentNames
in interface ComponentsBundle
public ComponentManager getComponentManager(java.lang.String componentName)
ComponentsBundle
getComponentManager
in interface ComponentsBundle
componentName
- the component namepublic java.util.Map getComponentManagers()
setComponentManagers(Map)
public void setComponentManagers(java.util.Map componentManagers)
The map needs to use component names as keys, and ComponentManager
instances as values.
componentManagers
- the map of component managers© 2001-2010 Jaspersoft Corporation www.jaspersoft.com