com.lyncode.jtwig.tree.content
Class Text
java.lang.Object
com.lyncode.jtwig.tree.content.Text
- All Implemented Interfaces:
- Content
public class Text
- extends Object
- implements Content
|
Constructor Summary |
Text()
|
Text
public Text()
append
public boolean append(String piece)
getText
public String getText()
render
public boolean render(OutputStream outputStream,
JtwigContext context)
throws RenderException
- Specified by:
render in interface Content
- Throws:
RenderException
compile
public Content compile(JtwigResource resource)
throws CompileException
- Specified by:
compile in interface Content
- Throws:
CompileException
replace
public boolean replace(Block expression)
throws CompileException
- Specified by:
replace in interface Content
- Throws:
CompileException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2014. All Rights Reserved.