|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.norther.tammi.core.rt.Introspector
org.norther.tammi.spray.engine.tool.BeanTool
org.norther.tammi.sprig.report.tool.ReportTool
public class ReportTool
A request context tool for report processing.
| Constructor Summary | |
|---|---|
ReportTool()
Constructs a new tool. |
|
| Method Summary | |
|---|---|
protected Variable |
createVariable(String type)
Creates a variable MBean instance. |
void |
dispose()
Disposes the object after use. |
CharSequence |
evaluate(List layouts,
String extension)
Evaluates the specified layouts. |
CharSequence |
evaluate(ReportLayout layout,
String extension)
Evaluates the specified layout. |
void |
export(List layouts,
String extension)
Exports the specified layouts. |
void |
export(ReportLayout layout,
String extension)
Exports the specified layout. |
protected ReportFilter |
getReportFilter()
Gets the report filter from the filter stack. |
boolean |
isLocalizedVariables()
Checks whether variables are localized. |
ReportLayout |
process(CharSequence source,
Map params,
TableModel data)
Processes a char sequence layout. |
ReportLayout |
process(String path,
Map params,
TableModel data)
Processes a file layout. |
| Methods inherited from class org.norther.tammi.spray.engine.tool.BeanTool |
|---|
addValue, addValue, create, create, create, create, disposed, getContext, getContextToolFilter, getDefaultLocale, getDescription, getDetail, getEnumeration, getFilter, getFilterChain, getFilterKey, getGroup, getKeyValue, getMBeanServer, getName, getPrincipal, getRequest, getResourceMap, getResponse, getValue, getValue, getVariableRegistry, isBound, isDisposed, isFilterChanged, length, recycle, recycled, removeValue, removeValue, setValue, setValue, setValue, toString, toStrings, valueBound, valueUnbound |
| Methods inherited from class org.norther.tammi.core.rt.Introspector |
|---|
clearResourceCache, contains, exportTo, exportTo, getComparator, getConverter, getInfo, getInfo, getList, getList, getLocale, getMax, getMin, getPattern, getResource, getResourceBundle, getResourceBundle, getResourceBundleName, getResourceBundleName, hasConverter, importFrom, importFrom, isArray, isBlankAccepted, isCloneable, isCorrelative, isDisabled, isEmptyAccepted, isEnumerated, isInteractive, isLocal, isLocalized, isMandatory, isOrdered, isReadable, isSerialized, isSorted, isTraceable, isTransient, isTrimmed, isVisible, isWritable, setLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportTool()
| Method Detail |
|---|
public void dispose()
Recyclable
dispose in interface Recyclabledispose in class BeanTool
public ReportLayout process(CharSequence source,
Map params,
TableModel data)
source - the source sequence.params - the parameters.data - the data source.
public ReportLayout process(String path,
Map params,
TableModel data)
path - the source path.params - the parameters.data - the data source.
public CharSequence evaluate(ReportLayout layout,
String extension)
layout - the layout.extension - the extension.
public CharSequence evaluate(List layouts,
String extension)
layouts - a list of layouts.extension - the extension.
public void export(ReportLayout layout,
String extension)
layout - the layout.extension - the extension.
public void export(List layouts,
String extension)
layouts - a list of layouts.extension - the extension.public boolean isLocalizedVariables()
Introspector
isLocalizedVariables in class BeanTool
protected Variable createVariable(String type)
throws ConstructionException
Introspector
createVariable in class Introspectortype - the variable type.
ConstructionException - if construction fails.protected ReportFilter getReportFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||