public class TCDLTransformer extends TCDLEngine implements AdditionalTagsProcessing
Constructor and Description |
---|
TCDLTransformer()
Creates a new TCDLTransformer.
|
Modifier and Type | Method and Description |
---|---|
void |
process(String itemURI,
String input,
Map<String,String> variablesMap,
Writer target)
Transforms TCDL enabled content from the [input] String and writes the result to the [target].
|
void |
process(String itemURI,
String input,
Map<String,String> variablesMap,
Writer target,
GlobalExecutionArguments args)
Transforms or renders TCDL enabled content from the [input] String and writes the result to the [target].
|
configure, createTransformContext, getDocumentBuilder, getTagHandlerRegistry, isLanguageOverridden, setCodeBlockMarkers, setProperty, setTargetLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setTargetLanguage
public TCDLTransformer()
public void process(String itemURI, String input, Map<String,String> variablesMap, Writer target) throws ProcessingException
process
in interface TCDLTagsProcessor
itemURI
- uri of the item being transformedinput
- TCDL enabled contentvariablesMap
- Map with variables to replace while parsing TCDL. Not used by the code in this class!!!target
- Writer to write output toProcessingException
- when the source could not be transformedpublic void process(String itemURI, String input, Map<String,String> variablesMap, Writer target, GlobalExecutionArguments args) throws ProcessingException
AdditionalTagsProcessing
Note that when you call this method multiple times on the same instance, the same configuration and (programmatically) set properties will be used.
process
in interface AdditionalTagsProcessing
itemURI
- uri of the item being transformedinput
- TCDL enabled contentvariablesMap
- Map with variables to replace while parsing TCDL. Note that this is only
used when rendering.target
- Writer to write output toargs
- execution argumentsProcessingException
- when the source could not be transformedCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries