Binding (Java Globus API)
org.globus.rsl
Class Binding
java.lang.Object
org.globus.rsl.Binding
- public class Binding
- extends Object
This class represents a single variable definition in RSL
(see rsl_substitution attribute)
|
Method Summary |
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()
|
_name
protected String _name
_value
protected Value _value
Binding
public Binding(String name,
Value value)
Binding
public Binding(String name,
String value)
getName
public String getName()
- Returns the name of the variable.
- Returns:
- the variable name.
getValue
public Value getValue()
- Returns the variable value.
- Returns:
- the variable value.
evaluate
public Binding evaluate(Map symbolTable)
throws RslEvaluationException
- Evaluates the variable definition with the specified
symbol table.
- Parameters:
symbolTable - the symbol table to evaluate
the value against.
- Returns:
- an evaluated string.
- Throws:
RslEvaluationException - If an error occured during
rsl evaluation.
toRSL
public String toRSL(boolean explicitConcat)
- Returns a RSL representation of this variable definition.
- Parameters:
explicitConcat - if true explicit concatination will
be used in RSL strings.
- Returns:
- RSL representation of this variable definition.
toRSL
public void toRSL(StringBuffer buf,
boolean explicitConcat)
- Produces a RSL representation of this variable definition.
- Parameters:
buf - buffer to add the RSL representation to.explicitConcat - if true explicit concatination will
be used in RSL strings.
toString
public String toString()