|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.component.ComponentsEnvironment
public final class ComponentsEnvironment
A class that provides access to component bundles
.
Component bundles are registered as JasperReports extensions of type
ComponentsBundle
via the central extension framework (see
ExtensionsEnvironment
).
Method Summary | |
---|---|
protected static java.util.Map<java.lang.String,ComponentsBundle> |
findComponentBundles()
|
protected static java.util.Map<java.lang.String,ComponentsBundle> |
getCachedComponentBundles()
|
static java.util.Collection<ComponentsBundle> |
getComponentBundles()
Returns the set of all component bundles present in the registry. |
static ComponentManager |
getComponentManager(ComponentKey componentKey)
Returns a component manager that corresponds to a particular component type key. |
static ComponentsBundle |
getComponentsBundle(java.lang.String namespace)
Returns a component bundle that corresponds to a namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Collection<ComponentsBundle> getComponentBundles()
protected static java.util.Map<java.lang.String,ComponentsBundle> getCachedComponentBundles()
protected static java.util.Map<java.lang.String,ComponentsBundle> findComponentBundles()
public static ComponentsBundle getComponentsBundle(java.lang.String namespace)
namespace
- a component bundle namespace
JRRuntimeException
- if no bundle corresponding to the namespace
is found in the registrypublic static ComponentManager getComponentManager(ComponentKey componentKey)
componentKey
- the component type key
JRRuntimeException
- if the registry does not contain the specified
component type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |