Module jonix

Class FieldTabulatorFactory<P>

java.lang.Object
com.tectonica.jonix.tabulate.FieldTabulatorFactory<P>
Type Parameters:
P - the class representing the ONIX Product record
Direct Known Subclasses:
FieldTabulatorFactory.Plural, FieldTabulatorFactory.Singular

public class FieldTabulatorFactory<P> extends Object
Utility class, which acts as a base-class for FieldTabulatorFactory.Singular and FieldTabulatorFactory.Plural, both of which are user-facing factories for creating FieldTabulator given the field's column names, tabulation function, and the amount of required occurrences. When more than one occurrence is desired, this class will create a header with indexed values of the column names (e.g. "Author" times 3 will become "Author1", "Author2", "Author3") Users may subclass this class for similar purposes.