org.specrunner.context
Interface IBlockFactory

All Known Subinterfaces:
IContext
All Known Implementing Classes:
BlockFactoryImpl, ContextImpl

public interface IBlockFactory

Block factory.

Author:
Thiago Santos

Method Summary
 IBlock newBlock(nu.xom.Node node, IPlugin plugin)
          Creates a new block.
 IBlock newBlock(nu.xom.Node node, IPlugin plugin, Map<String,Object> map)
          Create a new block.
 

Method Detail

newBlock

IBlock newBlock(nu.xom.Node node,
                IPlugin plugin)
Creates a new block.

Parameters:
node - A node.
plugin - A plugin.
Returns:
A new block.

newBlock

IBlock newBlock(nu.xom.Node node,
                IPlugin plugin,
                Map<String,Object> map)
Create a new block.

Parameters:
node - A node.
plugin - A plugin.
map - An object mapping.
Returns:
A new block.


Copyright © 2014. All rights reserved.