com.lyncode.jtwig.tree.content
Class ForPairLoop

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

public class ForPairLoop
extends ForLoop


Nested Class Summary
 
Nested classes/interfaces inherited from class com.lyncode.jtwig.tree.content.ForLoop
ForLoop.Loop
 
Field Summary
 
Fields inherited from class com.lyncode.jtwig.tree.content.ForLoop
content, expression, variable
 
Constructor Summary
ForPairLoop(Variable key, Variable value, Expression map)
           
 
Method Summary
 boolean render(OutputStream outputStream, JtwigContext context)
           
 String toString()
           
 
Methods inherited from class com.lyncode.jtwig.tree.content.ForLoop
compile, replace, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForPairLoop

public ForPairLoop(Variable key,
                   Variable value,
                   Expression map)
Method Detail

render

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

toString

public String toString()
Overrides:
toString in class ForLoop


Copyright © 2014. All Rights Reserved.