|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.component.DefaultComponentsBundle
public class DefaultComponentsBundle
The default components bundle
implementation.
A components bundle consists of a XML parser
instance and a map of component managers
.
Constructor Summary | |
---|---|
DefaultComponentsBundle()
|
Method Summary | |
---|---|
ComponentManager |
getComponentManager(java.lang.String componentName)
Returns the manager for a component type identified by name. |
java.util.Map<java.lang.String,ComponentManager> |
getComponentManagers()
Returns the internal map of component managers, indexed by component 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. |
void |
setComponentManagers(java.util.Map<java.lang.String,ComponentManager> componentManagers)
Sets the map of component managers. |
void |
setXmlParser(ComponentsXmlParser xmlParser)
Sets the components XML parser implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultComponentsBundle()
Method Detail |
---|
public ComponentsXmlParser getXmlParser()
ComponentsBundle
getXmlParser
in interface ComponentsBundle
public void setXmlParser(ComponentsXmlParser xmlParser)
xmlParser
- the components XML parsergetXmlParser()
public java.util.Set<java.lang.String> getComponentNames()
ComponentsBundle
getComponentNames
in interface ComponentsBundle
public ComponentManager getComponentManager(java.lang.String componentName)
ComponentsBundle
getComponentManager
in interface ComponentsBundle
componentName
- the component name
public java.util.Map<java.lang.String,ComponentManager> getComponentManagers()
setComponentManagers(Map)
public void setComponentManagers(java.util.Map<java.lang.String,ComponentManager> componentManagers)
The map needs to use component names as keys, and ComponentManager
instances as values.
componentManagers
- the map of component managers
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |