public abstract class ExcelValidAnnotationHandler extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected Class<? extends Annotation> |
annotationClass
Annotation class
|
| 限定符 | 构造器和说明 |
|---|---|
protected |
ExcelValidAnnotationHandler(Class<? extends Annotation> annotationClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
Class<? extends Annotation> |
getAnnotationClass()
Get the validation annotation type of the handler
|
abstract void |
handle(Annotation validAnnotation,
ExcelWriterContext writerContext,
Field field,
org.apache.poi.ss.usermodel.Row row,
int colIndex,
Map<String,String[]> boxValues)
Validation handle
|
protected final Class<? extends Annotation> annotationClass
protected ExcelValidAnnotationHandler(Class<? extends Annotation> annotationClass)
public Class<? extends Annotation> getAnnotationClass()
public abstract void handle(Annotation validAnnotation, ExcelWriterContext writerContext, Field field, org.apache.poi.ss.usermodel.Row row, int colIndex, Map<String,String[]> boxValues)
validAnnotation - Excel valid annotationwriterContext - Write contextfield - Current fieldrow - Current rowcolIndex - Current col indexboxValues - Dropdown box value mapCopyright © 2021. All rights reserved.