com.lyncode.jtwig.tree.content
Class SetVariable

java.lang.Object
  extended by com.lyncode.jtwig.tree.content.SetVariable
All Implemented Interfaces:
Content

public class SetVariable
extends Object
implements Content


Constructor Summary
SetVariable(Variable name)
           
 
Method Summary
 SetVariable compile(JtwigResource resource)
           
 Object getAssignment()
           
 Variable getName()
           
 boolean render(OutputStream outputStream, JtwigContext context)
           
 boolean replace(Block expression)
           
 boolean setAssignment(Expression assignment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetVariable

public SetVariable(Variable name)
Method Detail

setAssignment

public boolean setAssignment(Expression assignment)

getName

public Variable getName()

getAssignment

public Object getAssignment()

render

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

compile

public SetVariable 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.