Package org.globus.rsl
Class Binding
java.lang.Object
org.globus.rsl.Binding
This class represents a single variable definition in RSL
(see rsl_substitution attribute)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates the variable definition with the specified symbol table.getName()
Returns the name of the variable.getValue()
Returns the variable value.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.toString()
-
Field Details
-
_name
-
_value
-
-
Constructor Details
-
Binding
-
Binding
-
-
Method Details
-
getName
Returns the name of the variable.- Returns:
- the variable name.
-
getValue
Returns the variable value.- Returns:
- the variable value.
-
evaluate
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
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
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
-