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

io.honeybadger.com.github.mustachejava.Iteration Maven / Gradle / Ivy

There is a newer version: 2.1.2
Show newest version
package com.github.mustachejava;

import java.io.Writer;
import java.util.List;

/**
 * This is the callback interface for iterating on a value. You can override the iterate
 * method in an ObjectHandler to change the types recognized by mustache.java as iterable.
 */
public interface Iteration {
  Writer next(Writer writer, Object next, List scopes);
}