Package de.hybris.platform.util
Interface CSVCellDecorator
- All Known Implementing Classes:
AbstractImpExCSVCellDecorator,ChineseLogisticCellDecorator,ChineseTaxInvoiceCellDecorator,ConsignmentTrackingCellDecorator,CustomerNameDecorator,EClassSuperCategoryDecorator,ExternalImportKeyCellDecorator,MarketplaceCellDecorator,MarketplaceLogisticCellDecorator,MarketplaceTaxInvoiceCellDecorator
public interface CSVCellDecorator
By using a cell decorator you can intercept the interpreting of a specific cell of a value line between parsing and
translating of it. Means the cell value is parsed, then the cell decorator is called which can manipulate the parsed
string and then the translation of the string starts.
The usage of a cell decorator can be configured by adding the modifier
The usage of a cell decorator can be configured by adding the modifier
cellDecorator to a header
attribute specifying you decorator class.
INSERT MyType;...;myAttribute[cellDecorator=de.hybris.platform.catalog.jalo.classification.eclass.EClassSuperCategoryDecorator]
-
Method Summary
-
Method Details
-
decorate
Decorates and returns the parsed attribute value. The value can be gathered from givensrcLinemap by accessing element with givenpositionkey.- Parameters:
position- element key for given map where the parsed value to decorate is locatedsrcLine- map containing whole parsed value line- Returns:
- decorated attribute value
-