com.lyncode.jtwig.tree.api
Interface Content

All Known Subinterfaces:
JtwigDocument
All Known Implementing Classes:
Block, ForLoop, ForPairLoop, IfExpression, IfExpression.ElseExpression, IfExpression.ElseIfExpression, Include, JtwigContent, JtwigExtendsDocument, JtwigRootDocument, Output, SetVariable, Text

public interface Content


Method Summary
 Content compile(JtwigResource resource)
           
 boolean render(OutputStream outputStream, JtwigContext context)
           
 boolean replace(Block expression)
           
 

Method Detail

render

boolean render(OutputStream outputStream,
               JtwigContext context)
               throws RenderException
Throws:
RenderException

compile

Content compile(JtwigResource resource)
                throws CompileException
Throws:
CompileException

replace

boolean replace(Block expression)
                throws CompileException
Throws:
CompileException


Copyright © 2014. All Rights Reserved.