com.lyncode.jtwig.tree.content
Class JtwigContent

java.lang.Object
  extended by com.lyncode.jtwig.tree.helper.ElementList
      extended by com.lyncode.jtwig.tree.content.JtwigContent
All Implemented Interfaces:
Content, Element

public class JtwigContent
extends ElementList
implements Content


Constructor Summary
JtwigContent()
           
 
Method Summary
 JtwigContent compile(JtwigResource resource)
           
 boolean render(OutputStream outputStream, JtwigContext context)
           
 boolean replace(Block expression)
           
 
Methods inherited from class com.lyncode.jtwig.tree.helper.ElementList
add, getList, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JtwigContent

public JtwigContent()
Method Detail

render

public boolean render(OutputStream outputStream,
                      JtwigContext context)
               throws RenderException
Specified by:
render in interface Content
Throws:
RenderException

compile

public JtwigContent 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


Copyright © 2014. All Rights Reserved.