com.github.mustachejava
Interface Code

All Known Subinterfaces:
Mustache
All Known Implementing Classes:
DefaultCode, DefaultMustache, ExtendCode, ExtendNameCode, IterableCode, NotIterableCode, PartialCode, ValueCode, WriteCode

public interface Code

Code objects that are executed in order to evaluate the template


Method Summary
 void append(java.lang.String text)
           
 java.io.Writer execute(java.io.Writer writer, java.lang.Object scope)
           
 java.io.Writer execute(java.io.Writer writer, java.lang.Object[] scopes)
           
 Code[] getCodes()
           
 void identity(java.io.Writer writer)
           
 void init()
           
 void setCodes(Code[] codes)
           
 

Method Detail

execute

java.io.Writer execute(java.io.Writer writer,
                       java.lang.Object scope)

execute

java.io.Writer execute(java.io.Writer writer,
                       java.lang.Object[] scopes)

identity

void identity(java.io.Writer writer)

append

void append(java.lang.String text)

getCodes

Code[] getCodes()

setCodes

void setCodes(Code[] codes)

init

void init()


Copyright © 2012. All Rights Reserved.