public class TCDLRenderer extends TCDLEngine implements AdditionalTagsProcessing
Constructor and Description |
---|
TCDLRenderer()
Creates a new TCDLRenderer.
|
Modifier and Type | Method and Description |
---|---|
void |
process(String itemURI,
String input,
Map<String,String> variablesMap,
Writer target)
Renders 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)
Renders TCDL tags with additional execution parameters which assigned to
TransformContext . |
configure, createTransformContext, getDocumentBuilder, getTagHandlerRegistry, isLanguageOverridden, setCodeBlockMarkers, setProperty, setTargetLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setTargetLanguage
public void process(String itemURI, String input, Map<String,String> variablesMap, Writer target) throws ProcessingException
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 TCDLTagsProcessor
itemURI
- uri of the item being transformedinput
- TCDL enabled contentvariablesMap
- Map with variables to replace while parsing TCDL.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
TransformContext
.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
- additional 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