public abstract class AbstractWriteHolder extends AbstractHolder implements WriteHolder
| Modifier and Type | Field and Description |
|---|---|
CellHandlerExecutionChain |
cellHandlerExecutionChain
Execute the cell handler chain
|
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.
|
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 chain
|
SheetHandlerExecutionChain |
sheetHandlerExecutionChain
Execute the sheet handler chain
|
WorkbookHandlerExecutionChain |
workbookHandlerExecutionChain
Execute the workbook handler chain
|
| Constructor and Description |
|---|
AbstractWriteHolder(WriteBasicParameter writeBasicParameter,
AbstractWriteHolder parentAbstractWriteHolder) |
| Modifier and Type | Method and Description |
|---|---|
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 execute
|
Collection<String> |
excludeColumnFieldNames()
Ignore the custom columns.
|
Collection<Integer> |
excludeColumnIndexes()
Ignore the custom columns.
|
boolean |
ignore(String fieldName,
Integer columnIndex)
Is to determine if a field needs to be ignored
|
Collection<String> |
includeColumnFieldNames()
Only output the custom columns.
|
Collection<Integer> |
includeColumnIndexes()
Only output the custom columns.
|
protected 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 cell
|
boolean |
orderByIncludeColumn()
Data will be order by
WriteHolder.includeColumnFieldNames() or WriteHolder.includeColumnIndexes(). |
int |
relativeHeadRowIndex()
Writes the head relative to the existing contents of the sheet.
|
protected void |
sortAndClearUpHandler(List<WriteHandler> handlerList,
boolean runOwn) |
converterMap, globalConfiguration, isNewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconverterMap, globalConfiguration, isNewholderTypepublic WorkbookHandlerExecutionChain ownWorkbookHandlerExecutionChain
public SheetHandlerExecutionChain ownSheetHandlerExecutionChain
public WorkbookHandlerExecutionChain workbookHandlerExecutionChain
public SheetHandlerExecutionChain sheetHandlerExecutionChain
public RowHandlerExecutionChain rowHandlerExecutionChain
public CellHandlerExecutionChain cellHandlerExecutionChain
public AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
protected void initHandler(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder)
protected void initAnnotationConfig(List<WriteHandler> handlerList, WriteBasicParameter writeBasicParameter)
protected void sortAndClearUpHandler(List<WriteHandler> handlerList, boolean runOwn)
protected void buildChain(WriteHandler writeHandler, boolean runOwn)
public boolean ignore(String fieldName, Integer columnIndex)
WriteHolderignore in interface WriteHolderpublic ExcelWriteHeadProperty excelWriteHeadProperty()
WriteHolderexcelWriteHeadProperty in interface WriteHolderpublic boolean needHead()
WriteHolderneedHead in interface WriteHolderpublic int relativeHeadRowIndex()
WriteHolderrelativeHeadRowIndex in interface WriteHolderpublic boolean automaticMergeHead()
WriteHolderautomaticMergeHead in interface WriteHolderpublic boolean orderByIncludeColumn()
WriteHolderWriteHolder.includeColumnFieldNames() or WriteHolder.includeColumnIndexes().
default is false.orderByIncludeColumn in interface WriteHolderpublic Collection<Integer> includeColumnIndexes()
WriteHolderincludeColumnIndexes in interface WriteHolderpublic Collection<String> includeColumnFieldNames()
WriteHolderincludeColumnFieldNames in interface WriteHolderpublic Collection<Integer> excludeColumnIndexes()
WriteHolderexcludeColumnIndexes in interface WriteHolderpublic Collection<String> excludeColumnFieldNames()
WriteHolderexcludeColumnFieldNames in interface WriteHolderCopyright © 2018–2024 Alibaba Group. All rights reserved.