|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.query.results.TextResult
public class TextResult
This result is rendered as text. The input can be plain text, or HTML. Any object addresses can be rendered as links and allow the user to execute queries on the objects.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextResult()
public TextResult(String text)
text
- public TextResult(String text, boolean isHtml)
text
- the contents of the reportisHtml
- whether it is in HTMLMethod Detail |
---|
public ResultMetaData getResultMetaData()
getResultMetaData
in interface IResult
public void setText(String text)
text
- the contents of the reportpublic String getText()
public boolean isHtml()
public String linkTo(String label, IResult result)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |