org.webharvest.runtime.templaters
Class BaseTemplater
java.lang.Object
org.webharvest.runtime.templaters.BaseTemplater
public class BaseTemplater
- extends java.lang.Object
Simple templater - replaces ${expression} sequences in string with evaluated expressions.
Specified script engine is used for evaluation.
|
Method Summary |
static java.lang.String |
execute(java.lang.String source,
org.webharvest.runtime.scripting.ScriptEngine scriptEngine)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VAR_START
public static java.lang.String VAR_START
VAR_END
public static java.lang.String VAR_END
BaseTemplater
public BaseTemplater()
execute
public static java.lang.String execute(java.lang.String source,
org.webharvest.runtime.scripting.ScriptEngine scriptEngine)