org.webharvest.runtime.templaters
Class BaseTemplater

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String VAR_END
           
static java.lang.String VAR_START
           
 
Constructor Summary
BaseTemplater()
           
 
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
 

Field Detail

VAR_START

public static java.lang.String VAR_START

VAR_END

public static java.lang.String VAR_END
Constructor Detail

BaseTemplater

public BaseTemplater()
Method Detail

execute

public static java.lang.String execute(java.lang.String source,
                                       org.webharvest.runtime.scripting.ScriptEngine scriptEngine)