public class SpincastPebbleExtension extends Object implements ISpincastPebbleExtension
| Constructor and Description |
|---|
SpincastPebbleExtension(com.google.inject.Provider<ITemplatingEngine> templatingEngineProvider)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<com.mitchellbosecke.pebble.operator.BinaryOperator> |
getBinaryOperators() |
protected com.mitchellbosecke.pebble.extension.Function |
getCheckedFunction() |
protected String |
getCheckedFunctionName() |
protected com.mitchellbosecke.pebble.extension.Function |
getFieldCheckedFunction()
Returns a boolean.
|
protected String |
getFieldCheckedFunctionName() |
protected com.mitchellbosecke.pebble.extension.Function |
getFieldErrorMessagesFunction()
Warning! The resulting content will be a
SafeString
so it won't be escaped! |
protected String |
getFieldErrorMessagesFunctionName() |
protected String |
getFieldErrorMessagesFunctionTemplatePath() |
protected com.mitchellbosecke.pebble.extension.Function |
getFieldGroupErrorClassFunction()
The result is a class name or an empty String and
will be escaped.
|
protected String |
getFieldGroupErrorClassFunctionErrorClass() |
protected String |
getFieldGroupErrorClassFunctionName() |
protected com.mitchellbosecke.pebble.extension.Function |
getFieldValueFunction()
The result *will* be escaped.
|
protected String |
getFieldValueFunctionName() |
Map<String,com.mitchellbosecke.pebble.extension.Filter> |
getFilters() |
Map<String,com.mitchellbosecke.pebble.extension.Function> |
getFunctions() |
Map<String,Object> |
getGlobalVariables() |
List<com.mitchellbosecke.pebble.extension.NodeVisitorFactory> |
getNodeVisitors() |
protected com.mitchellbosecke.pebble.extension.Function |
getSelectedFunction() |
protected String |
getSelectedFunctionName() |
ITemplatingEngine |
getTemplatingEngine() |
Map<String,com.mitchellbosecke.pebble.extension.Test> |
getTests() |
List<com.mitchellbosecke.pebble.tokenParser.TokenParser> |
getTokenParsers() |
List<com.mitchellbosecke.pebble.operator.UnaryOperator> |
getUnaryOperators() |
@Inject public SpincastPebbleExtension(com.google.inject.Provider<ITemplatingEngine> templatingEngineProvider)
public ITemplatingEngine getTemplatingEngine()
public Map<String,com.mitchellbosecke.pebble.extension.Filter> getFilters()
getFilters in interface com.mitchellbosecke.pebble.extension.Extensionpublic Map<String,com.mitchellbosecke.pebble.extension.Test> getTests()
getTests in interface com.mitchellbosecke.pebble.extension.Extensionpublic List<com.mitchellbosecke.pebble.tokenParser.TokenParser> getTokenParsers()
getTokenParsers in interface com.mitchellbosecke.pebble.extension.Extensionpublic List<com.mitchellbosecke.pebble.operator.BinaryOperator> getBinaryOperators()
getBinaryOperators in interface com.mitchellbosecke.pebble.extension.Extensionpublic List<com.mitchellbosecke.pebble.operator.UnaryOperator> getUnaryOperators()
getUnaryOperators in interface com.mitchellbosecke.pebble.extension.Extensionpublic Map<String,Object> getGlobalVariables()
getGlobalVariables in interface com.mitchellbosecke.pebble.extension.Extensionpublic List<com.mitchellbosecke.pebble.extension.NodeVisitorFactory> getNodeVisitors()
getNodeVisitors in interface com.mitchellbosecke.pebble.extension.Extensionpublic Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
getFunctions in interface com.mitchellbosecke.pebble.extension.Extensionprotected String getFieldErrorMessagesFunctionName()
protected String getFieldValueFunctionName()
protected String getFieldCheckedFunctionName()
protected String getFieldGroupErrorClassFunctionName()
protected String getCheckedFunctionName()
protected String getSelectedFunctionName()
protected com.mitchellbosecke.pebble.extension.Function getFieldErrorMessagesFunction()
SafeString
so it won't be escaped!protected String getFieldErrorMessagesFunctionTemplatePath()
protected com.mitchellbosecke.pebble.extension.Function getFieldValueFunction()
| raw filter after the function call.protected com.mitchellbosecke.pebble.extension.Function getFieldCheckedFunction()
protected com.mitchellbosecke.pebble.extension.Function getFieldGroupErrorClassFunction()
protected String getFieldGroupErrorClassFunctionErrorClass()
protected com.mitchellbosecke.pebble.extension.Function getCheckedFunction()
protected com.mitchellbosecke.pebble.extension.Function getSelectedFunction()
Copyright © 2016. All rights reserved.