Class actuate.data.ReportContent
The ReportContent class handles downloaded content.
Member of: actuate.data.
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs a ReportContent object.
|
Method Attributes | Method Name and Description |
---|---|
Returns the text in the downloaded content.
|
Class Detail
actuate.data.ReportContent(data)
Constructs a ReportContent object.
- Parameters:
- {String} data
- Content text.
Method Detail
{String} getTextContent()
Returns the text in the downloaded content. To make a callback function that prints back the first line of text from some downloaded content back onto the page, use code similar to the following:
function callback(data1){ var rcontent = data1.ReportContent.getTextContent( ); var contentArray = rcontent.split("\n"); var items = contentArray.length document.write("<P>\n") document.write(listItems.arguments[o] + "\n</P>") }
- Returns:
- {String} The text in the downloaded content.