|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moremotion.evaluator.MMSymbolResolver
public class MMSymbolResolver
The Global Symbol Resolver for all types of symbols used in a MoreMotion environment:
i:NAME
f:COUNT
v:_maxcc
s:/mor_security_uinfo_1/username
Field Summary | |
---|---|
static int |
ADOM_NODE_PROCESSING_MODE_FIRST
|
static int |
ADOM_NODE_PROCESSING_MODE_IGNORE
|
static int |
ADOM_NODE_PROCESSING_MODE_LAST
|
SymbolResolver |
assistant
|
boolean |
bypassRIE
|
Fields inherited from interface org.moremotion.evaluator.SymbolResolver |
---|
DT_BOOL, DT_NULL, DT_NUMBER, DT_STRING |
Constructor Summary | |
---|---|
MMSymbolResolver(MoreMotionRequest request)
Creates a new instance of SymbolResolver |
Method Summary | |
---|---|
boolean |
doubleTheBackSlashes()
|
java.lang.String |
doubleTheQuotes(java.lang.String source)
|
ADOMNode |
getADOMNode()
|
boolean |
getBoolValue(java.lang.String symbol)
Returns the value of the given symbol as boolean . |
boolean |
getDisableQSpecifier()
|
Logger |
getLogger()
|
double |
getNumberValue(java.lang.String symbol)
Returns the value of the given symbol as double . |
java.lang.Object |
getObject(java.lang.String name)
|
CallInstance |
getProcessCallInstance()
|
MoreMotionRequest |
getRequest()
|
java.lang.String |
getStringValue(java.lang.String symbol)
Returns the value of the given symbol as String . |
int |
getType(java.lang.String symbol)
Returns the type of the given symbol. |
java.lang.String |
getValue(java.lang.String symbol)
Returns the value of the given symbol as String . |
VariablePool |
getVPool()
|
boolean |
isNull(java.lang.String symbol)
|
static void |
main(java.lang.String[] args)
|
ProcessRecord |
peekProcessRecord()
|
void |
popProcessRecord()
|
void |
popTCall()
|
void |
pushProcessRecord(ProcessRecord prec)
|
void |
pushTCall(java.util.HashMap tcall)
|
void |
putObject(java.lang.String name,
java.lang.Object o)
|
void |
resetAdomNodeProcessingMode()
|
void |
setADOMNode(ADOMNode adomnode)
|
void |
setAdomNodeProcessingMode(int value)
|
void |
setDisableQSpecifier(boolean value)
|
void |
setDoubleBackSlashes(boolean value)
|
void |
setLogger(Logger log)
|
void |
setProcessCallInstance(CallInstance ci)
|
void |
setValue(java.lang.String symbol,
java.lang.String value)
Although this method takes place in this interface it will not be called by Expression class. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADOM_NODE_PROCESSING_MODE_IGNORE
public static final int ADOM_NODE_PROCESSING_MODE_FIRST
public static final int ADOM_NODE_PROCESSING_MODE_LAST
public boolean bypassRIE
public SymbolResolver assistant
Constructor Detail |
---|
public MMSymbolResolver(MoreMotionRequest request)
Method Detail |
---|
public void setProcessCallInstance(CallInstance ci)
public CallInstance getProcessCallInstance()
public void setLogger(Logger log)
public Logger getLogger()
public void setDisableQSpecifier(boolean value)
public boolean getDisableQSpecifier()
public void pushProcessRecord(ProcessRecord prec)
public void popProcessRecord()
public ProcessRecord peekProcessRecord()
public void pushTCall(java.util.HashMap tcall) throws ConfigParameterException
ConfigParameterException
public void popTCall()
public void setADOMNode(ADOMNode adomnode)
public ADOMNode getADOMNode()
public void setAdomNodeProcessingMode(int value)
public void resetAdomNodeProcessingMode()
public MoreMotionRequest getRequest()
public VariablePool getVPool()
public boolean getBoolValue(java.lang.String symbol) throws EvaluationException
SymbolResolver
boolean
.
This method will be called when type of the symbol is boolean
.
getBoolValue
in interface SymbolResolver
EvaluationException
public double getNumberValue(java.lang.String symbol) throws EvaluationException
SymbolResolver
double
.
This method will be called when type of the symbol is either int
or double
.
getNumberValue
in interface SymbolResolver
EvaluationException
public java.lang.String getStringValue(java.lang.String symbol) throws EvaluationException
SymbolResolver
String
.
This method will be called when type of the symbol is String
.
getStringValue
in interface SymbolResolver
EvaluationException
public int getType(java.lang.String symbol) throws EvaluationException
SymbolResolver
getType
in interface SymbolResolver
EvaluationException
public java.lang.String getValue(java.lang.String symbol) throws EvaluationException
SymbolResolver
String
.
This method will be called when type of the symbol is undefined.
getValue
in interface SymbolResolver
EvaluationException
public boolean isNull(java.lang.String symbol) throws SymbolResolvingException
SymbolResolvingException
public java.lang.String doubleTheQuotes(java.lang.String source)
public void setValue(java.lang.String symbol, java.lang.String value) throws SymbolResolvingException
SymbolResolver
setValue
in interface SymbolResolver
SymbolResolvingException
public void setDoubleBackSlashes(boolean value)
public boolean doubleTheBackSlashes()
public void putObject(java.lang.String name, java.lang.Object o)
public java.lang.Object getObject(java.lang.String name)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |