public class JavascriptFactory extends java.lang.Object implements IScriptableFactory
Constructor and Description |
---|
JavascriptFactory() |
Modifier and Type | Method and Description |
---|---|
IActionScript |
createActionScript(java.lang.String script) |
IConditionScript |
createConditionScript(java.lang.String script) |
java.lang.String |
getDescription()
description of the scripting language
|
java.lang.Object |
getGlobalContext()
global variable context for the factory.
|
java.lang.String |
getLanguageName() |
java.lang.Object |
getVariable(java.lang.String label,
java.lang.Object variableContext) |
void |
setVariable(java.lang.String label,
java.lang.Object value,
java.lang.Object variableContext) |
boolean |
supports(java.lang.String scriptName)
test the language name to see if we support it.
|
public IActionScript createActionScript(java.lang.String script) throws java.lang.Exception
createActionScript
in interface IScriptableFactory
java.lang.Exception
public IConditionScript createConditionScript(java.lang.String script) throws java.lang.Exception
createConditionScript
in interface IScriptableFactory
java.lang.Exception
public java.lang.String getDescription()
IScriptableFactory
getDescription
in interface IScriptableFactory
public java.lang.String getLanguageName()
getLanguageName
in interface IScriptableFactory
public java.lang.Object getGlobalContext()
IScriptableFactory
getGlobalContext
in interface IScriptableFactory
public java.lang.Object getVariable(java.lang.String label, java.lang.Object variableContext)
getVariable
in interface IScriptableFactory
public void setVariable(java.lang.String label, java.lang.Object value, java.lang.Object variableContext)
setVariable
in interface IScriptableFactory
public boolean supports(java.lang.String scriptName)
IScriptableFactory
supports
in interface IScriptableFactory