public interface Prerenderer
Translator (trough
the TranslatorConfiguration). In TranslatorConfiguration there is a list of Prerenderers. When
method Translator.prepareNode(AbstractNode mainNode) is called, prerenders are taken from this list one
by one and prepareNode method is called on each of them with mainNode as an attribute.
These classes can be added to TranslatorConfiguration by addPrerender(PrerendererInterface)
method. Prerenderers are used there to do some additional action between phase in which nodes are created from input
text and phase in which these nodes are used to create output text.| Modifier and Type | Method and Description |
|---|---|
AbstractNode |
prepareNode(AbstractNode node)
Method that is used in
Translator when
translator.prepareNode method is called |
AbstractNode prepareNode(AbstractNode node)
Translator when
translator.prepareNode method is callednode - Copyright © 2018 SAP SE. All Rights Reserved.