ATTRIBUTE - mandatory attribute of contextpublic class DefaultExcelAttributeContext<ATTRIBUTE extends ExcelAttribute> extends java.lang.Object implements ExcelAttributeContext<ATTRIBUTE>
ExcelAttributeContext which can be used excel population process.ExcelCellPopulator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXCEL_ATTRIBUTE |
| Modifier and Type | Method and Description |
|---|---|
<TYPE> TYPE |
getAttribute(java.lang.String name,
java.lang.Class<TYPE> type)
Retrieves desired attribute from context
|
ATTRIBUTE |
getExcelAttribute(java.lang.Class<ATTRIBUTE> type)
Retrieves ExcelAttribute
|
static <T extends ExcelAttribute> |
ofExcelAttribute(T excelAttribute) |
static <T extends ExcelAttribute> |
ofMap(T excelAttribute,
java.util.Map<java.lang.String,java.lang.Object> map) |
public static final java.lang.String EXCEL_ATTRIBUTE
public static <T extends ExcelAttribute> ExcelAttributeContext<T> ofExcelAttribute(T excelAttribute)
public static <T extends ExcelAttribute> ExcelAttributeContext<T> ofMap(T excelAttribute, java.util.Map<java.lang.String,java.lang.Object> map)
public <TYPE> TYPE getAttribute(java.lang.String name,
java.lang.Class<TYPE> type)
ExcelAttributeContextgetAttribute in interface ExcelAttributeContext<ATTRIBUTE extends ExcelAttribute>TYPE - type of desired attributename - name of the key of desired attributepublic ATTRIBUTE getExcelAttribute(java.lang.Class<ATTRIBUTE> type)
ExcelAttributeContextgetExcelAttribute in interface ExcelAttributeContext<ATTRIBUTE extends ExcelAttribute>Copyright © 2018 SAP SE. All Rights Reserved.