|
||||||||||
| 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.templates.AbstractTemplate
org.pentaho.reporting.engine.classic.core.filter.templates.ResourceLabelTemplate
public class ResourceLabelTemplate
A resource label template.
| Constructor Summary | |
|---|---|
ResourceLabelTemplate()
Creates a new template. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clones the template. |
String |
getContent()
Returns the content. |
String |
getNullValue()
Returns the string that represents a null value. |
String |
getResourceIdentifier()
Returns the resource class name. |
Object |
getValue(ExpressionRuntime runtime,
Element element)
Returns the current value for the data source. |
void |
setContent(String content)
Sets the content. |
void |
setNullValue(String nullValue)
Sets the string that represents a null value. |
void |
setResourceIdentifier(String resourceClassName)
Sets the resource class name. |
| Methods inherited from class org.pentaho.reporting.engine.classic.core.filter.templates.AbstractTemplate |
|---|
getInstance, getName, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceLabelTemplate()
| Method Detail |
|---|
public String getResourceIdentifier()
public void setResourceIdentifier(String resourceClassName)
throws MissingResourceException
resourceClassName - the class name.
MissingResourceException - if the resource is missing.
NullPointerException - if the resource class name is null.public void setContent(String content)
content - the content.public String getContent()
public String getNullValue()
null value.
null value.public void setNullValue(String nullValue)
null value.
nullValue - The string that represents a null value.
public Object getValue(ExpressionRuntime runtime,
Element element)
runtime - the expression runtime that is used to evaluate formulas and expressions when computing the value of
this filter.element -
public Object clone()
throws CloneNotSupportedException
clone in interface DataSourceclone in class AbstractTemplateCloneNotSupportedException - this should never happen.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||