public class TCDLLegacyTransformProcessor extends Object implements TCDLProcessor, com.tridion.configuration.Configurable
TCDLTransformProcessor is the
main entry point for that.| Constructor and Description |
|---|
TCDLLegacyTransformProcessor(String className)
Deprecated.
Creates a TCDLTransformProcessor with the configured name of the transformer to use
If this transformer implements the old interface (
Transformer),
this instance will delegate the transformation the old API. |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.tridion.configuration.Configuration configuration)
Deprecated.
|
void |
setDynamicComponentLanguage(String dcpLanguage)
Deprecated.
|
void |
setTargetLanguage(Integer targetLanguage)
Deprecated.
|
File |
transformItem(String itemURI,
File transformFile,
String charsetName,
TransformerBinaryStorage binaryStorage)
Deprecated.
This method processes an item passed to it.
|
public TCDLLegacyTransformProcessor(String className) throws ProcessingException
Transformer),
this instance will delegate the transformation the old API.className - the class name for the Transformer implementation.ProcessingException - in case of error.public void configure(com.tridion.configuration.Configuration configuration)
throws com.tridion.configuration.ConfigurationException
configure in interface com.tridion.configuration.Configurableconfigure in interface TCDLProcessorcom.tridion.configuration.ConfigurationExceptionpublic void setDynamicComponentLanguage(String dcpLanguage)
setDynamicComponentLanguage in interface TCDLProcessorpublic void setTargetLanguage(Integer targetLanguage)
setTargetLanguage in interface TCDLProcessorpublic File transformItem(String itemURI, File transformFile, String charsetName, TransformerBinaryStorage binaryStorage) throws ProcessingException
transformItem in interface TCDLProcessoritemURI - uri of the item being transformed.transformFile - The filename of the of the source file.charsetName - When non-null indicates the encoding of the source and target file.
When null platform encoding is used.binaryStorage - Storage implementation.ProcessingExceptionCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries