org.eclipse.birt.report.engine.extension
Interface IReportItemExecutor

All Known Implementing Classes:
ItemExecutorWrapper, org.eclipse.birt.report.engine.extension.ReportItemExecutorBase

public interface IReportItemExecutor


Method Summary
 void close()
          close the executor, if the executor is closed, all sub executor will be terminate also.
 IContent execute()
          execute the report item
 IContent getContent()
          get the content
 IExecutorContext getContext()
          get executor context
 java.lang.Object getModelObject()
          get extended report item model handle
 IReportItemExecutor getNextChild()
          return the next child's executor
 IReportItemExecutor getParent()
          get parent report item executor
 IBaseResultSet[] getQueryResults()
          get QueryResults of the executor
 boolean hasNextChild()
          does the executor has child executor
 void setContext(IExecutorContext context)
          set executor context to the extension executor
 void setModelObject(java.lang.Object handle)
          set extended report item model handle to the extension executor *
 void setParent(IReportItemExecutor parent)
          set parent report item executor
 

Method Detail

setModelObject

void setModelObject(java.lang.Object handle)
set extended report item model handle to the extension executor *

Parameters:
handle - a handle to the extended item model object

setContext

void setContext(IExecutorContext context)
set executor context to the extension executor

Parameters:
context -

setParent

void setParent(IReportItemExecutor parent)
set parent report item executor

Parameters:
parent -

getParent

IReportItemExecutor getParent()
get parent report item executor


getModelObject

java.lang.Object getModelObject()
get extended report item model handle


getContext

IExecutorContext getContext()
get executor context


execute

IContent execute()
execute the report item


getQueryResults

IBaseResultSet[] getQueryResults()
get QueryResults of the executor


getContent

IContent getContent()
get the content


hasNextChild

boolean hasNextChild()
does the executor has child executor

Returns:

getNextChild

IReportItemExecutor getNextChild()
return the next child's executor


close

void close()
close the executor, if the executor is closed, all sub executor will be terminate also.



Copyright © 2008 Actuate Corp. All rights reserved.