|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.birt.core.internal.impl.ReportElementImpl
public class ReportElementImpl
| Field Summary | |
|---|---|
protected java.util.List |
childElements
|
protected java.util.List |
content
|
protected org.eclipse.tptp.platform.common.provisional.IOperationContext |
context
|
protected java.io.InputStream |
dataSource
|
protected java.io.OutputStream |
outputStream
|
protected java.lang.String |
rootFile
|
| Constructor Summary | |
|---|---|
ReportElementImpl()
|
|
| Method Summary | |
|---|---|
void |
generate()
|
java.util.List |
getChildElements()
A list of child report elements. |
java.util.List |
getContent()
|
org.eclipse.tptp.platform.common.provisional.IOperationContext |
getContext()
Returns the context object used to pass in report configuration information |
java.io.InputStream |
getDataSource()
Returns the input stream that contains the raw data to generate the report. |
protected java.lang.String |
getImageDir()
|
java.io.OutputStream |
getOutputStream()
Returns the output stream containing the resulting HTML content. |
java.lang.String |
getRootFile()
|
java.io.InputStream |
getTemplateFile()
Returns the input stream that contains the BIRT template file. |
void |
initialize()
Initializes the state of the report element object before generating the report. |
boolean |
isEmbedded()
Determines if the generated HTML output should generate head or body tags. |
boolean |
isSortable()
Determins if the generated HTML output should embed javascript to sort table columns. |
void |
setContent(java.util.List content)
|
void |
setContext(org.eclipse.tptp.platform.common.provisional.IOperationContext context)
Sets the context object used to pass in report configuration information |
void |
setDataSource(java.io.InputStream dataSource)
Sets the input stream that represents the raw data. |
void |
setEmbedded(boolean embedded)
Sets if the generated HTML output should generate head or body tags. |
void |
setOutputStream(java.io.OutputStream outputStream)
Sets the output stream containing the resulting HTML content. |
void |
setRootFile(java.lang.String rootFile)
|
void |
setSortable(boolean sortable)
Sets whether the generated HTML output should contain javascript to sort table columns. |
void |
setTemplateFile(java.io.InputStream templateFile)
Sets the input stream that contains the BIRT template file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.InputStream dataSource
protected java.io.OutputStream outputStream
protected java.util.List content
protected java.util.List childElements
protected org.eclipse.tptp.platform.common.provisional.IOperationContext context
protected java.lang.String rootFile
| Constructor Detail |
|---|
public ReportElementImpl()
| Method Detail |
|---|
public java.lang.String getRootFile()
public void setRootFile(java.lang.String rootFile)
public java.io.InputStream getTemplateFile()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
getTemplateFile in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setTemplateFile(java.io.InputStream templateFile)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setTemplateFile in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementtemplateFile - the input stream that contains the BIRT template file.public java.io.OutputStream getOutputStream()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
getOutputStream in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setOutputStream(java.io.OutputStream outputStream)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setOutputStream in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementoutputStream - the output stream containing the resulting HTML content.public java.io.InputStream getDataSource()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
getDataSource in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setDataSource(java.io.InputStream dataSource)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setDataSource in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementdataSource - the input stream that represents the raw data.public java.util.List getChildElements()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
getChildElements in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic java.util.List getContent()
public void setContent(java.util.List content)
public boolean isEmbedded()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
isEmbedded in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setEmbedded(boolean embedded)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setEmbedded in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementembedded - true if the resulting html output should contain head or body tags.public boolean isSortable()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
isSortable in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setSortable(boolean sortable)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setSortable in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementsortable - set whether the generated HTML output should contain javascript to sort table columns.public void initialize()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
initialize in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic org.eclipse.tptp.platform.common.provisional.IOperationContext getContext()
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
getContext in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementpublic void setContext(org.eclipse.tptp.platform.common.provisional.IOperationContext context)
org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
setContext in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElementcontext - the context object used to pass in report configuration informationprotected java.lang.String getImageDir()
public void generate()
generate in interface org.eclipse.tptp.platform.report.birt.core.provisional.IReportElement
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||