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)
  • Field Details

    • _name

      protected String _name
    • _value

      protected Value _value
  • Constructor Details

  • Method Details

    • 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()
      Overrides:
      toString in class Object