Java Statements

Description The Java code is executed as is. The java code need not be complete statements and may be broken up across the template to allow flow-of-control constructs that include template fragments. A blank (or a period and a blank) must follow the initial delimiter character.
Simple Form
# java-code #
XML Form
Translation to Java
Example Template expr.template

# int x = 5;
  if (x>3) {
line one
# } else { #
line two
# } #

Example Spec spec.xml

<?xml version="1.0"?>
<name>don't care</name>
Generated Output expr

line one