public class DefaultTableFormatter extends java.lang.Object implements TableFormatter
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTableFormatter.Factory |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_NUMBERED_HEADER |
| Constructor and Description |
|---|
DefaultTableFormatter(FormatterConfiguration formatterConfiguration,
ObjectFormatter<?> objectFormatter) |
| Modifier and Type | Method and Description |
|---|---|
DataTable |
format(java.lang.Object tableArgument,
Table tableAnnotation,
java.lang.String parameterName,
java.lang.annotation.Annotation... allAnnotations)
Generates a
DataTable from a given table argument |
public static final java.lang.String DEFAULT_NUMBERED_HEADER
public DefaultTableFormatter(FormatterConfiguration formatterConfiguration, ObjectFormatter<?> objectFormatter)
public DataTable format(java.lang.Object tableArgument, Table tableAnnotation, java.lang.String parameterName, java.lang.annotation.Annotation... allAnnotations)
TableFormatterDataTable from a given table argumentformat in interface TableFormattertableArgument - the actual argument passed to the step methodtableAnnotation - the annotation of the step method parameterparameterName - the name of the step method parameterallAnnotations - all annotations of the step method parameter, including Table