| net.refractions.udig.catalog.IResolveAdapterFactory
IResolveAdapterFactory | public interface IResolveAdapterFactory (Code) | | Adapts a resolve handle into another type of object.
This API differs from the generic eclipse adaptable api:
- we need to explicitly account for contacting external resources
author: Justin Deoliveira, The Open Planning Project, jdeolive@openplans.org |
Method Summary | |
Object | adapt(IResolve resolve, Class adapter, IProgressMonitor monitor) Performs an adaptation to a particular adapter.
Parameters: resolve - The handle being adapted. Parameters: adapter - The adapting class. Parameters: monitor - Progress monitor for blocking class. | boolean | canAdapt(IResolve resolve, Class adapter) Determines if a perticular adaptation is supported.
Parameters: resolve - The handle being adapted. Parameters: adapter - The adapting class. |
adapt | Object adapt(IResolve resolve, Class adapter, IProgressMonitor monitor) throws IOException(Code) | | Performs an adaptation to a particular adapter.
Parameters: resolve - The handle being adapted. Parameters: adapter - The adapting class. Parameters: monitor - Progress monitor for blocking class. The adapter, or null if adapation not possible. throws: IOException - Any I/O errors that occur. |
canAdapt | boolean canAdapt(IResolve resolve, Class adapter)(Code) | | Determines if a perticular adaptation is supported.
Parameters: resolve - The handle being adapted. Parameters: adapter - The adapting class. True if supported, otherwise false. |
|
|