Class ToStringExpression

java.lang.Object
com.inductiveautomation.ignition.common.expressions.AbstractExpression
com.inductiveautomation.ignition.common.expressions.ToStringExpression
All Implemented Interfaces:
Expression

public class ToStringExpression extends AbstractExpression
Simply concatenates all sub expressions into a single string value. Very similar to NonLocalizedToStringExpression, but does not make any special adjustments to the value. Also, unlike that expression type, this one uses the current locale as well.
  • Constructor Details

    • ToStringExpression

      public ToStringExpression()
    • ToStringExpression

      public ToStringExpression(Locale locale)
  • Method Details

    • execute

      @Nonnull public QualifiedValue execute() throws ExpressionException
      Description copied from interface: Expression
      Compute and return the value of this expression
      Throws:
      ExpressionException
    • getType

      public Class<?> getType()
      Description copied from interface: Expression
      Return the type that this expression will return
    • getOpName

      public String getOpName()
      Description copied from interface: Expression
      Return a human-readable name for the operation that this expression performs
    • objToStr

      protected String objToStr(Object value)