public class DrawableURLElementTemplate extends AbstractTemplate
Constructor and Description |
---|
DrawableURLElementTemplate()
Creates a new template.
|
Modifier and Type | Method and Description |
---|---|
DrawableURLElementTemplate |
clone()
Clones the template.
|
URL |
getBaseURL()
Returns the base URL.
|
String |
getContent()
Returns the URL text for the template.
|
Object |
getValue(ExpressionRuntime runtime,
ReportElement element)
Returns the current value for the data source.
|
void |
setBaseURL(URL baseURL)
Sets the base URL.
|
void |
setContent(String content)
Sets the URL for the template.
|
getInstance, getName, setName
public DrawableURLElementTemplate()
public void setContent(String content)
content
- the URL.public String getContent()
public URL getBaseURL()
public void setBaseURL(URL baseURL)
baseURL
- the URL.public Object getValue(ExpressionRuntime runtime, ReportElement element)
runtime
- the expression runtime that is used to evaluate formulas and expressions when computing the value of this
filter.element
- public DrawableURLElementTemplate clone() throws CloneNotSupportedException
clone
in interface DataSource
clone
in class AbstractTemplate
CloneNotSupportedException
- this should never happen.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.