|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.base.Adaptee
org.norther.tammi.core.config.DefaultConfigurable
org.norther.tammi.sprig.report.AbstractReportEngine
public abstract class AbstractReportEngine
An abstract implementation of ReportEngine.
| Field Summary |
|---|
| Fields inherited from class org.norther.tammi.core.config.DefaultConfigurable |
|---|
MODIFIED, SYNCHRONIZED, UNMODIFIED |
| Fields inherited from class org.norther.tammi.core.base.Adaptee |
|---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
| Fields inherited from interface org.norther.tammi.core.base.MBeanDelegate |
|---|
ARRAY_TYPE, OBJECT_TYPE, PRIMITIVE_TYPE, STRING_TYPE |
| Constructor Summary | |
|---|---|
AbstractReportEngine()
Constructs a new engine. |
|
| Method Summary | |
|---|---|
Exporter |
createExporter(String extension)
Creates a new exporter. |
String |
getExporterClassName(String extension)
Gets the class name of the specified exporter. |
String |
getReportKey()
Gets the path finder key for resolving report paths. |
ReportLayout |
parse(File file)
Parses a report layout from the specified source file. |
ReportLayout |
parse(String path)
Parses a report layout from the specified source path. |
ReportLayout |
parse(String key,
String path)
Parses a report layout from the specified key path. |
ReportLayout |
parse(URL url)
Parses a report layout from the specified source URL. |
ReportLayout |
process(File file,
Map params,
TableModel data)
Processes a report layout from the specified source file. |
ReportLayout |
process(InputStream input,
Map params,
TableModel data)
Processes a report layout from the specified source stream. |
ReportLayout |
process(Reader reader,
Map params,
TableModel data)
Processes a report layout from the specified source reader. |
ReportLayout |
process(String path,
Map params,
TableModel data)
Processes a report layout from the specified source path. |
ReportLayout |
process(String key,
String path,
Map params,
TableModel data)
Processes a report layout from the specified key path. |
ReportLayout |
process(URL url,
Map params,
TableModel data)
Processes a report layout from the specified source URL. |
void |
removeExporterClassName(String extension)
Removes the class name of the specified exporter. |
void |
setExporterClassName(String extension,
String className)
Sets the class name of the specified exporter. |
void |
setReportKey(String key)
Sets the path finder key for resolving script paths. |
| Methods inherited from class org.norther.tammi.core.config.DefaultConfigurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getConfiguration, getModifiedState, getProperties, getProperty, getPropertyFilePath, indexOfProperty, loadConfiguration, loadConfiguration, loadConfiguration, modified, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setModifiedState, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Methods inherited from class org.norther.tammi.core.base.Adaptee |
|---|
addAdaptee, addNotificationListener, getAttributeSupport, getBroker, getCanonicalName, getDomain, getFactory, getLoader, getLog, getLog, getMBean, getMBeanServer, getNotificationInfo, getObjectName, getRegistrationTime, getSequenceNumber, hasListeners, isRegistered, postmanaged, premanaged, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, unmanaged, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.norther.tammi.sprig.report.ReportEngine |
|---|
fill, parse, parse |
| Methods inherited from interface org.norther.tammi.core.config.Configurable |
|---|
addProperty, addProperty, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, storeProperties |
| Constructor Detail |
|---|
public AbstractReportEngine()
| Method Detail |
|---|
public String getReportKey()
ReportEngine
getReportKey in interface ReportEnginepublic void setReportKey(String key)
ReportEngine
setReportKey in interface ReportEnginekey - the path finder key.
public ReportLayout parse(String path)
throws LogException
ReportEngine
parse in interface ReportEnginepath - the source path.
LogException - on errors.
public ReportLayout parse(String key,
String path)
throws LogException
ReportEngine
parse in interface ReportEnginekey - the path key.path - the source path.
LogException - on errors.
public ReportLayout parse(File file)
throws LogException
ReportEngine
parse in interface ReportEnginefile - the source file.
LogException - on errors.
public ReportLayout parse(URL url)
throws LogException
ReportEngine
parse in interface ReportEngineurl - the source URL.
LogException - on errors.
public ReportLayout process(String path,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEnginepath - the source path.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(String key,
String path,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEnginekey - the path key.path - the source path.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(File file,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEnginefile - the source file.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(URL url,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEngineurl - the source URL.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(Reader reader,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEnginereader - the source reader.params - the parameters.data - the data model.
LogException - on errors.
public ReportLayout process(InputStream input,
Map params,
TableModel data)
throws LogException
ReportEngine
process in interface ReportEngineinput - the source stream.params - the parameters.data - the data model.
LogException - on errors.public String getExporterClassName(String extension)
ReportEngine
getExporterClassName in interface ReportEngineextension - the file name or extension.
public void setExporterClassName(String extension,
String className)
ReportEngine
setExporterClassName in interface ReportEngineextension - the file name or extension.className - the class name of the exporter.public void removeExporterClassName(String extension)
ReportEngine
removeExporterClassName in interface ReportEngineextension - the file name or extension.
public Exporter createExporter(String extension)
throws LogException
ReportEngine
createExporter in interface ReportEngineextension - the file name or extension.
LogException - on errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||