public class TCDLLegacyTransformProcessor extends Object implements TCDLProcessor, com.tridion.configuration.Configurable
When wanting to use TCDL elsewhere, the 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.Configurable
configure
in interface TCDLProcessor
com.tridion.configuration.ConfigurationException
public void setDynamicComponentLanguage(String dcpLanguage)
setDynamicComponentLanguage
in interface TCDLProcessor
public void setTargetLanguage(Integer targetLanguage)
setTargetLanguage
in interface TCDLProcessor
public File transformItem(String itemURI, File transformFile, String charsetName, TransformerBinaryStorage binaryStorage) throws ProcessingException
transformItem
in interface TCDLProcessor
itemURI
- 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.ProcessingException
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries