Class SpincastMainPebbleExtensionDefault

java.lang.Object
com.mitchellbosecke.pebble.extension.AbstractExtension
org.spincast.plugins.pebble.SpincastMainPebbleExtensionDefault
All Implemented Interfaces:
com.mitchellbosecke.pebble.extension.Extension, SpincastMainPebbleExtension

public class SpincastMainPebbleExtensionDefault extends com.mitchellbosecke.pebble.extension.AbstractExtension implements SpincastMainPebbleExtension
Spincast Main Pebble extension implementation.
  • Field Details

  • Constructor Details

  • Method Details

    • getTemplatingEngine

      public TemplatingEngine getTemplatingEngine()
    • getObjectConverter

      protected ObjectConverter getObjectConverter()
    • getSpincastUtils

      protected SpincastUtils getSpincastUtils()
    • getDictionary

      protected Dictionary getDictionary()
    • getSpincastConfig

      protected SpincastConfig getSpincastConfig()
    • getRequestContextProvider

      protected com.google.inject.Provider<RequestContext<?>> getRequestContextProvider()
    • getSpincastPebbleTemplatingEngineConfig

      protected SpincastPebbleTemplatingEngineConfig getSpincastPebbleTemplatingEngineConfig()
    • getAttributeResolver

      public List<com.mitchellbosecke.pebble.attributes.AttributeResolver> getAttributeResolver()
      Specified by:
      getAttributeResolver in interface com.mitchellbosecke.pebble.extension.Extension
      Overrides:
      getAttributeResolver in class com.mitchellbosecke.pebble.extension.AbstractExtension
    • getDefaultSpincastAttributeResolver

      protected com.mitchellbosecke.pebble.attributes.AttributeResolver getDefaultSpincastAttributeResolver()
    • resolveJsonObjectAttribute

      protected com.mitchellbosecke.pebble.attributes.ResolvedAttribute resolveJsonObjectAttribute(JsonObject obj, String attrName, com.mitchellbosecke.pebble.template.EvaluationContextImpl context)
    • resolveJsonArrayAttribute

      protected com.mitchellbosecke.pebble.attributes.ResolvedAttribute resolveJsonArrayAttribute(JsonArray arr, int pos, com.mitchellbosecke.pebble.template.EvaluationContextImpl context)
    • getFilters

      public Map<String,com.mitchellbosecke.pebble.extension.Filter> getFilters()
      Specified by:
      getFilters in interface com.mitchellbosecke.pebble.extension.Extension
      Overrides:
      getFilters in class com.mitchellbosecke.pebble.extension.AbstractExtension
    • getFunctions

      public Map<String,com.mitchellbosecke.pebble.extension.Function> getFunctions()
      Specified by:
      getFunctions in interface com.mitchellbosecke.pebble.extension.Extension
      Overrides:
      getFunctions in class com.mitchellbosecke.pebble.extension.AbstractExtension
    • convertToSet

      protected Set<Object> convertToSet(Object obj)
    • getValidationClassError

      protected String getValidationClassError()
    • getValidationClassWarning

      protected Object getValidationClassWarning()
    • getValidationClassSuccess

      protected Object getValidationClassSuccess()
    • getValidationClassNoMessage

      protected Object getValidationClassNoMessage()
    • getValidationMessagesTemplatePath

      protected String getValidationMessagesTemplatePath()
    • getValidationGroupMessagesTemplatePath

      protected String getValidationGroupMessagesTemplatePath()
    • getCheckedFilterName

      protected String getCheckedFilterName()
    • getCheckedFilter

      protected com.mitchellbosecke.pebble.extension.Filter getCheckedFilter()
    • getSelectedFilterName

      protected String getSelectedFilterName()
    • getSelectedFilter

      protected com.mitchellbosecke.pebble.extension.Filter getSelectedFilter()
    • getValidationMessagesFilterName

      protected String getValidationMessagesFilterName()
    • getValidationGroupMessagesFilterName

      protected String getValidationGroupMessagesFilterName()
    • getValidationMessagesFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationMessagesFilter(String templatePath)
    • getValidationClassFilterName

      protected String getValidationClassFilterName()
    • getValidationClassFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationClassFilter()
    • getValidationFreshFilterName

      protected String getValidationFreshFilterName()
    • getValidationFreshFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationFreshFilter()
    • getValidationSubmittedFilterName

      protected String getValidationSubmittedFilterName()
    • getValidationSubmittedFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationSubmittedFilter()
    • getValidationIsValidFilterName

      protected String getValidationIsValidFilterName()
    • getValidationIsValidFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationIsValidFilter()
    • getValidationHasSuccessesFilterName

      protected String getValidationHasSuccessesFilterName()
    • getValidationHasSuccessesFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationHasSuccessesFilter()
    • getValidationHasWarningsFilterName

      protected String getValidationHasWarningsFilterName()
    • getValidationHasWarningsFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationHasWarningsFilter()
    • getValidationHasErrorsFilterName

      protected String getValidationHasErrorsFilterName()
    • getValidationHasErrorsFilter

      protected com.mitchellbosecke.pebble.extension.Filter getValidationHasErrorsFilter()
    • getGetFilterName

      protected String getGetFilterName()
    • getGetFilter

      protected com.mitchellbosecke.pebble.extension.Filter getGetFilter()
    • getNewlineToBrFilterName

      protected String getNewlineToBrFilterName()
    • getNewlineToBrFilter

      protected com.mitchellbosecke.pebble.extension.Filter getNewlineToBrFilter()
    • getBooleanFilterName

      protected String getBooleanFilterName()
    • getBooleanFilter

      protected com.mitchellbosecke.pebble.extension.Filter getBooleanFilter()
    • getIsEmptyOrFalseFilterName

      protected String getIsEmptyOrFalseFilterName()
    • getIsEmptyOrFalseFilter

      protected com.mitchellbosecke.pebble.extension.Filter getIsEmptyOrFalseFilter()
    • getIsEmptyOrTrueFilterName

      protected String getIsEmptyOrTrueFilterName()
    • getIsEmptyOrTrueFilter

      protected com.mitchellbosecke.pebble.extension.Filter getIsEmptyOrTrueFilter()
    • getIsNotEmptyAndFalseFilterName

      protected String getIsNotEmptyAndFalseFilterName()
    • getIsNotEmptyAndFalseFilte

      protected com.mitchellbosecke.pebble.extension.Filter getIsNotEmptyAndFalseFilte()
    • getIsNotEmptyAndTrueFilterName

      protected String getIsNotEmptyAndTrueFilterName()
    • getIsNotEmptyAndTrueFilte

      protected com.mitchellbosecke.pebble.extension.Filter getIsNotEmptyAndTrueFilte()
    • getGetFunctionName

      protected String getGetFunctionName()
    • getGetFunction

      protected com.mitchellbosecke.pebble.extension.Function getGetFunction()
    • getJsOneLinerOutputFunctionName

      protected String getJsOneLinerOutputFunctionName()
    • getJsOneLinerOutputFunction

      protected com.mitchellbosecke.pebble.extension.Function getJsOneLinerOutputFunction()
    • getMessageFunctionName

      protected String getMessageFunctionName()
    • getMessageFunction

      protected com.mitchellbosecke.pebble.extension.Function getMessageFunction()
    • getQuerystringAppendFunctionName

      protected String getQuerystringAppendFunctionName()
    • getQuerystringAppendFunction

      protected com.mitchellbosecke.pebble.extension.Function getQuerystringAppendFunction()
    • getQuerystringToHiddenFieldsFunctionName

      protected String getQuerystringToHiddenFieldsFunctionName()
    • getQuerystringToHiddenFieldsFunction

      protected com.mitchellbosecke.pebble.extension.Function getQuerystringToHiddenFieldsFunction()
    • encodeQuerystringValue

      protected String encodeQuerystringValue(String value)
    • getRouteFunctionName

      protected String getRouteFunctionName()
    • getRouteFunction

      protected com.mitchellbosecke.pebble.extension.Function getRouteFunction()
    • getRouteIdFunctionName

      protected String getRouteIdFunctionName()
    • getRouteIdFunction

      protected com.mitchellbosecke.pebble.extension.Function getRouteIdFunction()