|
Oracle Reports Java API Reference 10g (9.0.4) B12019-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.reports.plugin.PluginFactoryTemplate
Base Factory class used by the Template Plugin Data Source. Provides sample code for a Plugin Data Source. Application developers are encouraged to extend or copy/modify the Template Plugin Data Source to create their own Plugin Data Source. Subclasses would typically call the following methods in the constructor or setReportContext to set up the Plugin Factory:
setPluginClass("sample.MyDataSourceClassName");
setEditorClass("sample.MyEditorClassName");
setMajorVersion(2);
setMinorVersion(0);
setName("MyDataSource");
setIconName("MyDSIcon");
Reports will call corresponding get methods to get the related Plugin Factory information after setReportContext is called. See PluginDataSourceTemplate for an example.
| Constructor Summary | |
PluginFactoryTemplate() | |
| Method Summary | |
void |
dispose()Removes the Plugin Factory and cleans up related resources. |
PluginEditor |
getEditor()Returns the plugin's editor. |
java.lang.String |
getEditorClass()Returns the plugin editor's class name. |
java.lang.String |
getHelpPrefix()Returns the prefix string for the error message help (e.g., "XR" for Express). |
java.lang.String |
getHelpSet()Returns the full path of the helpset file or a URL to the helpset file. |
java.lang.String |
getHint()Returns the plugin class name. |
java.lang.String |
getIconName()Returns the icon name of the plugin. |
int |
getMajorVersion()Returns the major version of the plugin. |
int |
getMinorVersion()Returns the minor version of the plugin. |
java.lang.String |
getName()Returns the plugin name. |
java.lang.String |
getPluginClass()Returns the plugin's class name. |
ReportContext |
getReportContext()Returns the Report Context, which is passed in to setReportContext. |
Plugin |
make()Makes a new plugin instance. |
protected void |
setEditorClass(java.lang.String editorname)Sets editor class name in the subclass constructor. |
protected void |
setHelpPrefix(java.lang.String helpPrefix)Sets help prefix in the subclass constructor. |
protected void |
setHelpSet(java.lang.String helpSet)Sets help set in the subclass constructor. |
void |
setHelpSetID(java.lang.String helpSetID)Sets the helpset ID for the plugin. |
protected void |
setHint(java.lang.String hint)Sets hint message in the subclass constructor. |
protected void |
setIconName(java.lang.String icon)Sets icon name in the subclass constructor. |
protected void |
setMajorVersion(int majorVersion)Sets major version in the subclass constructor. |
protected void |
setMinorVersion(int minorVersion)Sets minor version in the subclass constructor. |
protected void |
setName(java.lang.String pluginname)Sets plugin name in the subclass constructor. |
protected void |
setPluginClass(java.lang.String classname)Sets plugin class name in the subclass constructor. |
void |
setReportContext(ReportContext pReportContext)Passed in ReportContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PluginFactoryTemplate()
| Method Detail |
protected void setMajorVersion(int majorVersion)
protected void setMinorVersion(int minorVersion)
protected void setIconName(java.lang.String icon)
protected void setName(java.lang.String pluginname)
protected void setPluginClass(java.lang.String classname)
protected void setEditorClass(java.lang.String editorname)
protected void setHint(java.lang.String hint)
protected void setHelpSet(java.lang.String helpSet)
protected void setHelpPrefix(java.lang.String helpPrefix)
public void dispose()
dispose in interface PluginFactorypublic void setReportContext(ReportContext pReportContext)
setReportContext in interface PluginFactory
public ReportContext getReportContext()
throws PluginException
public java.lang.String getPluginClass()
public java.lang.String getEditorClass()
public int getMajorVersion()
getMajorVersion in interface PluginFactorypublic int getMinorVersion()
getMinorVersion in interface PluginFactorypublic java.lang.String getIconName()
getIconName in interface PluginFactorypublic java.lang.String getName()
getName in interface PluginFactorypublic java.lang.String getHint()
getHint in interface PluginFactory
public void setHelpSetID(java.lang.String helpSetID)
throws PluginException
setHelpSetID in interface PluginFactorypublic java.lang.String getHelpSet()
getHelpSet in interface PluginFactorypublic java.lang.String getHelpPrefix()
getHelpPrefix in interface PluginFactory
public PluginEditor getEditor()
throws PluginException
getEditor in interface PluginFactory
public Plugin make()
throws PluginException
make in interface PluginFactory
|
Oracle Reports Java API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||