Class SimpleScalar

    • Constructor Detail

      • SimpleScalar

        public SimpleScalar​(String value)
        Constructs a SimpleScalar containing a string value.
        Parameters:
        value - the string value.
    • Method Detail

      • getAsString

        public String getAsString()
        Description copied from interface: TemplateScalarModel
        Returns the string representation of this model. In general, avoid returning null. In compatibility mode the engine will convert null into empty string, however in normal mode it will throw an exception if you return null from this method.
        Specified by:
        getAsString in interface TemplateScalarModel