Fork me on GitHub

ExtensionRegistryFactory

In package com.mitchellbosecke.pebble.extension

public class ExtensionRegistryFactory extends Object

Provides configuration methods and builds the ExtensionRegistry . Used only internally by the PebbleEngine.Builder .

Constructors

Parameters:
  • No parameters

Methods

public ExtensionRegistry buildExtensionRegistry()
Parameters:
  • No parameters
public void autoEscaping(boolean autoEscaping)
Parameters:
  • boolean autoEscaping
public void addEscapingStrategy(String name, EscapingStrategy strategy)
Parameters:
public void extension(Extension extensions)
Parameters:
public void allowOverrideCoreOperators(boolean allowOverrideCoreOperators)
Parameters:
  • boolean allowOverrideCoreOperators
public void defaultEscapingStrategy(String strategy)
Parameters:
  • String strategy
public void registerExtensionCustomizer(Function<Extension, ExtensionCustomizer> customizer)
Parameters: