Class ReplaceRenderer
- java.lang.Object
-
- de.hybris.platform.commons.translator.renderers.AbstractRenderer
-
- de.hybris.platform.commons.translator.renderers.ReplaceRenderer
-
public class ReplaceRenderer extends AbstractRenderer
ReplaceRendererthat add string before and after text generated from node (nodeText itself or text generated from child nodes if they exists). Strings that should be added are defined bysetStart(String)andsetEnd(String)methods
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commons.translator.renderers.AbstractRenderer
end, properties, start
-
-
Constructor Summary
Constructors Constructor Description ReplaceRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringrenderTextFromNode(AbstractNode node, Translator translator)This method produces output text by using data from the node and by using a reference to the(for subnodes rendereing)Translator-
Methods inherited from class de.hybris.platform.commons.translator.renderers.AbstractRenderer
setEnd, setProperties, setStart
-
-
-
-
Method Detail
-
renderTextFromNode
public java.lang.String renderTextFromNode(AbstractNode node, Translator translator)
Description copied from class:AbstractRendererThis method produces output text by using data from the node and by using a reference to the(for subnodes rendereing)Translator- Specified by:
renderTextFromNodein classAbstractRenderer
-
-