net.sf.jelly.apt
Interface TemplateModel

All Known Implementing Classes:
APTJellyContext

public interface TemplateModel

Interface for the data model for the template engine.

Author:
Ryan Heaton

Method Summary
 java.lang.Object getVariable(java.lang.String var)
          Get the value of a variable.
 void setVariable(java.lang.String var, java.lang.Object data)
          Put data into the model under a specified variable name.
 

Method Detail

getVariable

java.lang.Object getVariable(java.lang.String var)
Get the value of a variable.

Parameters:
var - The variable.
Returns:
The value.

setVariable

void setVariable(java.lang.String var,
                 java.lang.Object data)
Put data into the model under a specified variable name.

Parameters:
var - The variable name.
data - The data to put in the model.