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 |
---|---|
java.lang.String |
__getMessage(java.lang.Object[] val) |
java.lang.Class |
__loadClass(java.lang.String className)
Load the class from Pay Class loader
|
java.lang.String |
__reverseWithCheck_absolute_false(java.lang.String action) |
java.lang.String |
__reverseWithCheck_absolute_true(java.lang.String action) |
java.lang.String |
__safe(java.lang.Object val,
java.lang.String stringValue) |
java.lang.String |
__safeFaster(java.lang.Object val)
This method is faster to call from groovy than __safe() since we only evaluate val.toString() if we need to
|
java.lang.Class |
_(java.lang.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 |
java.lang.Object |
get(java.lang.String key) |
java.lang.Object |
getProperty(java.lang.String property) |
void |
init(GroovyTemplate t) |
void |
invokeTag(java.lang.Integer fromLine,
java.lang.String tag,
java.util.Map<java.lang.String,java.lang.Object> attrs,
groovy.lang.Closure body) |
public GroovyTemplate template
public void init(GroovyTemplate t)
public java.lang.Object getProperty(java.lang.String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.Script
public void invokeTag(java.lang.Integer fromLine, java.lang.String tag, java.util.Map<java.lang.String,java.lang.Object> attrs, groovy.lang.Closure body)
@Deprecated public java.lang.Class _(java.lang.String className) throws java.lang.Exception
__loadClass(java.lang.String)
insteadclassName
- The class namejava.lang.Exception
- if problem occured when loading the classpublic java.lang.Class __loadClass(java.lang.String className) throws java.lang.Exception
className
- the class namejava.lang.Exception
- if problem occured when loading the classpublic java.lang.String __safeFaster(java.lang.Object val)
val
- the object to evaluatepublic java.lang.String __getMessage(java.lang.Object[] val)
public java.lang.String __reverseWithCheck_absolute_true(java.lang.String action)
public java.lang.String __reverseWithCheck_absolute_false(java.lang.String action)
public java.lang.String __safe(java.lang.Object val, java.lang.String stringValue)
public java.lang.Object get(java.lang.String key)
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly