org.jbehave.core.model
Class ExamplesTableFactory

java.lang.Object
  extended by org.jbehave.core.model.ExamplesTableFactory

public class ExamplesTableFactory
extends Object

Factory that creates instances of ExamplesTable from different type of inputs:

Factory also supports optional specification of ParameterConverters to allow the ExamplesTable to convert row values.

NOTE: Users needing parameter conversion in the ExamplesTable, i.e. invoking ExamplesTable.getRowAsParameters(int), will need to use a factory constructor providing explicitly the ParameterConverters instance configured in the Configuration.useParameterConverters(ParameterConverters).


Constructor Summary
ExamplesTableFactory()
           
ExamplesTableFactory(Keywords keywords)
           
ExamplesTableFactory(Keywords keywords, ResourceLoader resourceLoader, ParameterConverters parameterConverters)
           
ExamplesTableFactory(ParameterConverters parameterConverters)
           
ExamplesTableFactory(ResourceLoader resourceLoader)
           
 
Method Summary
 ExamplesTable createExamplesTable(String input)
           
protected  boolean isTable(String input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExamplesTableFactory

public ExamplesTableFactory()

ExamplesTableFactory

public ExamplesTableFactory(Keywords keywords)

ExamplesTableFactory

public ExamplesTableFactory(ParameterConverters parameterConverters)

ExamplesTableFactory

public ExamplesTableFactory(ResourceLoader resourceLoader)

ExamplesTableFactory

public ExamplesTableFactory(Keywords keywords,
                            ResourceLoader resourceLoader,
                            ParameterConverters parameterConverters)
Method Detail

createExamplesTable

public ExamplesTable createExamplesTable(String input)

isTable

protected boolean isTable(String input)


Copyright © 2003-2011. All Rights Reserved.