public class QuercusScriptEngineFactory
extends java.lang.Object
implements javax.script.ScriptEngineFactory
Constructor and Description |
---|
QuercusScriptEngineFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEngineName()
Returns the full name of the ScriptEngine.
|
java.lang.String |
getEngineVersion()
Returns the version of the ScriptEngine.
|
java.util.List<java.lang.String> |
getExtensions()
Returns an array of filename extensions normally used by this
language.
|
java.lang.String |
getLanguageName()
Returns the name of the supported language.
|
java.lang.String |
getLanguageVersion()
Returns the version of the scripting language.
|
java.lang.String |
getMethodCallSyntax(java.lang.String obj,
java.lang.String m,
java.lang.String[] args)
Returns a string which could invoke a method of a Java object.
|
java.util.List<java.lang.String> |
getMimeTypes()
Returns the mime-types for scripts for the engine.
|
java.util.List<java.lang.String> |
getNames()
Returns the short names for the scripts for the engine,
e.g.
|
java.lang.String |
getOutputStatement(java.lang.String toDisplay)
Returns a string which generates an output statement.
|
java.lang.Object |
getParameter(java.lang.String key)
Returns engine-specific properties.
|
java.lang.String |
getProgram(java.lang.String[] statements)
Returns a string which generates a valid program.
|
javax.script.ScriptEngine |
getScriptEngine()
Returns a ScriptEngine instance.
|
java.lang.String |
toString() |
public java.lang.String getEngineName()
getEngineName
in interface javax.script.ScriptEngineFactory
public java.lang.String getEngineVersion()
getEngineVersion
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getExtensions()
getExtensions
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getMimeTypes()
getMimeTypes
in interface javax.script.ScriptEngineFactory
public java.util.List<java.lang.String> getNames()
getNames
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageName()
getLanguageName
in interface javax.script.ScriptEngineFactory
public java.lang.String getLanguageVersion()
getLanguageVersion
in interface javax.script.ScriptEngineFactory
public java.lang.Object getParameter(java.lang.String key)
getParameter
in interface javax.script.ScriptEngineFactory
public java.lang.String getMethodCallSyntax(java.lang.String obj, java.lang.String m, java.lang.String[] args)
getMethodCallSyntax
in interface javax.script.ScriptEngineFactory
public java.lang.String getOutputStatement(java.lang.String toDisplay)
getOutputStatement
in interface javax.script.ScriptEngineFactory
public java.lang.String getProgram(java.lang.String[] statements)
getProgram
in interface javax.script.ScriptEngineFactory
public javax.script.ScriptEngine getScriptEngine()
getScriptEngine
in interface javax.script.ScriptEngineFactory
public java.lang.String toString()
toString
in class java.lang.Object