インタフェース TemplateReady

    • メソッドの詳細

      • toTemplateModel

        default java.util.Map<java.lang.String,​java.lang.Object> toTemplateModel()
        convert the object into Map object which can be consumed by FreeMarker as model
        戻り値:
        a model
      • toTemplateModelAsJson

        default java.lang.String toTemplateModelAsJson()
        戻り値:
        one line json (non-pretty-printed)
      • toTemplateModelAsJson

        default java.lang.String toTemplateModelAsJson​(boolean prettyPrint)