org.specrunner.result.core
Class WritableFactoryManagerImpl
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,T>
org.specrunner.util.mapping.core.MappingManagerImpl<IWritableFactory<?>>
org.specrunner.result.core.WritableFactoryManagerImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,IWritableFactory<?>>, IWritableFactoryManager, IMappingManager<IWritableFactory<?>>
public class WritableFactoryManagerImpl
- extends MappingManagerImpl<IWritableFactory<?>>
- implements IWritableFactoryManager
Default writable manager implementation.
- Author:
- Thiago Santos
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Method Summary |
|
get(Class<T> type)
Gets a writable factory by type. |
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, isEmpty, put, putAll, remove, size, values |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
WritableFactoryManagerImpl
public WritableFactoryManagerImpl()
- Default constructor.
get
public <T> IWritableFactory<T> get(Class<T> type)
- Description copied from interface:
IWritableFactoryManager
- Gets a writable factory by type.
- Specified by:
get in interface IWritableFactoryManager
- Type Parameters:
T - The object source type.- Parameters:
type - The type of object to be used for writable creation.
- Returns:
- A factory, if it exists, null, otherwise.
Copyright © 2014. All rights reserved.