public class VarRef extends Value
| Modifier and Type | Field and Description |
|---|---|
protected Value |
defValue |
concatValue, value| Constructor and Description |
|---|
VarRef(String varReference) |
VarRef(String varReference,
Value defValue) |
VarRef(String varReference,
Value defValue,
Value concatVal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
evaluate(Map symbolTable)
Evaluates the variable reference with the specified
symbol table.
|
String |
getCompleteValue()
Returns a complete string representation of this
value.
|
int |
hashCode() |
void |
setDefaultValue(Value value)
Sets the default value of this reference.
|
void |
toRSL(StringBuffer buf,
boolean explicitConcat)
Produces a RSL representation of this variable reference.
|
String |
toString() |
protected Value defValue
public VarRef(String varReference)
public void setDefaultValue(Value value)
value - the default value.public String evaluate(Map symbolTable) throws RslEvaluationException
evaluate in class ValuesymbolTable - the symbol table to evaluate
the variabled reference against.RslEvaluationException - If an error occured during
rsl evaluation.public void toRSL(StringBuffer buf, boolean explicitConcat)
public String getCompleteValue()
getCompleteValue in class ValueCopyright © 2013. All Rights Reserved.