net.sf.jasperreports.engine.export
public final class GenericElementHandlerEnviroment extends java.lang.Object
generic element handlers.
Generic element handler bundles are registered as JasperReports extensions
of type GenericElementHandlerBundle via the central extension
framework (see ExtensionsEnvironment).
| Modifier and Type | Method and Description |
|---|---|
static GenericElementHandler |
getHandler(JRGenericElementType type,
java.lang.String exporterKey)
Returns a handler for a generic print element type and an exporter
key.
|
protected static java.util.Map |
getHandlerBundles() |
protected static java.util.Map |
loadHandlerBundles() |
public static GenericElementHandler getHandler(JRGenericElementType type, java.lang.String exporterKey)
The method first locates a
handler bundle that matches the type
namespace, and then uses
GenericElementHandlerBundle.getHandler(String, String) to
resolve an export handler.
type - the generic element typeexporterKey - the exporter keyJRRuntimeException - if a handler does not exist for the
combination of element type and exporter keyprotected static java.util.Map getHandlerBundles()
protected static java.util.Map loadHandlerBundles()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com