org.specrunner.source
Interface ISourceFactory

All Superinterfaces:
IEncoded, IResetable, Serializable
All Known Implementing Classes:
AbstractSourceFactory, SourceFactoryHtml

public interface ISourceFactory
extends IEncoded, IResetable

A factory of sources.

Author:
Thiago Santos

Field Summary
 
Fields inherited from interface org.specrunner.source.IEncoded
DEFAULT_ENCODING, FEATURE_ENCODING
 
Method Summary
 ISource newSource(Object source)
          Creates a source from a String.
 
Methods inherited from interface org.specrunner.source.IEncoded
getEncoding
 
Methods inherited from interface org.specrunner.util.mapping.IResetable
initialize
 

Method Detail

newSource

ISource newSource(Object source)
                  throws SourceException
Creates a source from a String.

Parameters:
source - The source of specification.
Returns:
The source.
Throws:
SourceException - On creation errors.


Copyright © 2014. All rights reserved.