org.openrdf.repository.object.script
Class EmbededScriptEngine
java.lang.Object
org.openrdf.repository.object.script.EmbededScriptEngine
public class EmbededScriptEngine
- extends Object
Facade to execute EMCAScript code from URL or code block.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbededScriptEngine
public EmbededScriptEngine(ClassLoader cl,
String code,
String systemId)
newInstance
public static EmbededScriptEngine newInstance(ClassLoader cl,
String systemId)
newInstance
public static EmbededScriptEngine newInstance(ClassLoader cl,
String code,
String systemId)
importClass
public EmbededScriptEngine importClass(String className)
importPackage
public EmbededScriptEngine importPackage(String pkgName)
assignRDFObject
public EmbededScriptEngine assignRDFObject(String name,
String uri)
returnType
public EmbededScriptEngine returnType(Class<?> returnType)
withThis
public EmbededScriptEngine withThis()
call
public EmbededScriptEngine.ScriptResult call(Object msg)
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.