|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface TemplateLoader.Template
A ready-to-use Tea template.
| Method Summary | |
|---|---|
void |
execute(Context context,
Object[] parameters)
Executes this template using the given runtime context instance and parameters. |
Class<?> |
getContextType()
Returns the type of runtime context that this template accepts. |
String |
getName()
Returns the full name of this template. |
String[] |
getParameterNames()
Returns the parameter names that this template accepts. |
Class<?>[] |
getParameterTypes()
Returns the parameter types that this template accepts. |
Class<?> |
getTemplateClass()
Returns the class that defines this template. |
TemplateLoader |
getTemplateLoader()
|
String |
toString()
Returns the template signature. |
| Method Detail |
|---|
TemplateLoader getTemplateLoader()
String getName()
Class<?> getTemplateClass()
Class<?> getContextType()
ContextString[] getParameterNames()
Class<?>[] getParameterTypes()
void execute(Context context,
Object[] parameters)
throws Exception
context - Must be assignable to the type returned by
getContextType().parameters - Must have same length and types as returned by
getParameterTypes().
ExceptionString toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||