{"id":55188,"library":"stringtemplate","title":"StringTemplate","description":"StringTemplate is a Java template engine for generating source code, web pages, emails, or any formatted text output, enforcing strict model-view separation.","status":"active","version":"4.0.2","language":"java","source_language":null,"source_url":"http://fisheye2.cenqua.com/browse/stringtemplate","tags":["template","engine","code-generation","stringtemplate","antlr"],"install":[{"cmd":"<dependency>\n  <groupId>org.antlr</groupId>\n  <artifactId>stringtemplate</artifactId>\n  <version>4.0.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.antlr:stringtemplate:4.0.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ST","correct":"org.stringtemplate.v4.ST"}],"quickstart":{"code":"import org.stringtemplate.v4.ST;\n\npublic class Example {\n    public static void main(String[] args) {\n        ST st = new ST(\"Hello, <name>!\");\n        st.add(\"name\", \"World\");\n        System.out.println(st.render());\n    }\n}","lang":"java","description":"Render a simple template with StringTemplate"},"warnings":[{"fix":"Update template syntax and API calls when migrating from 3.x to 4.x","message":"Version 4.x has breaking API changes from 3.x","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'antlr':32 'code':11,29 'code-gener':28 'email':14 'enforc':20 'engin':7,27 'format':17 'generat':9,30 'java':5 'model':23 'model-view':22 'output':19 'page':13 'separ':25 'sourc':10 'strict':21 'stringtempl':1,2,31 'templat':6,26 'text':18 'view':24 'web':12","created_at":"2026-06-15T09:40:10.442011+00:00","updated_at":"2026-06-15T09:40:10.442011+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://www.stringtemplate.org","github":null,"docs":"https://appdoc.app/artifact/org.antlr/stringtemplate/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}