org.specrunner.context.core
Class BlockFactoryImpl
java.lang.Object
org.specrunner.context.core.BlockFactoryImpl
- All Implemented Interfaces:
- IBlockFactory
public class BlockFactoryImpl
- extends Object
- implements IBlockFactory
Default block factory implementation.
- Author:
- Thiago Santos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockFactoryImpl
public BlockFactoryImpl()
newBlock
public IBlock newBlock(nu.xom.Node element,
IPlugin plugin)
- Description copied from interface:
IBlockFactory
- Creates a new block.
- Specified by:
newBlock in interface IBlockFactory
- Parameters:
element - A node.plugin - A plugin.
- Returns:
- A new block.
newBlock
public IBlock newBlock(nu.xom.Node element,
IPlugin plugin,
Map<String,Object> map)
- Description copied from interface:
IBlockFactory
- Create a new block.
- Specified by:
newBlock in interface IBlockFactory
- Parameters:
element - A node.plugin - A plugin.map - An object mapping.
- Returns:
- A new block.
Copyright © 2014. All rights reserved.