|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.core.EscObject
org.eclipse.soda.dk.script.ScriptObject
org.eclipse.soda.dk.script.SimpleScript
public class SimpleScript
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SimpleScript()
Constructs an instance of this class. |
|
SimpleScript(java.lang.String scriptSource)
Constructs an instance of this class from the specified script source parameter. |
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(java.util.Map variables)
Evaluate with the specified variables parameter and return the Object result. |
java.lang.String |
getScriptSource()
Gets the script source (String) value. |
java.util.List |
getTokens()
Gets the tokens (List) value. |
java.util.List |
getTokens(java.lang.String contents)
Get tokens with the specified contents parameter and return the List result. |
boolean |
isOperator(char character)
Is operator with the specified character parameter and return the boolean result. |
void |
setScriptSource(java.lang.String scriptSource)
Sets the script source value. |
void |
setTokens(java.util.List tokens)
Sets the tokens value. |
| Methods inherited from class org.eclipse.soda.dk.script.ScriptObject |
|---|
evaluate, evaluate, getBoolean, getBoolean, getConstant, getNumber, getNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleScript()
SimpleScript(String)public SimpleScript(java.lang.String scriptSource)
scriptSource - The script source (String) parameter.SimpleScript()| Method Detail |
|---|
public java.lang.Object evaluate(java.util.Map variables)
evaluate in interface ScriptServicevariables - The variables (Map) parameter.
Object) value.public java.lang.String getScriptSource()
String) value.setScriptSource(String)public java.util.List getTokens()
List) value.getTokens(String),
setTokens(List)public java.util.List getTokens(java.lang.String contents)
contents - The contents (String) parameter.
List) value.getTokens(),
setTokens(List)public boolean isOperator(char character)
character - The character (char) parameter.
boolean) value.public void setScriptSource(java.lang.String scriptSource)
scriptSource - The script source (String) parameter.getScriptSource()public void setTokens(java.util.List tokens)
tokens - The tokens (List) parameter.getTokens(),
getTokens(String)
|
2009-01-09 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||