|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jrefinery.report.filter.templates.AbstractTemplate
com.jrefinery.report.filter.templates.ResourceLabelTemplate
A resource label template.
Constructor Summary | |
ResourceLabelTemplate()
Creates a new template. |
Method Summary | |
java.lang.Object |
clone()
Clones the template. |
java.lang.String |
getContent()
Returns the content. |
java.lang.String |
getNullValue()
Returns the string that represents a null value. |
java.lang.String |
getResourceClassName()
Returns the resource class name. |
java.lang.Object |
getValue()
Returns the current value for the data source. |
void |
setContent(java.lang.String content)
Sets the content. |
void |
setNullValue(java.lang.String nullValue)
Sets the string that represents a null value. |
void |
setResourceClassName(java.lang.String resourceClassName)
Sets the resource class name. |
Methods inherited from class com.jrefinery.report.filter.templates.AbstractTemplate |
getInstance, getName, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResourceLabelTemplate()
Method Detail |
public java.lang.String getResourceClassName()
public void setResourceClassName(java.lang.String resourceClassName) throws java.util.MissingResourceException
resourceClassName
- the class name.
java.util.MissingResourceException
- if the resource is missing.public void setContent(java.lang.String content)
content
- the content.public java.lang.String getContent()
public java.lang.String getNullValue()
null
value.
null
value.public void setNullValue(java.lang.String nullValue)
null
value.
nullValue
- The string that represents a null
value.public java.lang.Object getValue()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in interface DataSource
clone
in class AbstractTemplate
java.lang.CloneNotSupportedException
- this should never happen.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |