org.jbpm.pvm.internal.script
Class XPathScriptEngine
java.lang.Object
javax.script.AbstractScriptEngine
org.jbpm.pvm.internal.script.XPathScriptEngine
- All Implemented Interfaces:
- javax.script.Compilable, javax.script.ScriptEngine
public class XPathScriptEngine
- extends javax.script.AbstractScriptEngine
- implements javax.script.Compilable
| Fields inherited from class javax.script.AbstractScriptEngine |
context |
| Fields inherited from interface javax.script.ScriptEngine |
ARGV, ENGINE, ENGINE_VERSION, FILENAME, LANGUAGE, LANGUAGE_VERSION, NAME |
|
Method Summary |
javax.script.CompiledScript |
compile(java.io.Reader reader)
|
javax.script.CompiledScript |
compile(java.lang.String script)
|
javax.script.Bindings |
createBindings()
|
java.lang.Object |
eval(java.io.Reader reader,
javax.script.ScriptContext ctx)
|
java.lang.Object |
eval(java.lang.String str,
javax.script.ScriptContext ctx)
|
javax.script.ScriptEngineFactory |
getFactory()
|
| Methods inherited from class javax.script.AbstractScriptEngine |
eval, eval, eval, eval, get, getBindings, getContext, getScriptContext, put, setBindings, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPATH_RESULT_TYPE
public static final java.lang.String XPATH_RESULT_TYPE
- See Also:
- Constant Field Values
XPATH_INPUT_SRC
public static final java.lang.String XPATH_INPUT_SRC
- See Also:
- Constant Field Values
XMLNS_COLON
public static final java.lang.String XMLNS_COLON
- See Also:
- Constant Field Values
XPATH_CONTEXT_PREFIX
public static final java.lang.String XPATH_CONTEXT_PREFIX
- See Also:
- Constant Field Values
XPATH_CONTEXT_URI
public static final java.lang.String XPATH_CONTEXT_URI
- See Also:
- Constant Field Values
XPathScriptEngine
public XPathScriptEngine()
compile
public javax.script.CompiledScript compile(java.lang.String script)
throws javax.script.ScriptException
- Specified by:
compile in interface javax.script.Compilable
- Throws:
javax.script.ScriptException
compile
public javax.script.CompiledScript compile(java.io.Reader reader)
throws javax.script.ScriptException
- Specified by:
compile in interface javax.script.Compilable
- Throws:
javax.script.ScriptException
eval
public java.lang.Object eval(java.lang.String str,
javax.script.ScriptContext ctx)
throws javax.script.ScriptException
- Specified by:
eval in interface javax.script.ScriptEngine
- Throws:
javax.script.ScriptException
eval
public java.lang.Object eval(java.io.Reader reader,
javax.script.ScriptContext ctx)
throws javax.script.ScriptException
- Specified by:
eval in interface javax.script.ScriptEngine
- Throws:
javax.script.ScriptException
getFactory
public javax.script.ScriptEngineFactory getFactory()
- Specified by:
getFactory in interface javax.script.ScriptEngine
createBindings
public javax.script.Bindings createBindings()
- Specified by:
createBindings in interface javax.script.ScriptEngine
Copyright © 2010 JBoss Community. All Rights Reserved.