com.github.mustachejava.codes
Class NotIterableCode
java.lang.Object
com.github.mustachejava.codes.DefaultCode
com.github.mustachejava.codes.NotIterableCode
- All Implemented Interfaces:
- Code, Iteration
public class NotIterableCode
- extends DefaultCode
- implements Iteration
Created by IntelliJ IDEA.
User: spullara
Date: 1/9/12
Time: 2:58 PM
To change this template use File | Settings | File Templates.
Method Summary |
java.io.Writer |
execute(java.io.Writer writer,
java.lang.Object[] scopes)
The default behavior is to run the codes and append the captured text. |
java.io.Writer |
next(java.io.Writer writer,
java.lang.Object object,
java.lang.Object[] scopes)
|
Methods inherited from class com.github.mustachejava.codes.DefaultCode |
addScope, append, appendText, execute, get, getCodes, getWrapper, identity, init, runCodes, runIdentity, setCodes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotIterableCode
public NotIterableCode(TemplateContext templateContext,
DefaultMustacheFactory cf,
Mustache mustache,
java.lang.String variable)
execute
public java.io.Writer execute(java.io.Writer writer,
java.lang.Object[] scopes)
- Description copied from class:
DefaultCode
- The default behavior is to run the codes and append the captured text.
- Specified by:
execute
in interface Code
- Overrides:
execute
in class DefaultCode
- Parameters:
writer
- The writer to write the output toscopes
- The scopes to evaluate the embedded names against.
next
public java.io.Writer next(java.io.Writer writer,
java.lang.Object object,
java.lang.Object[] scopes)
- Specified by:
next
in interface Iteration
Copyright © 2012. All Rights Reserved.