Fork me on GitHub

TextNode

In package com.mitchellbosecke.pebble.node

public class TextNode extends AbstractRenderableNode

Represents static text in a template.

Constructors

public TextNode(String text, int lineNumber)
Parameters:
  • String text
  • int lineNumber

Methods

public void render(PebbleTemplateImpl self, Writer writer, EvaluationContextImpl context)
Parameters:
public void accept(NodeVisitor visitor)
Parameters:
public char getData()
Parameters:
  • No parameters