|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents the extended item generation extension, which processes the report item at report geenration time.
Method Summary | |
void |
finish()
Performs clean up work |
org.eclipse.birt.report.engine.extension.Size |
getSize()
Get the size of the extended item. |
boolean |
needSerialization()
returns whether the extended item needs serialization of state information at generation time |
void |
onRowSets(IRowSet[] rowSets)
processes the extended item in report generation environment. |
void |
serialize(java.io.OutputStream ostream)
serializes the extended item generation time state. |
void |
setApplicationClassLoader(java.lang.ClassLoader loader)
passes the class loader used to load user defined classes. |
void |
setModelObject(org.eclipse.birt.report.model.api.ExtendedItemHandle modelHandle)
passes a handle to the extended report item model to the extension |
void |
setReportQueries(org.eclipse.birt.data.engine.api.IBaseQueryDefinition[] queries)
pass the prepared query definition to extended item implementation, so that it can access data. |
void |
setScriptContext(org.eclipse.birt.report.engine.api.script.IReportContext context)
pass the script context to the report item. |
Method Detail |
public void setModelObject(org.eclipse.birt.report.model.api.ExtendedItemHandle modelHandle)
modelHandle
- a handle to the extended item model objectpublic void setApplicationClassLoader(java.lang.ClassLoader loader)
loader
- class loader used to load the classespublic void setScriptContext(org.eclipse.birt.report.engine.api.script.IReportContext context)
context
- report context used by java-based scriptpublic void setReportQueries(org.eclipse.birt.data.engine.api.IBaseQueryDefinition[] queries)
public void onRowSets(IRowSet[] rowSets) throws org.eclipse.birt.core.exception.BirtException
rowSets
- rowSets an array of row sets that is passed to the extension
org.eclipse.birt.core.exception.BirtException
- throws exception when there is a problem processing the
extended itempublic boolean needSerialization()
public void serialize(java.io.OutputStream ostream) throws org.eclipse.birt.core.exception.BirtException
ostream
- the output stream to write the generation time state of the
extended item to
org.eclipse.birt.core.exception.BirtException
- when there is a problem serializing the extended item statepublic org.eclipse.birt.report.engine.extension.Size getSize()
public void finish()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |