static Mustache.Compiler |
Mustache.compiler() |
Returns a compiler that escapes HTML by default and does not use standards mode.
|
Mustache.Compiler |
Mustache.Compiler.defaultValue(String defaultValue) |
Returns a compiler that will use the given value for any variable that is missing, or
otherwise resolves to null.
|
Mustache.Compiler |
Mustache.Compiler.emptyStringIsFalse(boolean emptyStringIsFalse) |
Returns a compiler that will treat empty string as a false value if parameter is true.
|
Mustache.Compiler |
Mustache.Compiler.escapeHTML(boolean escapeHTML) |
Returns a compiler that either does or does not escape HTML by default.
|
Mustache.Compiler |
Mustache.Compiler.nullValue(String nullValue) |
Returns a compiler that will use the given value for any variable that resolves to
null, but will still raise an exception for variables for which an accessor cannot be
found.
|
Mustache.Compiler |
Mustache.Compiler.standardsMode(boolean standardsMode) |
Returns a compiler that either does or does not use standards mode.
|
Mustache.Compiler |
Mustache.Compiler.strictSections(boolean strictSections) |
Returns a compiler that throws an exception when a section references a missing value
(true) or treats a missing value as false (false, the default).
|
Mustache.Compiler |
Mustache.Compiler.withCollector(Mustache.Collector collector) |
Returns a compiler configured to use the supplied collector.
|
Mustache.Compiler |
Mustache.Compiler.withDelims(String delims) |
Returns a compiler configured to use the supplied delims as default delimiters.
|
Mustache.Compiler |
Mustache.Compiler.withEscaper(Mustache.Escaper escaper) |
|
Mustache.Compiler |
Mustache.Compiler.withFormatter(Mustache.Formatter formatter) |
|
Mustache.Compiler |
Mustache.Compiler.withLoader(Mustache.TemplateLoader loader) |
Returns a compiler configured to use the supplied template loader to handle partials.
|
Mustache.Compiler |
Mustache.Compiler.zeroIsFalse(boolean zeroIsFalse) |
Returns a compiler that will treat zero as a false value if parameter is true.
|