S

ST4

StringTemplate is a java template engine for generating source code, web pages, emails, or any other formatted text output. StringTemplate is particularly good at multi-targeted code generators, multiple site skins, and internationalization/localization. It evolved over years of effort developing jGuru.com. StringTemplate also powers the ANTLR 3 and 4 code generator. Its distinguishing characteristic is that unlike other engines, it strictly enforces model-view separation. Strict separation makes websites and code generators more flexible and maintainable; it also provides an excellent defense against malicious template authors.
Files download
File Operation
ST4-4.3.1.jar download
ST4-4.3.1.pom download
ST4-4.3.1-sources.jar download
Apache Maven
<dependency>
  <groupId>org.antlr</groupId>
  <artifactId>ST4</artifactId>
  <version>4.3.1</version>
</dependency>
Gradle Groovy
implementation 'org.antlr:ST4:4.3.1'
Gradle Kotlin
implementation("org.antlr:ST4:4.3.1")
Scala SBT
libraryDependencies += "org.antlr" % "ST4" % "4.3.1"
Groovy Grape
@Grapes(
  @Grab(group='org.antlr', module='ST4', version='4.3.1')
)
Apache Ivy
<dependency org="org.antlr" name="ST4" rev="4.3.1" />
Leiningen
[org.antlr/ST4 "4.3.1"]
Apache Buildr
'org.antlr:ST4:jar:4.3.1'