| Constructor and Description |
|---|
TextResult()
A simple text result as HTML
|
TextResult(String text)
A simple text result, using the supplied text, as plain text.
|
TextResult(String text,
boolean isHtml)
Creates a section to hold some simple text.
|
| Modifier and Type | Method and Description |
|---|---|
ResultMetaData |
getResultMetaData()
Get the metadata for fine-tuning the display of this result.
|
String |
getText()
Get the text
|
boolean |
isHtml()
Whether it is HTML
|
String |
linkTo(String label,
IResult result)
Generate a link to another report, and save the referenced report too.
|
void |
setText(String text)
Set the text for the text result.
|
public TextResult()
public TextResult(String text)
text - the contents of the reportpublic TextResult(String text, boolean isHtml)
text - the contents of the reportisHtml - whether it is in HTMLpublic ResultMetaData getResultMetaData()
getResultMetaData in interface IResultpublic void setText(String text)
text - the contents of the reportpublic String getText()
public boolean isHtml()