Index

A B C D E F G H I K L M N O P R S T U V W Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractPartialSegment(Mustache.Compiler, String, int, String) - Constructor for class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
AbstractSectionSegment(Mustache.AbstractSectionSegment, Template.Segment[]) - Constructor for class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
AbstractSectionSegment(Mustache.Compiler, String, Template.Segment[], int) - Constructor for class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
accum - Variable in class com.samskivert.mustache.Mustache.Parser
 
Accumulator(Mustache.Compiler, boolean) - Constructor for class com.samskivert.mustache.Mustache.Accumulator
 
addCloseSectionSegment(String, int) - Method in class com.samskivert.mustache.Mustache.Accumulator
 
addFauxSegment() - Method in class com.samskivert.mustache.Mustache.Accumulator
 
addIfaces(Set<Class<?>>, Class<?>, boolean) - Method in class com.samskivert.mustache.DefaultCollector
 
addTag(char, String, StringBuilder) - Method in class com.samskivert.mustache.Mustache.Delims
 
addTagSegment(StringBuilder, int) - Method in class com.samskivert.mustache.Mustache.Accumulator
 
addTextSegment(StringBuilder) - Method in class com.samskivert.mustache.Mustache.Accumulator
 
allowsWhitespace(char) - Static method in class com.samskivert.mustache.Mustache
 
arrayHelper(Object) - Static method in class com.samskivert.mustache.BasicCollector
 
ArrayHelper() - Constructor for class com.samskivert.mustache.BasicCollector.ArrayHelper
 

B

BasicCollector - Class in com.samskivert.mustache
A collector that does not use reflection and can be used with GWT.
BasicCollector() - Constructor for class com.samskivert.mustache.BasicCollector
 
BasicCollector.ArrayHelper - Class in com.samskivert.mustache
 
blankPos(String, boolean, boolean) - Static method in class com.samskivert.mustache.Mustache.StringSegment
 
BlockSegment(Mustache.BlockSegment, Template.Segment[]) - Constructor for class com.samskivert.mustache.Mustache.BlockSegment
 
BlockSegment(Mustache.Compiler, String, Template.Segment[], int) - Constructor for class com.samskivert.mustache.Mustache.BlockSegment
 
BOOLEAN_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
BYTE_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 

C

cclass - Variable in class com.samskivert.mustache.Template.Key
 
CHAR_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
checkForMissing(String, int, boolean, Object) - Method in class com.samskivert.mustache.Template
 
collector - Variable in class com.samskivert.mustache.Mustache.Compiler
The collector used by templates compiled with this compiler.
column - Variable in class com.samskivert.mustache.Mustache.Parser
 
com.samskivert.jmustache - module com.samskivert.jmustache
 
com.samskivert.mustache - package com.samskivert.mustache
 
compile(Reader) - Method in class com.samskivert.mustache.Mustache.Compiler
Compiles the supplied template into a repeatedly executable intermediate form.
compile(Reader, Mustache.Compiler) - Static method in class com.samskivert.mustache.Mustache
Compiles the supplied template into a repeatedly executable intermediate form.
compile(String) - Method in class com.samskivert.mustache.Mustache.Compiler
Compiles the supplied template into a repeatedly executable intermediate form.
compiler() - Static method in class com.samskivert.mustache.Mustache
Returns a compiler that escapes HTML by default and does not use standards mode.
Compiler(boolean, boolean, String, boolean, boolean, boolean, Mustache.Formatter, Mustache.Escaper, Mustache.TemplateLoader, Mustache.Collector, Mustache.Delims) - Constructor for class com.samskivert.mustache.Mustache.Compiler
 
computeNullValue(String) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns the value to use in the template for the null-valued property name.
context() - Method in class com.samskivert.mustache.Template.Fragment
Returns the context object in effect for this fragment.
context(int) - Method in class com.samskivert.mustache.Template.Fragment
Like context() btu returns the nth parent context object.
Context(Object, Template.Context, int, boolean, boolean) - Constructor for class com.samskivert.mustache.Template.Context
 
Context(String, String, int) - Constructor for exception class com.samskivert.mustache.MustacheException.Context
 
Context(String, String, int, Throwable) - Constructor for exception class com.samskivert.mustache.MustacheException.Context
 
