Class FrameworkExtension

java.lang.Object
com.mitchellbosecke.pebble.extension.AbstractExtension
colesico.framework.pebble.internal.FrameworkExtension
All Implemented Interfaces:
com.mitchellbosecke.pebble.extension.Extension

@Singleton
public class FrameworkExtension
extends com.mitchellbosecke.pebble.extension.AbstractExtension
Author:
Vladlen Larionov
  • Constructor Summary

    Constructors 
    Constructor Description
    FrameworkExtension​(colesico.framework.translation.TranslationKit t9n, colesico.framework.ioc.Ioc ioc)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​com.mitchellbosecke.pebble.extension.Filter> getFilters()  
    java.util.Map<java.lang.String,​com.mitchellbosecke.pebble.extension.Function> getFunctions()  
    java.util.List<com.mitchellbosecke.pebble.tokenParser.TokenParser> getTokenParsers()  

    Methods inherited from class com.mitchellbosecke.pebble.extension.AbstractExtension

    getAttributeResolver, getBinaryOperators, getGlobalVariables, getNodeVisitors, getTests, getUnaryOperators

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FrameworkExtension

      @Inject public FrameworkExtension​(colesico.framework.translation.TranslationKit t9n, colesico.framework.ioc.Ioc ioc)
  • Method Details

    • getFilters

      public java.util.Map<java.lang.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 java.util.Map<java.lang.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
    • getTokenParsers

      public java.util.List<com.mitchellbosecke.pebble.tokenParser.TokenParser> getTokenParsers()
      Specified by:
      getTokenParsers in interface com.mitchellbosecke.pebble.extension.Extension
      Overrides:
      getTokenParsers in class com.mitchellbosecke.pebble.extension.AbstractExtension