public class Bindings extends NameValue
Modifier and Type | Method and Description |
---|---|
void |
add(Binding binding)
Adds a new variable definition to the list.
|
Bindings |
evaluate(Map symbolTable)
Evaluates the variable definitions as variable definitions
can reference each other against the symbol table.
|
boolean |
removeVariable(String varName)
Removes a specific variable definition from
the list of bindings.
|
void |
toRSL(StringBuffer buf,
boolean explicitConcat)
Produces a RSL representation of this relation.
|
clear, getAttribute, getFirstValue, getValues, merge, remove, setAttribute, setValues, toRSL, toString
public Bindings(String attribute)
public void add(Binding binding)
binding
- a new variable definition.public boolean removeVariable(String varName)
varName
- variable name to remove the definition of.public Bindings evaluate(Map symbolTable) throws RslEvaluationException
symbolTable
- the symbol table to evalute the variables
against.RslEvaluationException
- If an error occured during
rsl evaluation.public void toRSL(StringBuffer buf, boolean explicitConcat)
Copyright © 2016. All rights reserved.