public class Binding extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected String |
_name |
|
protected Value |
_value |
| Constructor | Description |
|---|---|
Binding(String name,
String value) |
|
Binding(String name,
Value value) |
| Modifier and Type | Method | Description |
|---|---|---|
Binding |
evaluate(Map symbolTable) |
Evaluates the variable definition with the specified
symbol table.
|
String |
getName() |
Returns the name of the variable.
|
Value |
getValue() |
Returns the variable value.
|
String |
toRSL(boolean explicitConcat) |
Returns a RSL representation of this variable definition.
|
void |
toRSL(StringBuffer buf,
boolean explicitConcat) |
Produces a RSL representation of this variable definition.
|
String |
toString() |
public String getName()
public Value getValue()
public Binding evaluate(Map symbolTable) throws RslEvaluationException
symbolTable - the symbol table to evaluate
the value against.RslEvaluationException - If an error occured during
rsl evaluation.public String toRSL(boolean explicitConcat)
explicitConcat - if true explicit concatination will
be used in RSL strings.public void toRSL(StringBuffer buf, boolean explicitConcat)
buf - buffer to add the RSL representation to.explicitConcat - if true explicit concatination will
be used in RSL strings.Copyright © 2018. All rights reserved.