Interface TemplateScalarModel

    • Field Detail

      • EMPTY_STRING

        static final TemplateModel EMPTY_STRING
        A constant value to use as the empty string.
    • Method Detail

      • getAsString

        java.lang.String getAsString()
                              throws TemplateModelException
        Returns the String representation of this model. Returning null is illegal, and may cause exception in the calling code. (Except, in classic-compatible mode the engine will convert null into empty string.)
        Throws:
        TemplateModelException