Fork me on GitHub

ExtensionRegistry

In package com.mitchellbosecke.pebble.extension

public class ExtensionRegistry extends Object

Storage for the extensions and the components retrieved from the various extensions.

Created by mitch_000 on 2015-11-28.

Constructors

public ExtensionRegistry(Collection<? extends Extension> extensions)
Parameters:

Methods

public Filter getFilter(String name)
Parameters:
  • String name
public Test getTest(String name)
Parameters:
  • String name
public Function getFunction(String name)
Parameters:
  • String name
public Map<String, BinaryOperator> getBinaryOperators()
Parameters:
  • No parameters
public Map<String, UnaryOperator> getUnaryOperators()
Parameters:
  • No parameters
public List<NodeVisitorFactory> getNodeVisitors()
Parameters:
  • No parameters
public Map<String, Object> getGlobalVariables()
Parameters:
  • No parameters
public Map<String, TokenParser> getTokenParsers()
Parameters:
  • No parameters
public List<AttributeResolver> getAttributeResolver()
Parameters:
  • No parameters