All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.jinjava.el.NoInvokeELContext Maven / Gradle / Ivy

The newest version!
package com.hubspot.jinjava.el;

import javax.el.ELContext;
import javax.el.ELResolver;
import javax.el.FunctionMapper;
import javax.el.VariableMapper;

public class NoInvokeELContext extends ELContext {

  private ELContext delegate;
  private NoInvokeELResolver elResolver;

  public NoInvokeELContext(ELContext delegate) {
    this.delegate = delegate;
  }

  @Override
  public ELResolver getELResolver() {
    if (elResolver == null) {
      elResolver = new NoInvokeELResolver(delegate.getELResolver());
    }
    return elResolver;
  }

  @Override
  public FunctionMapper getFunctionMapper() {
    return delegate.getFunctionMapper();
  }

  @Override
  public VariableMapper getVariableMapper() {
    return delegate.getVariableMapper();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy