public abstract class AbstractScriptEngineFactory extends Object implements javax.script.ScriptEngineFactory
Modifier | Constructor and Description |
---|---|
protected |
AbstractScriptEngineFactory() |
Modifier and Type | Method and Description |
---|---|
String |
getEngineName() |
String |
getEngineVersion() |
List<String> |
getExtensions() |
String |
getMethodCallSyntax(String obj,
String m,
String... args) |
List<String> |
getMimeTypes() |
List<String> |
getNames() |
String |
getOutputStatement(String value) |
Object |
getParameter(String name) |
String |
getProgram(String... arg0) |
protected void |
setEngineName(String engineName)
Set the engine name.
|
protected void |
setEngineVersion(String engineVersion)
Set the engine version
|
protected void |
setExtensions(String... extensions)
Set the extensions
|
protected void |
setMimeTypes(String... mimeTypes)
Set the mime types
|
protected void |
setNames(String... names)
Set the names
|
public String getEngineName()
getEngineName
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getEngineName()
protected void setEngineName(String engineName)
engineName
- The new engine namepublic String getEngineVersion()
getEngineVersion
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getEngineVersion()
protected void setEngineVersion(String engineVersion)
engineVersion
- The version stringpublic List<String> getExtensions()
getExtensions
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getExtensions()
protected void setExtensions(String... extensions)
extensions
- The array of extensionspublic List<String> getMimeTypes()
getMimeTypes
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getMimeTypes()
protected void setMimeTypes(String... mimeTypes)
mimeTypes
- The array of mime typespublic List<String> getNames()
getNames
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getNames()
protected void setNames(String... names)
names
- The array of names.public String getMethodCallSyntax(String obj, String m, String... args)
getMethodCallSyntax
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getMethodCallSyntax(java.lang.String, java.lang.String, java.lang.String[])
public String getOutputStatement(String value)
getOutputStatement
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getOutputStatement(java.lang.String)
public Object getParameter(String name)
getParameter
in interface javax.script.ScriptEngineFactory
ScriptEngineFactory.getParameter(java.lang.String)
Copyright © 2014 The Apache Software Foundation. All rights reserved.