All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jamon.logic.IterateImpl Maven / Gradle / Ivy

There is a newer version: 2.4.1
Show newest version
// Autogenerated Jamon implementation
// /Users/jay/jamon/jamon-stdlib/src/main/templates/org/jamon/logic/Iterate.jamon

package org.jamon.logic;


// 20, 1
@Deprecated @SuppressWarnings("deprecation")
public class IterateImpl
  extends org.jamon.AbstractTemplateImpl
  implements org.jamon.logic.Iterate.Intf

{
  private final java.util.Iterator iterator;
  private final Fragment_Body Body;
  protected static org.jamon.logic.Iterate.ImplData __jamon_setOptionalArguments(org.jamon.logic.Iterate.ImplData p_implData)
  {
    return p_implData;
  }
  public IterateImpl(org.jamon.TemplateManager p_templateManager, org.jamon.logic.Iterate.ImplData p_implData)
  {
    super(p_templateManager, __jamon_setOptionalArguments(p_implData));
    iterator = p_implData.getIterator();
    Body = p_implData.getBody();
  }
  
  public void renderNoFlush(@SuppressWarnings({"unused","hiding"}) final java.io.Writer jamonWriter)
    throws java.io.IOException
  {
    // 30, 1
     while (iterator.hasNext())

    // 31, 1
     {

    // 32, 1
    Body.renderNoFlush(jamonWriter, iterator.next() );
    // 33, 1
     }
  }
  
  
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy