|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Variable
An interface for expressions that get their values from the data model, and for those data models that can be set to a value.
| Method Summary | |
|---|---|
java.lang.String |
getName(TemplateWriteableHashModel modelRoot)
Retrieve the name of this portion of the variable. |
void |
setTemplateModel(TemplateWriteableHashModel modelRoot,
TemplateModel value)
Sets the specified value to the result of this expression. |
| Methods inherited from interface freemarker.template.expression.Expression |
|---|
getAsTemplateModel, getType, isComplete, isConstant, resolveExpression |
| Method Detail |
|---|
java.lang.String getName(TemplateWriteableHashModel modelRoot)
throws TemplateException
modelRoot - the model to be used in cases where the variable is
the result of an Expression.
- Throws:
TemplateException - the name could not be determined
void setTemplateModel(TemplateWriteableHashModel modelRoot,
TemplateModel value)
throws TemplateException
modelRoot - the model to be used in cases where the variable is the
result of an Expressionvalue - the value to be assigned
TemplateException - the value could not be assigned to the model
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||