|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FunctionTemplateProcessor
Adds the ability to retrieve Template functions from a TemplateProcessor. Used by IncludeInstruction to retrieve a list of callable Functions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface freemarker.template.TemplateProcessor |
|---|
TemplateProcessor.ExitStatus |
| Method Summary | |
|---|---|
void |
addFunction(FunctionInstruction function)
Adds a function to the template. |
FunctionInstruction |
getFunction(java.lang.String name)
Retrieves a function from the template. |
java.util.Set |
getFunctionNames()
Retrieve a Set of function names for this template. |
| Methods inherited from interface freemarker.template.TemplateProcessor |
|---|
process |
| Method Detail |
|---|
FunctionInstruction getFunction(java.lang.String name)
CallInstructions
and IncludeInstructions at run-time.
name - the name of the function to be retrievedjava.util.Set getFunctionNames()
Set of function names for this template.
Set of function names (String objects)
that have been defined for this template.void addFunction(FunctionInstruction function)
TemplateBuilder at compile-time.
function - the function to be stored by the template
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||