public class SpincastPebbleExtensionDefault extends Object implements SpincastPebbleExtension
| Constructor and Description |
|---|
SpincastPebbleExtensionDefault(com.google.inject.Provider<TemplatingEngine> templatingEngineProvider,
SpincastPebbleTemplatingEngineConfig spincastPebbleTemplatingEngineConfig,
ObjectConverter objectConverter)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<Object> |
convertToSet(Object obj) |
List<com.mitchellbosecke.pebble.operator.BinaryOperator> |
getBinaryOperators() |
protected com.mitchellbosecke.pebble.extension.Filter |
getCheckedFilter() |
protected String |
getCheckedFilterName() |
protected com.mitchellbosecke.pebble.template.EvaluationContext |
getEvaluationContext(Map<String,Object> args) |
Map<String,com.mitchellbosecke.pebble.extension.Filter> |
getFilters() |
Map<String,com.mitchellbosecke.pebble.extension.Function> |
getFunctions() |
protected com.mitchellbosecke.pebble.extension.Filter |
getGetFilter() |
protected String |
getGetFilterName() |
protected com.mitchellbosecke.pebble.extension.Function |
getGetFunction() |
protected String |
getGetFunctionName() |
Map<String,Object> |
getGlobalVariables() |
protected Object |
getModelElement(Map<String,Object> args,
String property) |
List<com.mitchellbosecke.pebble.extension.NodeVisitorFactory> |
getNodeVisitors() |
protected ObjectConverter |
getObjectConverter() |
protected com.mitchellbosecke.pebble.template.PebbleTemplate |
getPebbleTemplate(Map<String,Object> args) |
protected Map<String,Object> |
getPropertyAsMap(Map<String,Object> args,
String property) |
protected String |
getPropertyAsString(Map<String,Object> args,
String property) |
protected com.mitchellbosecke.pebble.template.ScopeChain |
getScopeChain(Map<String,Object> args) |
protected com.mitchellbosecke.pebble.extension.Filter |
getSelectedFilter() |
protected String |
getSelectedFilterName() |
protected SpincastPebbleTemplatingEngineConfig |
getSpincastPebbleTemplatingEngineConfig() |
TemplatingEngine |
getTemplatingEngine() |
Map<String,com.mitchellbosecke.pebble.extension.Test> |
getTests() |
List<com.mitchellbosecke.pebble.tokenParser.TokenParser> |
getTokenParsers() |
List<com.mitchellbosecke.pebble.operator.UnaryOperator> |
getUnaryOperators() |
protected String |
getValidationClassError() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationClassFilter() |
protected String |
getValidationClassFilterName() |
protected Object |
getValidationClassNoMessage() |
protected Object |
getValidationClassSuccess() |
protected Object |
getValidationClassWarning() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationFreshFilter() |
protected String |
getValidationFreshFilterName() |
protected String |
getValidationGroupMessagesFilterName() |
protected String |
getValidationGroupMessagesTemplatePath() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationHasErrorsFilter() |
protected String |
getValidationHasErrorsFilterName() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationHasSuccessesFilter() |
protected String |
getValidationHasSuccessesFilterName() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationHasWarningsFilter() |
protected String |
getValidationHasWarningsFilterName() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationIsValidFilter() |
protected String |
getValidationIsValidFilterName() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationMessagesFilter(String templatePath) |
protected String |
getValidationMessagesFilterName() |
protected String |
getValidationMessagesTemplatePath() |
protected com.mitchellbosecke.pebble.extension.Filter |
getValidationSubmittedFilter() |
protected String |
getValidationSubmittedFilterName() |
@Inject public SpincastPebbleExtensionDefault(com.google.inject.Provider<TemplatingEngine> templatingEngineProvider, SpincastPebbleTemplatingEngineConfig spincastPebbleTemplatingEngineConfig, ObjectConverter objectConverter)
public TemplatingEngine getTemplatingEngine()
protected ObjectConverter getObjectConverter()
protected SpincastPebbleTemplatingEngineConfig getSpincastPebbleTemplatingEngineConfig()
public 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.Filter> getFilters()
getFilters in interface com.mitchellbosecke.pebble.extension.Extensionpublic Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
getFunctions in interface com.mitchellbosecke.pebble.extension.Extensionprotected com.mitchellbosecke.pebble.template.EvaluationContext getEvaluationContext(Map<String,Object> args)
protected com.mitchellbosecke.pebble.template.PebbleTemplate getPebbleTemplate(Map<String,Object> args)
protected com.mitchellbosecke.pebble.template.ScopeChain getScopeChain(Map<String,Object> args)
protected Map<String,Object> getPropertyAsMap(Map<String,Object> args, String property)
protected String getValidationClassError()
protected Object getValidationClassWarning()
protected Object getValidationClassSuccess()
protected Object getValidationClassNoMessage()
protected String getValidationMessagesTemplatePath()
protected String getValidationGroupMessagesTemplatePath()
protected String getCheckedFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getCheckedFilter()
protected String getSelectedFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getSelectedFilter()
protected String getValidationMessagesFilterName()
protected String getValidationGroupMessagesFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationMessagesFilter(String templatePath)
protected String getValidationClassFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationClassFilter()
protected String getValidationFreshFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationFreshFilter()
protected String getValidationSubmittedFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationSubmittedFilter()
protected String getValidationIsValidFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationIsValidFilter()
protected String getValidationHasSuccessesFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationHasSuccessesFilter()
protected String getValidationHasWarningsFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationHasWarningsFilter()
protected String getValidationHasErrorsFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getValidationHasErrorsFilter()
protected String getGetFilterName()
protected com.mitchellbosecke.pebble.extension.Filter getGetFilter()
protected String getGetFunctionName()
protected com.mitchellbosecke.pebble.extension.Function getGetFunction()
Copyright © 2016. All rights reserved.