com.lyncode.jtwig.tree.content
Class IfExpression.ElseIfExpression

java.lang.Object
  extended by com.lyncode.jtwig.tree.content.IfExpression.ElseIfExpression
All Implemented Interfaces:
Content
Enclosing class:
IfExpression

public static class IfExpression.ElseIfExpression
extends Object
implements Content


Constructor Summary
IfExpression.ElseIfExpression(Expression condition)
           
 
Method Summary
 IfExpression.ElseIfExpression compile(JtwigResource resource)
           
 Content getContent()
           
 boolean render(OutputStream outputStream, JtwigContext context)
           
 boolean replace(Block expression)
           
 boolean setContent(Content abstractContent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfExpression.ElseIfExpression

public IfExpression.ElseIfExpression(Expression condition)
Method Detail

setContent

public boolean setContent(Content abstractContent)

getContent

public Content getContent()

render

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

compile

public IfExpression.ElseIfExpression 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.