public class DefaultRowFormatterFactory extends java.lang.Object implements RowFormatterFactory
Table.objectFormatting()
attribute to create a RowFormatter.Table,
FieldBasedRowFormatter,
PlainRowFormatter| Constructor and Description |
|---|
DefaultRowFormatterFactory() |
| Modifier and Type | Method and Description |
|---|---|
RowFormatter |
create(java.lang.Class<?> parameterType,
java.lang.String parameterName,
Table tableAnnotation,
java.lang.annotation.Annotation[] annotations,
FormatterConfiguration configuration,
ObjectFormatter<?> objectFormatter)
Creates a new
RowFormatter instance. |
public RowFormatter create(java.lang.Class<?> parameterType, java.lang.String parameterName, Table tableAnnotation, java.lang.annotation.Annotation[] annotations, FormatterConfiguration configuration, ObjectFormatter<?> objectFormatter)
RowFormatterFactoryRowFormatter instance.create in interface RowFormatterFactoryparameterType - the type of the table parameterparameterName - the name of the table parametertableAnnotation - the Table annotation of the parameterannotations - all annotations of the table parameter including the Table annotationconfiguration - the formatter configurationobjectFormatter - the standard object formatter that would be used by JGivenRowFormatter