de.intarsys.tools.adapter
Class StandardAdapterOutlet
java.lang.Object
de.intarsys.tools.adapter.StandardAdapterOutlet
- All Implemented Interfaces:
- IAdapterFactory, IAdapterOutlet
public class StandardAdapterOutlet
- extends Object
- implements IAdapterOutlet
The standard implementation for IAdapterOutlet
.
StandardAdapterOutlet
public StandardAdapterOutlet()
getAdapter
public <T> T getAdapter(Object object,
Class<T> clazz)
- Description copied from interface:
IAdapterFactory
- Return an object of type
clazz
that represents
object
.
This method should return null
if adaption is not
possible.
- Specified by:
getAdapter
in interface IAdapterFactory
- Returns:
getBaseType
public Class getBaseType()
- Description copied from interface:
IAdapterFactory
- The type of objects that can be adapted by this factory.
- Specified by:
getBaseType
in interface IAdapterFactory
- Returns:
registerAdapterFactory
public void registerAdapterFactory(IAdapterFactory factory)
- Specified by:
registerAdapterFactory
in interface IAdapterOutlet
unregisterAdapterFactory
public void unregisterAdapterFactory(IAdapterFactory factory)
- Specified by:
unregisterAdapterFactory
in interface IAdapterOutlet
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.