public class VelocityTranslator extends AbstractSpecialValueTranslator
| Modifier and Type | Class and Description |
|---|---|
static interface |
VelocityTranslator.Modifiers |
| Constructor and Description |
|---|
VelocityTranslator()
Required no-arg constructor.
|
VelocityTranslator(java.lang.String templateName,
java.lang.String expression)
Constructor for testing purpose.
|
| Modifier and Type | Method and Description |
|---|---|
void |
init(SpecialColumnDescriptor columnDescriptor)
Called once upon header creation to do some initial setup logic.
|
java.lang.String |
performExport(Item item)
Called each time an item is exported using the enclosing header.
|
isEmpty, performImport, validatepublic VelocityTranslator()
public VelocityTranslator(java.lang.String templateName,
java.lang.String expression)
public void init(SpecialColumnDescriptor columnDescriptor) throws HeaderValidationException
SpecialValueTranslatorinit in interface SpecialValueTranslatorinit in class AbstractSpecialValueTranslatorcolumnDescriptor - the newly created column descriptorHeaderValidationException - indicates that the column descriptor is not configured properlypublic java.lang.String performExport(Item item) throws ImpExException
SpecialValueTranslatorperformExport in interface SpecialValueTranslatorperformExport in class AbstractSpecialValueTranslatoritem - the item to exportImpExException - indicates an export errorCopyright © 2018 SAP SE. All Rights Reserved.