Class 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 Detail

      • ToStringExpression

        public ToStringExpression()
      • ToStringExpression

        public ToStringExpression​(java.util.Locale locale)
    • Method Detail

      • getType

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

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

        protected java.lang.String objToStr​(java.lang.Object value)