|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.reporting.engine.classic.core.filter.ImageLoadFilter
public class ImageLoadFilter
The image load filter is used to load images during the report generation process. This filter expects its datasource
to return a java.net.URL. If the datasource does not return an URL, null is returned.
| Constructor Summary | |
|---|---|
ImageLoadFilter()
creates a new ImageLoadFilter with a cache size of 10. |
|
ImageLoadFilter(int cacheSize)
Creates a new ImageLoadFilter with the defined cache size. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clones the filter. |
DataSource |
getDataSource()
Returns the data source for the filter. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Reads this filter's datasource and if the source returned an URL, tries to form a imagereference. |
void |
setDataSource(DataSource ds)
Sets the data source. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageLoadFilter()
public ImageLoadFilter(int cacheSize)
cacheSize - the cache size.| Method Detail |
|---|
public Object getValue(ExpressionRuntime runtime,
Element element)
getValue in interface DataSourceruntime - the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element -
public DataSource getDataSource()
getDataSource in interface DataTargetpublic void setDataSource(DataSource ds)
setDataSource in interface DataTargetds - The data source.
public Object clone()
throws CloneNotSupportedException
clone in interface DataSourceclone in interface DataTargetclone in class ObjectCloneNotSupportedException - this should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||