Class PlainTextRenderer
- java.lang.Object
-
- de.hybris.platform.commons.translator.renderers.AbstractRenderer
-
- de.hybris.platform.commons.translator.renderers.PlainTextRenderer
-
public class PlainTextRenderer extends AbstractRenderer
Renderer that replace html tags with plain text, this is temporary solution according to PLA-6407, table, lists, and item links are not supported. This is part of another task. Suggested use of VelocityTemplates to cover this functionality.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commons.translator.renderers.AbstractRenderer
end, properties, start
-
-
Constructor Summary
Constructors Constructor Description PlainTextRenderer()
-
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
-
-