copy() - Method in class com.samskivert.mustache.Mustache.Delims
 
createFetcher(Object, String) - Method in class com.samskivert.mustache.BasicCollector
 
createFetcher(Object, String) - Method in class com.samskivert.mustache.DefaultCollector
 
createFetcher(Object, String) - Method in interface com.samskivert.mustache.Mustache.Collector
Creates a fetcher for a so-named variable in the supplied context object, which will never be null.
createFetcherCache() - Method in class com.samskivert.mustache.BasicCollector
This should return a thread-safe map, either Collections.synchronizedMap(java.util.Map<K, V>) called on a standard Map implementation or something like ConcurrentHashMap.
createFetcherCache() - Method in class com.samskivert.mustache.DefaultCollector
 
createFetcherCache() - Method in interface com.samskivert.mustache.Mustache.Collector
Creates a map to be used to cache Mustache.VariableFetcher instances.
createFragment(Template.Segment[], Template.Context) - Method in class com.samskivert.mustache.Template
 
CUSTOM_FETCHER - Static variable in class com.samskivert.mustache.BasicCollector
 

D

data - Variable in class com.samskivert.mustache.Template.Context
 
decompile() - Method in class com.samskivert.mustache.Template.Fragment
Decompiles the template inside this lamdba and returns an approximation of the original template from which it was parsed.
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.StringSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
decompile(Mustache.Delims, StringBuilder) - Method in class com.samskivert.mustache.Template.Segment
 
decompile(StringBuilder) - Method in class com.samskivert.mustache.Template.Fragment
Decompiles this fragment into into.
DEFAULT_FORMATTER - Static variable in class com.samskivert.mustache.Mustache
 
DefaultCollector - Class in com.samskivert.mustache
The default collector used by JMustache.
DefaultCollector() - Constructor for class com.samskivert.mustache.DefaultCollector
 
DefaultCollector(boolean) - Constructor for class com.samskivert.mustache.DefaultCollector
 
defaultValue(String) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler that will use the given value for any variable that is missing, or otherwise resolves to null.
delims - Variable in class com.samskivert.mustache.Mustache.Compiler
The delimiters used by default in templates compiled with this compiler.
delims - Variable in class com.samskivert.mustache.Mustache.Parser
 
Delims() - Constructor for class com.samskivert.mustache.Mustache.Delims
 
DOT_NAME - Static variable in class com.samskivert.mustache.Template
 
DOUBLE_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 

E

emptyStringIsFalse - Variable in class com.samskivert.mustache.Mustache.Compiler
If this value is true, empty string will be treated as a false value, as in JavaScript mustache implementation.
emptyStringIsFalse(boolean) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler that will treat empty string as a false value if parameter is true.
end1 - Variable in class com.samskivert.mustache.Mustache.Delims
 
end2 - Variable in class com.samskivert.mustache.Mustache.Delims
 
equals(Object) - Method in class com.samskivert.mustache.Template.Key
 
errmsg(String) - Static method in class com.samskivert.mustache.Mustache.Delims
 
escape(CharSequence) - Method in interface com.samskivert.mustache.Mustache.Escaper
Returns raw with the appropriate characters replaced with escape sequences.
escape(String) - Method in interface com.samskivert.mustache.Mustache.Escaper
Returns raw with the appropriate characters replaced with escape sequences.
escapeHTML(boolean) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler that either does or does not escape HTML by default.
escaper - Variable in class com.samskivert.mustache.Mustache.Compiler
Handles escaping characters in substituted text.
Escapers - Class in com.samskivert.mustache
Defines some standard Mustache.Escapers.
Escapers() - Constructor for class com.samskivert.mustache.Escapers
 
