|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.norther.tammi.core.config.DefaultConfigurable |
---|
DefaultConfigurable.Modified |
Field Summary |
---|
Fields inherited from class org.norther.tammi.core.base.Adaptee |
---|
ADAPTEE_NOTIF_DESCRIPTION, ADAPTEE_NOTIFICATIONS |
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<String,Object> params,
TableModel data)
Processes a report layout from the specified source file. |
ReportLayout |
process(InputStream input,
String encoding,
Map<String,Object> params,
TableModel data)
Processes a report layout from the specified source stream. |
ReportLayout |
process(Reader reader,
Map<String,Object> params,
TableModel data)
Processes a report layout from the specified source reader. |
ReportLayout |
process(String path,
Map<String,Object> params,
TableModel data)
Processes a report layout from the specified source path. |
ReportLayout |
process(String key,
String path,
Map<String,Object> params,
TableModel data)
Processes a report layout from the specified key path. |
ReportLayout |
process(URL url,
Map<String,Object> 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.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, addPropertyFilePath, addPropertyFilePath, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, getPropertyFilePaths, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, removePropertyFilePath, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, setPropertyFilePaths, setPropertyFilePaths, storeProperties |
Constructor Detail |
---|
public AbstractReportEngine()
Method Detail |
---|
public String getReportKey()
ReportEngine
getReportKey
in interface ReportEngine
public void setReportKey(String key)
ReportEngine
setReportKey
in interface ReportEngine
key
- the path finder key.public ReportLayout parse(String path) throws LogException
ReportEngine
parse
in interface ReportEngine
path
- the source path.
LogException
- on errors.public ReportLayout parse(String key, String path) throws LogException
ReportEngine
parse
in interface ReportEngine
key
- the path key.path
- the source path.
LogException
- on errors.public ReportLayout parse(File file) throws LogException
ReportEngine
parse
in interface ReportEngine
file
- the source file.
LogException
- on errors.public ReportLayout parse(URL url) throws LogException
ReportEngine
parse
in interface ReportEngine
url
- the source URL.
LogException
- on errors.public ReportLayout process(String path, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
path
- the source path.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(String key, String path, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
key
- the path key.path
- the source path.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(File file, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
file
- the source file.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(URL url, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
url
- the source URL.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(Reader reader, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
reader
- the source reader.params
- the parameters.data
- the data model.
LogException
- on errors.public ReportLayout process(InputStream input, String encoding, Map<String,Object> params, TableModel data) throws LogException
ReportEngine
process
in interface ReportEngine
input
- the source stream.encoding
- the encoding.params
- the parameters.data
- the data model.
LogException
- on errors.public String getExporterClassName(String extension)
ReportEngine
getExporterClassName
in interface ReportEngine
extension
- the file name or extension.
public void setExporterClassName(String extension, String className)
ReportEngine
setExporterClassName
in interface ReportEngine
extension
- the file name or extension.className
- the class name of the exporter.public void removeExporterClassName(String extension)
ReportEngine
removeExporterClassName
in interface ReportEngine
extension
- the file name or extension.public Exporter createExporter(String extension) throws LogException
ReportEngine
createExporter
in interface ReportEngine
extension
- the file name or extension.
LogException
- on errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |