Class PartialHelper
- java.lang.Object
-
- com.github.jknack.handlebars.helper.PartialHelper
-
- All Implemented Interfaces:
Helper<java.lang.Object>
public class PartialHelper extends java.lang.Object implements Helper<java.lang.Object>
The partial registry helper. It stores templates in the current execution context. Later theBlockHelper
helper read the registry and apply the template.- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PartialHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
apply(java.lang.Object context, Options options)
Apply the helper to the context.
-
-
-
Field Detail
-
INSTANCE
public static final Helper<java.lang.Object> INSTANCE
A singleton instance of this helper.
-
NAME
public static final java.lang.String NAME
The helper's name.- See Also:
- Constant Field Values
-
-