Class SimpleRenderer
- java.lang.Object
-
- de.hybris.platform.commons.translator.renderers.AbstractRenderer
-
- de.hybris.platform.commons.translator.renderers.SimpleRenderer
-
public class SimpleRenderer extends AbstractRenderer
SimpleRendereris a simple implementation of theAbstractRenderer. It just renders text from children if they exist by using reference toTranslator, otherwise it just returns the nodeText.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commons.translator.renderers.AbstractRenderer
end, properties, start
-
-
Constructor Summary
Constructors Constructor Description SimpleRenderer()
-
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
-
-