|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IExporterFactory
Produces the Exporter
instances. Must be equal only to factory
with same class. hashCode()
must be implemented correctly
aswell, to reflect this behaviour. It must be instantiable using the
zero-argument public constructor.
Field Summary | |
---|---|
static String |
EXTENSION_POINT_ID
ID of extension point for exporter factory instances. |
Method Summary | |
---|---|
Map<String,ExporterInfo> |
getSupportedExporters()
Returns map that maps ID of an exporter to the information about that exporter. |
IExporter |
produce(String id,
ExportHelper helper)
Produces an instance of exporter denoted by given ID. |
Field Detail |
---|
static final String EXTENSION_POINT_ID
Method Detail |
---|
IExporter produce(String id, ExportHelper helper) throws ExportException
id
- id of the exporter.helper
- the helper object.
ExportException
- if error occurs during exporter creation.
IllegalArgumentException
- if id is not known.Map<String,ExporterInfo> getSupportedExporters() throws ExportException
ExportException
- if problem occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |