Package com.github.jknack.handlebars
-
Interface Summary Interface Description Decorator A decorator allows a declarative means to both annotate particular blocks with metadata as well as to wrap in behaviors when desired, prior to execution.EscapingStrategy A strategy for determining how to escape a variable ({{variable}}
)..Formatter Format a variable to something else.Formatter.Chain Call the next formatter in the chain.Helper<T> Handlebars helpers can be accessed from any context in a template.HelperRegistry The helper registry.Lambda<C,O> When the value is a callable object, such as a lambda, the object will be invoked and passed the block of text.Options.Buffer Buffer like use it to increase rendering time while using helpers.Parser The Handlebars Parser.ParserFactory Creates a new Handlebars parser.PathExpression Compiled version of path expression, like:this
,foo
,foo.bar
.PathExpression.Chain Call the next expression in the chain and/or finalize the process if this was the tail.Template A compiled template created byHandlebars.compileInline(String)
.TypeSafeTemplate<T> Make handlebars templates type-safe.ValueResolver A hook interface for resolving values from thecontext stack
. -
Class Summary Class Description Context Mustache/Handlebars are contextual template engines.Context.Builder A context builder.EscapingStrategy.Hbs Handlebars escaping strategy.Handlebars Handlebars provides the power necessary to let you build semantic templates effectively with no frustration.Handlebars.SafeString AHandlebars.SafeString
tellHandlebars
that the content should not be escaped as HTML.Handlebars.Utils Utilities function like:Handlebars.Utils.escapeExpression(CharSequence)
andHandlebars.Utils.isEmpty(Object)
.HandlebarsError Useful information about a handlebar error.Options Options available forHelper.apply(Object, Options)
.Options.Builder AnOptions
builder.Options.InMemoryBuffer AStringBuilder
implementation.Options.NativeBuffer This buffer will write into the underlying writer.PathCompiler Compile mustache/handlebars expressions. -
Enum Summary Enum Description TagType Tags are indicated by the double mustaches. -
Exception Summary Exception Description HandlebarsException If something goes wrong this exception will happen.