Uses of Class
com.samskivert.mustache.Mustache.Compiler
-
-
Uses of Mustache.Compiler in com.samskivert.mustache
Fields in com.samskivert.mustache declared as Mustache.Compiler Modifier and Type Field Description protected Mustache.Compiler
Mustache.AbstractPartialSegment. _comp
protected Mustache.Compiler
Mustache.AbstractSectionSegment. _comp
protected Mustache.Compiler
Mustache.Accumulator. _comp
protected Mustache.Compiler
Mustache.InvertedSegment. _comp
protected Mustache.Compiler
Template. _compiler
Methods in com.samskivert.mustache that return Mustache.Compiler Modifier and Type Method Description static Mustache.Compiler
Mustache. compiler()
Returns a compiler that escapes HTML by default and does not use standards mode.Mustache.Compiler
Mustache.Compiler. defaultValue(java.lang.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(java.lang.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 asfalse
(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(java.lang.String delims)
Returns a compiler configured to use the supplied delims as default delimiters.Mustache.Compiler
Mustache.Compiler. withEscaper(Mustache.Escaper escaper)
Configures theMustache.Escaper
used to escape substituted text.Mustache.Compiler
Mustache.Compiler. withFormatter(Mustache.Formatter formatter)
Configures theMustache.Formatter
used to turn objects into strings.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.Methods in com.samskivert.mustache with parameters of type Mustache.Compiler Modifier and Type Method Description protected static Template
Mustache. compile(java.io.Reader source, Mustache.Compiler compiler)
Compiles the supplied template into a repeatedly executable intermediate form.Constructors in com.samskivert.mustache with parameters of type Mustache.Compiler Constructor Description AbstractPartialSegment(Mustache.Compiler compiler, java.lang.String name, int line, java.lang.String indent)
AbstractSectionSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line)
Accumulator(Mustache.Compiler compiler, boolean topLevel)
BlockSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line)
IncludedTemplateSegment(Mustache.Compiler compiler, java.lang.String name, int line)
IncludedTemplateSegment(Mustache.Compiler compiler, java.lang.String name, int line, java.lang.String indent)
InvertedSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line)
ParentTemplateSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line)
ParentTemplateSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line, java.lang.String indent)
Parser(Mustache.Compiler compiler)
SectionSegment(Mustache.Compiler compiler, java.lang.String name, Template.Segment[] segs, int line)
Template(Template.Segment[] segs, Mustache.Compiler compiler)
-