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