Class SheetMapperFactory

java.lang.Object
org.simpleflatmapper.map.mapper.AbstractMapperFactory<org.simpleflatmapper.csv.CsvColumnKey,SheetMapperFactory,org.apache.poi.ss.usermodel.Row>
org.simpleflatmapper.poi.SheetMapperFactory

public class SheetMapperFactory extends org.simpleflatmapper.map.mapper.AbstractMapperFactory<org.simpleflatmapper.csv.CsvColumnKey,SheetMapperFactory,org.apache.poi.ss.usermodel.Row>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.simpleflatmapper.map.mapper.AbstractMapperFactory

    org.simpleflatmapper.map.mapper.AbstractMapperFactory.DiscriminatorBuilder<S,K extends org.simpleflatmapper.map.FieldKey<K>,T>, org.simpleflatmapper.map.mapper.AbstractMapperFactory.DiscriminatorConditionBuilder<S,K extends org.simpleflatmapper.map.FieldKey<K>,KT,T>, org.simpleflatmapper.map.mapper.AbstractMapperFactory.DiscriminatorDSL<K extends org.simpleflatmapper.map.FieldKey<K>,MF extends org.simpleflatmapper.map.mapper.AbstractMapperFactory<K,MF,S>,S,T>, org.simpleflatmapper.map.mapper.AbstractMapperFactory.DiscriminatorOnColumnDSL<K extends org.simpleflatmapper.map.FieldKey<K>,MF extends org.simpleflatmapper.map.mapper.AbstractMapperFactory<K,MF,S>,S,T,KT>
  • Field Summary

    Fields inherited from class org.simpleflatmapper.map.mapper.AbstractMapperFactory

    discriminators, getterFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    getterFactory(org.simpleflatmapper.reflect.getter.GetterFactory<org.apache.poi.ss.usermodel.Row,org.simpleflatmapper.csv.CsvColumnKey> getterFactory)
    set a new getterFactory.
    newBuilder(Class<T> type)
     
     
    newBuilder(org.simpleflatmapper.util.TypeReference<T> type)
     
     
    newInstance(org.simpleflatmapper.map.mapper.AbstractMapperFactory<org.simpleflatmapper.csv.CsvColumnKey,?,org.apache.poi.ss.usermodel.Row> config)
     
    <T> SheetMapper<T>
    newMapper(Class<T> type)
     
    <T> SheetMapper<T>
     
    <T> SheetMapper<T>
    newMapper(org.simpleflatmapper.util.TypeReference<T> type)
     

    Methods inherited from class org.simpleflatmapper.map.mapper.AbstractMapperFactory

    addAlias, addAliases, addAliasForType, addColumnDefinition, addColumnDefinition, addColumnProperty, addColumnProperty, addColumnProperty, addColumnPropertyForType, addColumnPropertyForType, addColumnPropertyForType, addColumnPropertyForType, addGetterFactory, addGetterForType, addGetterForType, addGetterForType, addGetterForType, addGetterForType, addKeys, asmMapperNbFieldsLimit, assumeInjectionModifiesValues, columnDefinitions, columnDefinitions, consumerErrorHandler, consumerErrorHandler, discriminator, discriminator, discriminator, discriminator, discriminator, discriminator, discriminator, discriminator, enableSpeculativeArrayIndexResolution, enableSpeculativePropertyLookupOnObject, enrichColumnDefinitions, failOnAsm, fieldMapperErrorHandler, getClassMeta, getClassMeta, getClassMeta, getClassMetaWithExtraInstantiator, getClassMetaWithExtraInstantiator, getClassMetaWithExtraInstantiator, getReflectionService, ignoreColumns, ignoreColumns, ignoreColumns, ignorePropertyNotFound, mapperBuilderErrorHandler, mapperConfig, mapperConfig, maxMethodSize, propertyNameMatcherFactory, propertyNameMatcherFactory, reflectionService, rowFilter, rowHandlerErrorHandler, unorderedJoin, useAsm

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • newInstance

      public static SheetMapperFactory newInstance()
      Returns:
      new newInstance of factory
    • newInstance

      public static SheetMapperFactory newInstance(org.simpleflatmapper.map.mapper.AbstractMapperFactory<org.simpleflatmapper.csv.CsvColumnKey,?,org.apache.poi.ss.usermodel.Row> config)
    • getterFactory

      public SheetMapperFactory getterFactory(org.simpleflatmapper.reflect.getter.GetterFactory<org.apache.poi.ss.usermodel.Row,org.simpleflatmapper.csv.CsvColumnKey> getterFactory)
      set a new getterFactory.
      Parameters:
      getterFactory - the getterFactory
      Returns:
      the newInstance
    • newBuilder

      public <T> SheetMapperBuilder<T> newBuilder(Class<T> type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a builder on the specified type
    • newBuilder

      public <T> SheetMapperBuilder<T> newBuilder(org.simpleflatmapper.util.TypeReference<T> type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a builder on the specified type
    • newBuilder

      public <T> SheetMapperBuilder<T> newBuilder(Type type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a builder on the specified type
    • newMapper

      public <T> SheetMapper<T> newMapper(Class<T> type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a dynamic mapper on the specified type
    • newMapper

      public <T> SheetMapper<T> newMapper(org.simpleflatmapper.util.TypeReference<T> type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a dynamic mapper on the specified type
    • newMapper

      public <T> SheetMapper<T> newMapper(Type type)
      Type Parameters:
      T - the type to map
      Parameters:
      type - the type to map
      Returns:
      a dynamic mapper on the specified type