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