|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICoordinatorFactory
Produces coordinator 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 coordinator factory instances. |
Method Summary | |
---|---|
ICoordinator |
create(String outputClassId,
XMLAccess xmlAccess,
ExportHelper context)
Creates the coordinator that exports a particular document class. |
List<CoordinatorInfo> |
getCoordinators()
Returns the information about all known output document classes. |
Field Detail |
---|
static final String EXTENSION_POINT_ID
Method Detail |
---|
ICoordinator create(String outputClassId, XMLAccess xmlAccess, ExportHelper context)
outputClassId
- the class of documents that this coordinator
produces. It may be one of preddefined constants or a custom one. If the
coordinator does not support this class then it must throw an exception.xmlAccess
- this document is about to be serialized.context
- the context object for coordinator.
IllegalArgumentException
- if the output class is not supported by
this coordinator.List<CoordinatorInfo> getCoordinators()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |