public abstract static class GroovyTemplate.ExecutableTemplate
extends groovy.lang.Script
| Modifier and Type | Field and Description |
|---|---|
GroovyTemplate |
template |
| Constructor and Description |
|---|
ExecutableTemplate() |
| Modifier and Type | Method and Description |
|---|---|
String |
__getMessage(Object[] val) |
Class |
__loadClass(String className)
Load the class from Pay Class loader
|
String |
__reverseWithCheck_absolute_false(String action) |
String |
__reverseWithCheck_absolute_true(String action) |
String |
__safe(Object val,
String stringValue) |
String |
__safeFaster(Object val)
This method is faster to call from groovy than __safe() since we only evaluate val.toString()
if we need to
|
Class |
_(String className)
Deprecated.
'_' should not be used as an identifier, since it is a reserved keyword from source level 1.8 on
use
__loadClass(java.lang.String) instead |
Object |
get(String key) |
Object |
getProperty(String property) |
void |
init(GroovyTemplate t) |
void |
invokeTag(Integer fromLine,
String tag,
Map<String,Object> attrs,
groovy.lang.Closure body) |
public GroovyTemplate template
public void init(GroovyTemplate t)
public Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectgetProperty in class groovy.lang.Scriptpublic void invokeTag(Integer fromLine, String tag, Map<String,Object> attrs, groovy.lang.Closure body)
@Deprecated public Class _(String className) throws Exception
__loadClass(java.lang.String) insteadExceptionpublic Class __loadClass(String className) throws Exception
className - : the class nameExceptionpublic String __safeFaster(Object val)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly