|
||||||||||
| 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.URLFilter
public class URLFilter
The URLFilter forms URLs from Strings ,Files and URLs. If an URL is relative, the missing contents can be obtained by a default url, called the baseURL.
| Constructor Summary | |
|---|---|
URLFilter()
DefaultConstructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a clone of the URL filter. |
URL |
getBaseURL()
Gets the base url used to make relative URLs absolute. |
DataSource |
getDataSource()
Returns the data source for the filter. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Tries to form a url from the object returned from the datasource. |
void |
setBaseURL(URL baseURL)
Defines the base url used to complete relative urls. |
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 URLFilter()
| Method Detail |
|---|
public DataSource getDataSource()
getDataSource in interface DataTargetpublic void setDataSource(DataSource ds)
setDataSource in interface DataTargetds - The data source.
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 URL getBaseURL()
public void setBaseURL(URL baseURL)
baseURL - the base URL.
public Object clone()
throws CloneNotSupportedException
clone in interface DataSourceclone in interface DataTargetclone in class ObjectCloneNotSupportedException - should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||