|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfmpp.dataloaders.EvalDataLoader
public class EvalDataLoader
Evaluates a BeanShell expression (looks like as Java).
The scrip has access to the Engine object by the
engine variable.
| Constructor Summary | |
|---|---|
EvalDataLoader()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
load(Engine e,
java.util.List args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvalDataLoader()
| Method Detail |
|---|
public java.lang.Object load(Engine e,
java.util.List args)
throws java.lang.Exception
load in interface DataLoaderargs - Arguments that the caller specifies for this directive call.
Not null.
The implementation should check if it understands all arguments,
and it should throw java.lang.IllegalArgumentException
if it doesn't.
freemarker.template.TemplateModel, then it
will not be wrapped, as it is already an FTL variable.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||