com.alibaba.excel.write.metadata.holder
类 AbstractWriteHolder
- java.lang.Object
-
- com.alibaba.excel.metadata.AbstractHolder
-
- com.alibaba.excel.write.metadata.holder.AbstractWriteHolder
-
- 所有已实现的接口:
- ConfigurationHolder, Holder, WriteHolder
public abstract class AbstractWriteHolder extends AbstractHolder implements WriteHolder
Write holder configuration- 作者:
- Jiaju Zhuang
-
属性概要
所有方法 实例方法 具体方法 类型 属性和说明 ExcelWriteHeadProperty
excelWriteHead
What 'ExcelWriteHeadProperty' does the currently operated cell need to execute
字段概要
字段 限定符和类型 字段和说明 CellHandlerExecutionChain
cellHandlerExecutionChain
Execute the cell handler chainSheetHandlerExecutionChain
ownSheetHandlerExecutionChain
Execute the sheet handler chain Created in the sheet in the workbook interceptors will not be executed because the workbook to create an event long past.WorkbookHandlerExecutionChain
ownWorkbookHandlerExecutionChain
Execute the workbook handler chain Created in the sheet in the workbook interceptors will not be executed because the workbook to create an event long past.RowHandlerExecutionChain
rowHandlerExecutionChain
Execute the row handler chainSheetHandlerExecutionChain
sheetHandlerExecutionChain
Execute the sheet handler chainWorkbookHandlerExecutionChain
workbookHandlerExecutionChain
Execute the workbook handler chain
构造器概要
构造器 构造器和说明 AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
方法概要
所有方法 实例方法 具体方法 限定符和类型 方法和说明 boolean
automaticMergeHead()
Whether need automatic merge headers.protected void
buildChain(WriteHandler writeHandler, boolean runOwn)
ExcelWriteHeadProperty
excelWriteHeadProperty()
What 'ExcelWriteHeadProperty' does the currently operated cell need to executeboolean
ignore(String fieldName, Integer columnIndex)
Is to determine if a field needs to be ignoredprotected void
initAnnotationConfig(List<WriteHandler> handlerList, WriteBasicParameter writeBasicParameter)
protected void
initHandler(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
boolean
needHead()
Whether a header is required for the currently operated cellint
relativeHeadRowIndex()
Writes the head relative to the existing contents of the sheet.protected void
sortAndClearUpHandler(List<WriteHandler> handlerList, boolean runOwn)
从类继承的方法 com.alibaba.excel.metadata.AbstractHolder
converterMap, globalConfiguration, isNew
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.alibaba.excel.metadata.ConfigurationHolder
converterMap, globalConfiguration, isNew
从接口继承的方法 com.alibaba.excel.metadata.Holder
holderType
-
属性详细信息
excelWriteHead
public ExcelWriteHeadProperty excelWriteHeadProperty
- 指定者:
-
excelWriteHeadProperty
在接口中WriteHolder
- 返回:
字段详细资料
ownWorkbookHandlerExecutionChain
public WorkbookHandlerExecutionChain ownWorkbookHandlerExecutionChain
Execute the workbook handler chain Created in the sheet in the workbook interceptors will not be executed because the workbook to create an event long past. So when initializing sheet, supplementary workbook event.
ownSheetHandlerExecutionChain
public SheetHandlerExecutionChain ownSheetHandlerExecutionChain
Execute the sheet handler chain Created in the sheet in the workbook interceptors will not be executed because the workbook to create an event long past. So when initializing sheet, supplementary workbook event.
workbookHandlerExecutionChain
public WorkbookHandlerExecutionChain workbookHandlerExecutionChain
Execute the workbook handler chain
sheetHandlerExecutionChain
public SheetHandlerExecutionChain sheetHandlerExecutionChain
Execute the sheet handler chain
rowHandlerExecutionChain
public RowHandlerExecutionChain rowHandlerExecutionChain
Execute the row handler chain
cellHandlerExecutionChain
public CellHandlerExecutionChain cellHandlerExecutionChain
Execute the cell handler chain
构造器详细资料
AbstractWriteHolder
public AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
方法详细资料
initHandler
protected void initHandler(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
initAnnotationConfig
protected void initAnnotationConfig(List<WriteHandler> handlerList, WriteBasicParameter writeBasicParameter)
sortAndClearUpHandler
protected void sortAndClearUpHandler(List<WriteHandler> handlerList, boolean runOwn)
buildChain
protected void buildChain(WriteHandler writeHandler, boolean runOwn)
ignore
public boolean ignore(String fieldName, Integer columnIndex)
从接口复制的说明:WriteHolder
Is to determine if a field needs to be ignored- 指定者:
-
ignore
在接口中WriteHolder
- 返回:
excelWriteHeadProperty
public ExcelWriteHeadProperty excelWriteHeadProperty()
从接口复制的说明:WriteHolder
What 'ExcelWriteHeadProperty' does the currently operated cell need to execute- 指定者:
-
excelWriteHeadProperty
在接口中WriteHolder
- 返回:
needHead
public boolean needHead()
从接口复制的说明:WriteHolder
Whether a header is required for the currently operated cell- 指定者:
-
needHead
在接口中WriteHolder
- 返回:
relativeHeadRowIndex
public int relativeHeadRowIndex()
从接口复制的说明:WriteHolder
Writes the head relative to the existing contents of the sheet. Indexes are zero-based.- 指定者:
-
relativeHeadRowIndex
在接口中WriteHolder
- 返回:
automaticMergeHead
public boolean automaticMergeHead()
从接口复制的说明:WriteHolder
Whether need automatic merge headers.- 指定者:
-
automaticMergeHead
在接口中WriteHolder
- 返回:
Copyright © 2018–2021 Alibaba Group. All rights reserved.