|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.impl.DesignEngineImpl
public class DesignEngineImpl
Implementation of DesignEngine.
| Field Summary | |
|---|---|
protected static java.util.logging.Logger |
errorLogger
The logger for errors. |
| Constructor Summary | |
|---|---|
DesignEngineImpl(DesignConfig config)
Constructs a DesignEngine with the given platform config. |
|
| Method Summary | |
|---|---|
IMetaDataDictionary |
getMetaData()
Gets the meta-data of the design engine. |
SessionHandle |
newSessionHandle(com.ibm.icu.util.ULocale locale)
Creates a new design session handle. |
IReportDesign |
openDesign(java.lang.String fileName,
java.io.InputStream ins,
IModuleOption options)
Opens the report design. |
void |
registerMetaLogger(IMetaLogger newLogger)
Registers a IMetaLogger to record initialization errors. |
boolean |
removeMetaLogger(IMetaLogger logger)
Removes a IMetaLogger. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static java.util.logging.Logger errorLogger
| Constructor Detail |
|---|
public DesignEngineImpl(DesignConfig config)
config - the platform config.| Method Detail |
|---|
public SessionHandle newSessionHandle(com.ibm.icu.util.ULocale locale)
newSessionHandle in interface IDesignEnginelocale - the user's locale. If null, uses the system
locale.
SessionHandlepublic IMetaDataDictionary getMetaData()
getMetaData in interface IDesignEnginepublic void registerMetaLogger(IMetaLogger newLogger)
IMetaLogger to record initialization errors. The
logger will be notified of the errors during meta-data initialization.
The meta-data system will be initialized once (and only once). Loggers
should be registered before the first time a session is created so that
it can be notified of the logging actions.
registerMetaLogger in interface IDesignEnginenewLogger - the MetaLogger to be registered.removeMetaLogger(IMetaLogger)public boolean removeMetaLogger(IMetaLogger logger)
IMetaLogger. This method will remove the logger
from the list and close the logger if it has already been registered. The
logger will no longer be notified of the errors during metadata
initialization. Returns true if this logger manager
contained the specified logger.
removeMetaLogger in interface IDesignEnginelogger - the MetaLogger to be removed.
true if this logger manager contained the specified
logger.registerMetaLogger(IMetaLogger)
public IReportDesign openDesign(java.lang.String fileName,
java.io.InputStream ins,
IModuleOption options)
throws DesignFileException
openDesign in interface IDesignEnginefileName - the report file nameins - the input stream. Can be null.options - options to control the way to open the design
DesignFileException - if the report file cannot be found or the file is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||