Interface RowFormatterFactory

All Known Implementing Classes:
DefaultRowFormatterFactory, FieldBasedRowFormatter.Factory, PlainRowFormatter.Factory

public interface RowFormatterFactory
Factory for creating ObjectRowFormatter instances
Since:
0.10.0
See Also:
  • Method Details

    • create

      RowFormatter create(Class<?> parameterType, String parameterName, Table tableAnnotation, Annotation[] annotations, FormatterConfiguration configuration, ObjectFormatter<?> objectFormatter)
      Creates a new RowFormatter instance.
      Parameters:
      parameterType - the type of the table parameter
      parameterName - the name of the table parameter
      tableAnnotation - the Table annotation of the parameter
      annotations - all annotations of the table parameter including the Table annotation
      configuration - the formatter configuration
      objectFormatter - the standard object formatter that would be used by JGiven
      Returns:
      an instance of RowFormatter