KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > genimen > djeneric > test > helpers > DjScriptTest


1 package com.genimen.djeneric.test.helpers;
2
3 import com.genimen.djeneric.tools.scriptengine.core.util.DjScriptCallable;
4 import com.genimen.djeneric.tools.scriptengine.core.util.DjScriptExecutionContext;
5
6 public class DjScriptTest implements DjScriptCallable
7 {
8   DjScriptExecutionContext _ctxt;
9
10   public void setContext(DjScriptExecutionContext ctxt)
11   {
12     _ctxt = ctxt;
13   }
14
15   public String JavaDoc callme(String JavaDoc someString)
16   {
17     return someString + " " + _ctxt.getValue("xx");
18   }
19 }
Popular Tags