org.jbehave.core.model
Class TableTransformers

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

public class TableTransformers
extends Object

Facade responsible for transforming table string representations. It allows the registration of several TableTransformers.TableTransformer instances by name.

Some Transformers are provided out-of-the-box:


Nested Class Summary
static class TableTransformers.FromLandscape
           
static interface TableTransformers.TableTransformer
           
 
Field Summary
static String FROM_LANDSCAPE
           
 
Constructor Summary
TableTransformers()
           
 
Method Summary
 String transform(String transformerName, String tableAsString, Properties properties)
           
 void useTransformer(String name, TableTransformers.TableTransformer transformer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FROM_LANDSCAPE

public static final String FROM_LANDSCAPE
See Also:
Constant Field Values
Constructor Detail

TableTransformers

public TableTransformers()
Method Detail

transform

public String transform(String transformerName,
                        String tableAsString,
                        Properties properties)

useTransformer

public void useTransformer(String name,
                           TableTransformers.TableTransformer transformer)


Copyright © 2003-2012. All Rights Reserved.