execute() - Method in class com.samskivert.mustache.Template.Fragment
Executes this fragment and returns its result as a string.
execute(Template.Fragment, Writer) - Method in interface com.samskivert.mustache.Mustache.Lambda
Executes this lambda on the supplied template fragment.
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.StringSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
execute(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Template.Segment
 
execute(Writer) - Method in class com.samskivert.mustache.Template.Fragment
Executes this fragment; writes its result to out.
execute(Object) - Method in class com.samskivert.mustache.Template
Executes this template with the given context, returning the results as a string.
execute(Object) - Method in class com.samskivert.mustache.Template.Fragment
Executes this fragment with the provided context; returns its result as a string.
execute(Object, Writer) - Method in class com.samskivert.mustache.Template
Executes this template with the given context, writing the results to the supplied writer.
execute(Object, Writer) - Method in class com.samskivert.mustache.Template.Fragment
Executes this fragment with the provided context; writes its result to out.
execute(Object, Object, Writer) - Method in class com.samskivert.mustache.Template
Executes this template with the supplied context and parent context, writing the results to the supplied writer.
executeInverse(Template.Fragment, Writer) - Method in interface com.samskivert.mustache.Mustache.InvertibleLambda
Executes this lambda on the supplied template fragment, when the lambda is used in an inverse section.
executeSegs(Template.Context, Writer) - Method in class com.samskivert.mustache.Template
 
executeSegs(Template, Template.Context, Writer) - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
executeTemplate(Template, Writer) - Method in class com.samskivert.mustache.Template.Fragment
Executes tmpl using this fragment's bound context.

F

FAILING_LOADER - Static variable in class com.samskivert.mustache.Mustache
 
FauxSegment() - Constructor for class com.samskivert.mustache.Mustache.FauxSegment
 
finish() - Method in class com.samskivert.mustache.Mustache.Accumulator
 
FIRST_NAME - Static variable in class com.samskivert.mustache.Template
 
firstLeadsBlank() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
FLOAT_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
format(Object) - Method in interface com.samskivert.mustache.Mustache.Formatter
Converts value to a CharSequence for inclusion in a template.
formatter - Variable in class com.samskivert.mustache.Mustache.Compiler
Handles converting objects to strings when rendering a template.
Fragment() - Constructor for class com.samskivert.mustache.Template.Fragment
 

G

get(Object, int) - Method in class com.samskivert.mustache.BasicCollector.ArrayHelper
 
get(Object, String) - Method in class com.samskivert.mustache.BasicCollector.ArrayHelper
 
get(Object, String) - Method in interface com.samskivert.mustache.Mustache.VariableFetcher
Reads the so-named variable from the supplied context object.
get(String) - Method in interface com.samskivert.mustache.Mustache.CustomContext
Fetches the value of a variable named name.
getCompoundValue(Template.Context, String, int, boolean) - Method in class com.samskivert.mustache.Template
Decomposes the compound key name into components and resolves the value they reference.
getField(Class<?>, String) - Method in class com.samskivert.mustache.DefaultCollector
 
getIfaceMethod(Class<?>, String) - Method in class com.samskivert.mustache.DefaultCollector
 
getMethod(Class<?>, String) - Method in class com.samskivert.mustache.DefaultCollector
 
getMethodOn(Class<?>, String) - Method in class com.samskivert.mustache.DefaultCollector
 
getSectionValue(Template.Context, String, int) - Method in class com.samskivert.mustache.Template
Returns the value of the specified variable, noting that it is intended to be used as the contents for a section.
getTemplate() - Method in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
getTemplate(String) - Method in interface com.samskivert.mustache.Mustache.TemplateLoader
Returns a reader for the template with the supplied name.
getValue(Template.Context, String, int, boolean) - Method in class com.samskivert.mustache.Template
Called by executing segments to obtain the value of the specified variable in the supplied context.
getValueIn(Object, String, int) - Method in class com.samskivert.mustache.Template
 
getValueOrDefault(Template.Context, String, int) - Method in class com.samskivert.mustache.Template
Returns the value for the specified variable, or the configured default value if the variable resolves to null.

H

hashCode() - Method in class com.samskivert.mustache.Template.Key
 
HTML - Static variable in class com.samskivert.mustache.Escapers
Escapes HTML entities.

I

IncludedTemplateSegment(Mustache.Compiler, String, int) - Constructor for class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
IncludedTemplateSegment(Mustache.Compiler, String, int, String) - Constructor for class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
indent() - Method in class com.samskivert.mustache.Mustache.StringSegment
Calculate indent for partial idententation
indent(String) - Method in class com.samskivert.mustache.Template
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.StringSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
indent(String, boolean, boolean) - Method in class com.samskivert.mustache.Template.Segment
Recursively indent by the parameter indent.
indentSegs(Template.Segment[], String, boolean, boolean) - Static method in class com.samskivert.mustache.Mustache
Indents segments by indent.
index - Variable in class com.samskivert.mustache.Template.Context
 
INDEX_NAME - Static variable in class com.samskivert.mustache.Template
 
INT_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
InvertedSegment(Mustache.Compiler, String, Template.Segment[], int) - Constructor for class com.samskivert.mustache.Mustache.InvertedSegment
 
InvertedSegment(Mustache.InvertedSegment, Template.Segment[]) - Constructor for class com.samskivert.mustache.Mustache.InvertedSegment
 
isEmptyCharSequence(Object) - Method in class com.samskivert.mustache.Mustache.Compiler
Replaces "".equals(value).
isFalsey(Object) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns true if the supplied value is "falsey".
isStaches() - Method in class com.samskivert.mustache.Mustache.Delims
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.StringSegment
 
isStandalone() - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
isStandalone() - Method in class com.samskivert.mustache.Template.Segment
Whether or not the segment is standalone.
isStandaloneEnd() - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
isStandaloneEnd() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
isStandaloneEnd() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
isStandaloneStart() - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
isStandaloneStart() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
isStandaloneStart() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
isThisName(String) - Static method in class com.samskivert.mustache.Template
 
ITER_FETCHER - Static variable in class com.samskivert.mustache.BasicCollector
 

K

key - Variable in exception class com.samskivert.mustache.MustacheException.Context
The key that caused the problem.
Key(Class<?>, String) - Constructor for class com.samskivert.mustache.Template.Key
 

L

LAST_NAME - Static variable in class com.samskivert.mustache.Template
 
lastTrailsBlank() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
lastTrailsBlank() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
leadsBlank() - Method in class com.samskivert.mustache.Mustache.StringSegment
 
length(Object) - Method in class com.samskivert.mustache.BasicCollector.ArrayHelper
 
line - Variable in class com.samskivert.mustache.Mustache.Parser
 
lineNo - Variable in exception class com.samskivert.mustache.MustacheException.Context
The line number of the template on which the problem occurred.
LIST_FETCHER - Static variable in class com.samskivert.mustache.BasicCollector
 
loader - Variable in class com.samskivert.mustache.Mustache.Compiler
The template loader in use during this compilation.
loadTemplate(String) - Method in class com.samskivert.mustache.Mustache.Compiler
Loads and compiles the template name using this compiler's configured template loader.
lock - Variable in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
LONG_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 

M

makeAccessible(Method) - Method in class com.samskivert.mustache.DefaultCollector
 
MAP_FETCHER - Static variable in class com.samskivert.mustache.BasicCollector
 
MATCHING_END - Static variable in class com.samskivert.mustache.Mustache
 
MATCHING_START - Static variable in class com.samskivert.mustache.Mustache
 
missingIsNull - Variable in class com.samskivert.mustache.Mustache.Compiler
If this value is true, missing variables will be treated like variables that return null.
Mustache - Class in com.samskivert.mustache
Provides Mustache templating services.
Mustache() - Constructor for class com.samskivert.mustache.Mustache
 
Mustache.AbstractPartialSegment - Class in com.samskivert.mustache
An abstract segment that is a template include.
Mustache.AbstractSectionSegment - Class in com.samskivert.mustache
A helper class for section-like segments.
Mustache.Accumulator - Class in com.samskivert.mustache
 
Mustache.BlockReplaceable - Interface in com.samskivert.mustache
 
Mustache.BlockSegment - Class in com.samskivert.mustache
A parent partial parameter using $ as the sigil.
Mustache.Collector - Interface in com.samskivert.mustache
Handles interpreting objects as collections.
Mustache.Compiler - Class in com.samskivert.mustache
Compiles templates into executable form.
Mustache.CustomContext - Interface in com.samskivert.mustache
Provides a means to implement custom logic for variable lookup.
Mustache.Delims - Class in com.samskivert.mustache
 
Mustache.Escaper - Interface in com.samskivert.mustache
Handles escaping characters in substituted text.
Mustache.FauxSegment - Class in com.samskivert.mustache
 
Mustache.Formatter - Interface in com.samskivert.mustache
Handles converting objects to strings when rendering templates.
Mustache.IncludedTemplateSegment - Class in com.samskivert.mustache
A segment that loads and executes a sub-template by spec called a partial.
Mustache.InvertedSegment - Class in com.samskivert.mustache
A segment that represents an inverted section.
Mustache.InvertibleLambda - Interface in com.samskivert.mustache
Handles lambdas that are also invoked for inverse sections..
Mustache.Lambda - Interface in com.samskivert.mustache
Handles lambdas.
Mustache.NamedSegment - Class in com.samskivert.mustache
A helper class for named segments.
Mustache.ParentTemplateSegment - Class in com.samskivert.mustache
A segment that loads and executes a parent template by spec called inheritance.
Mustache.Parser - Class in com.samskivert.mustache
 
Mustache.SectionSegment - Class in com.samskivert.mustache
A segment that represents a section.
Mustache.StandaloneSection - Interface in com.samskivert.mustache
 
Mustache.StringSegment - Class in com.samskivert.mustache
A simple segment that reproduces a string.
Mustache.TemplateLoader - Interface in com.samskivert.mustache
Handles loading partial templates.
Mustache.VariableFetcher - Interface in com.samskivert.mustache
Reads variables from context objects.
Mustache.VariableSegment - Class in com.samskivert.mustache
A segment that substitutes the contents of a variable.
Mustache.Visitor - Interface in com.samskivert.mustache
Used to visit the tags in a template without executing it.
MustacheException - Exception Class in com.samskivert.mustache
An exception thrown when an error occurs parsing or executing a Mustache template.
MustacheException(String) - Constructor for exception class com.samskivert.mustache.MustacheException
 
MustacheException(String, Throwable) - Constructor for exception class com.samskivert.mustache.MustacheException
 
MustacheException(Throwable) - Constructor for exception class com.samskivert.mustache.MustacheException
 
MustacheException.Context - Exception Class in com.samskivert.mustache
An exception thrown if we encounter a context error (e.g.
MustacheParseException - Exception Class in com.samskivert.mustache
An exception thrown if we encounter an error while parsing a template.
MustacheParseException(String) - Constructor for exception class com.samskivert.mustache.MustacheParseException
 
MustacheParseException(String, int) - Constructor for exception class com.samskivert.mustache.MustacheParseException
 

N

name - Variable in class com.samskivert.mustache.Template.Key
 
NamedSegment(String, int) - Constructor for class com.samskivert.mustache.Mustache.NamedSegment
 
nest(Object) - Method in class com.samskivert.mustache.Template.Context
 
nest(Object, int, boolean, boolean) - Method in class com.samskivert.mustache.Template.Context
 
nextChar() - Method in class com.samskivert.mustache.Mustache.Parser
 
NO_CHAR - Static variable in class com.samskivert.mustache.Mustache
Used when we have only a single character delimiter.
NO_FETCHER_FOUND - Static variable in class com.samskivert.mustache.Template
A sentinel object that can be returned by a Mustache.Collector to indicate that a variable does not exist in a particular context.
NONE - Static variable in class com.samskivert.mustache.Escapers
An escaper that does no escaping.
NOT_FOUND_FETCHER - Static variable in class com.samskivert.mustache.Template
A fetcher cached for lookups that failed to find a fetcher.
nullValue - Variable in class com.samskivert.mustache.Mustache.Compiler
A value to use when a variable resolves to null.
nullValue(String) - Method in class com.samskivert.mustache.Mustache.Compiler
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.

O

OBJECT_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
onFirst - Variable in class com.samskivert.mustache.Template.Context
 
onLast - Variable in class com.samskivert.mustache.Template.Context
 

P

parent - Variable in class com.samskivert.mustache.Template.Context
 
ParentTemplateSegment(Mustache.Compiler, String, Template.Segment[], int) - Constructor for class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
ParentTemplateSegment(Mustache.Compiler, String, Template.Segment[], int, String) - Constructor for class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
ParentTemplateSegment(Mustache.ParentTemplateSegment, Template.Segment[], String, Map<String, Mustache.BlockSegment>) - Constructor for class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
parse(Reader) - Method in class com.samskivert.mustache.Mustache.Parser
 
parseChar(char) - Method in class com.samskivert.mustache.Mustache.Parser
 
Parser(Mustache.Compiler) - Constructor for class com.samskivert.mustache.Mustache.Parser
 

R

reindent(String, String, boolean, boolean) - Static method in class com.samskivert.mustache.Mustache.StringSegment
 
removeNonBlocks(Template.Segment[]) - Static method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in interface com.samskivert.mustache.Mustache.BlockReplaceable
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
replaceBlocks(Map<String, Mustache.BlockSegment>) - Method in class com.samskivert.mustache.Template
 
replaceBlockSegs(Template.Segment[], Map<String, Mustache.BlockSegment>) - Static method in class com.samskivert.mustache.Mustache
 
requireNoNewlines(String, int) - Static method in class com.samskivert.mustache.Mustache.Accumulator
 
requireSameName(String, String, int) - Static method in class com.samskivert.mustache.Mustache.Accumulator
 
restoreStartTag(StringBuilder, Mustache.Delims) - Static method in class com.samskivert.mustache.Mustache
 

S

SectionSegment(Mustache.Compiler, String, Template.Segment[], int) - Constructor for class com.samskivert.mustache.Mustache.SectionSegment
 
SectionSegment(Mustache.SectionSegment, Template.Segment[]) - Constructor for class com.samskivert.mustache.Mustache.SectionSegment
 
Segment() - Constructor for class com.samskivert.mustache.Template.Segment
 
SHORT_ARRAY_HELPER - Static variable in class com.samskivert.mustache.BasicCollector
 
simple(String[]...) - Static method in class com.samskivert.mustache.Escapers
Returns an escaper that replaces a list of text sequences with canned replacements.
source - Variable in class com.samskivert.mustache.Mustache.Parser
 
standaloneEnd(boolean) - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
standaloneEnd(boolean) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
standaloneEnd(boolean) - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
standaloneStart(boolean) - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
standaloneStart(boolean) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
standaloneStart(boolean) - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
standardsMode - Variable in class com.samskivert.mustache.Mustache.Compiler
Whether or not standards mode is enabled.
standardsMode(boolean) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler that either does or does not use standards mode.
start1 - Variable in class com.samskivert.mustache.Mustache.Delims
 
start2 - Variable in class com.samskivert.mustache.Mustache.Delims
 
state - Variable in class com.samskivert.mustache.Mustache.Parser
 
strictSections - Variable in class com.samskivert.mustache.Mustache.Compiler
Whether or not to throw an exception when a section resolves to a missing value.
strictSections(boolean) - Method in class com.samskivert.mustache.Mustache.Compiler
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).
StringSegment(String, boolean) - Constructor for class com.samskivert.mustache.Mustache.StringSegment
 
StringSegment(String, int, int, boolean) - Constructor for class com.samskivert.mustache.Mustache.StringSegment
 

T

TAG - Static variable in class com.samskivert.mustache.Mustache
 
tagStartColumn - Variable in class com.samskivert.mustache.Mustache.Parser
 
Template - Class in com.samskivert.mustache
Represents a compiled template.
Template(Template.Segment[], Mustache.Compiler) - Constructor for class com.samskivert.mustache.Template
 
Template.Context - Class in com.samskivert.mustache
 
Template.Fragment - Class in com.samskivert.mustache
Encapsulates a fragment of a template that is passed to a lambda.
Template.Key - Class in com.samskivert.mustache
Used to cache variable fetchers for a given context class, name combination.
Template.Segment - Class in com.samskivert.mustache
A template is broken into segments.
text - Variable in class com.samskivert.mustache.Mustache.Parser
 
TEXT - Static variable in class com.samskivert.mustache.Mustache
 
THIS_NAME - Static variable in class com.samskivert.mustache.Template
 
toIterator(Object) - Method in class com.samskivert.mustache.BasicCollector
 
toIterator(Object) - Method in interface com.samskivert.mustache.Mustache.Collector
Returns an iterator that can iterate over the supplied value, or null if the value is not a collection.
toString() - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.StringSegment
 
toString() - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
toString() - Method in class com.samskivert.mustache.Template.Key
 
trailsBlank() - Method in class com.samskivert.mustache.Mustache.StringSegment
 
trim(Template.Segment[], boolean) - Static method in class com.samskivert.mustache.Mustache
 
trimFirstBlank() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
trimLastBlank() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
trimLastBlank() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
trimLeadBlank() - Method in class com.samskivert.mustache.Mustache.StringSegment
 
trimTrailBlank() - Method in class com.samskivert.mustache.Mustache.StringSegment
 

U

updateDelims(String) - Method in class com.samskivert.mustache.Mustache.Delims
 

V

VariableSegment(String, int, Mustache.Formatter, Mustache.Escaper) - Constructor for class com.samskivert.mustache.Mustache.VariableSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.BlockSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.FauxSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.InvertedSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.SectionSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.StringSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Mustache.VariableSegment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Template.Segment
 
visit(Mustache.Visitor) - Method in class com.samskivert.mustache.Template
Visits the tags in this template (via visitor) without executing it.
visitBlock(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits a block tag.
visitInclude(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits an include (partial) tag.
visitInvertedSection(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits an inverted section tag.
visitParent(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits a parent partial tag.
visitSection(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits a section tag.
visitText(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits a text segment.
visitVariable(String) - Method in interface com.samskivert.mustache.Mustache.Visitor
Visits a variable tag.

W

withCollector(Mustache.Collector) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler configured to use the supplied collector.
withDelims(String) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler configured to use the supplied delims as default delimiters.
withEscaper(Mustache.Escaper) - Method in class com.samskivert.mustache.Mustache.Compiler
Configures the Mustache.Escaper used to escape substituted text.
withFormatter(Mustache.Formatter) - Method in class com.samskivert.mustache.Mustache.Compiler
Configures the Mustache.Formatter used to turn objects into strings.
withLoader(Mustache.TemplateLoader) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler configured to use the supplied template loader to handle partials.
write(Writer, CharSequence) - Static method in class com.samskivert.mustache.Template.Segment
 

Z

zeroIsFalse - Variable in class com.samskivert.mustache.Mustache.Compiler
If this value is true, zero will be treated as a false value, as in JavaScript mustache implementation.
zeroIsFalse(boolean) - Method in class com.samskivert.mustache.Mustache.Compiler
Returns a compiler that will treat zero as a false value if parameter is true.

_

_allowAccessCoercion - Variable in class com.samskivert.mustache.DefaultCollector
 
_blocks - Variable in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_comp - Variable in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
_comp - Variable in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
_comp - Variable in class com.samskivert.mustache.Mustache.Accumulator
 
_comp - Variable in class com.samskivert.mustache.Mustache.InvertedSegment
 
_compiler - Variable in class com.samskivert.mustache.Template
 
_escaper - Variable in class com.samskivert.mustache.Mustache.VariableSegment
 
_fcache - Variable in class com.samskivert.mustache.Template
 
_first - Variable in class com.samskivert.mustache.Mustache.StringSegment
 
_formatter - Variable in class com.samskivert.mustache.Mustache.VariableSegment
 
_indent - Variable in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
_leadBlank - Variable in class com.samskivert.mustache.Mustache.StringSegment
 
_line - Variable in class com.samskivert.mustache.Mustache.NamedSegment
 
_loadTemplate() - Method in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
_loadTemplate() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_name - Variable in class com.samskivert.mustache.Mustache.NamedSegment
 
_segs - Variable in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
_segs - Variable in class com.samskivert.mustache.Mustache.Accumulator
 
_segs - Variable in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_segs - Variable in class com.samskivert.mustache.Template
 
_segs() - Method in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
_segs() - Method in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_segs() - Method in interface com.samskivert.mustache.Mustache.StandaloneSection
 
_standalone - Variable in class com.samskivert.mustache.Mustache.IncludedTemplateSegment
 
_standaloneEnd - Variable in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
_standaloneEnd - Variable in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_standaloneStart - Variable in class com.samskivert.mustache.Mustache.AbstractSectionSegment
 
_standaloneStart - Variable in class com.samskivert.mustache.Mustache.ParentTemplateSegment
 
_template - Variable in class com.samskivert.mustache.Mustache.AbstractPartialSegment
 
_text - Variable in class com.samskivert.mustache.Mustache.StringSegment
 
_topLevel - Variable in class com.samskivert.mustache.Mustache.Accumulator
 
_trailBlank - Variable in class com.samskivert.mustache.Mustache.StringSegment
 
A B C D E F G H I K L M N O P R S T U V W Z _ 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form