org.specrunner.source
Interface ISourceFactoryManager

All Superinterfaces:
IMappingManager<ISourceFactory>, Map<String,ISourceFactory>
All Known Implementing Classes:
SourceFactoryManagerImpl

public interface ISourceFactoryManager
extends IMappingManager<ISourceFactory>

A source factory manager.

Author:
Thiago Santos

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.specrunner.util.mapping.IMappingManager
DEFAULT_NAME
 
Method Summary
 ISource newSource(Object source)
          Get an instance of a source factory compatible with the given source.
 
Methods inherited from interface org.specrunner.util.mapping.IMappingManager
bind, getDefault, setDefault
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Method Detail

newSource

ISource newSource(Object source)
                  throws SourceException
Get an instance of a source factory compatible with the given source.

Parameters:
source - The specification source object.
Returns:
A source factory.
Throws:
SourceException - If a reader for source cannot be found.


Copyright © 2014. All rights reserved.