@Override public ELContextImpl run() { return new ELContextImpl(r); } });
public ELContextImpl() { this(ELResolverImpl.getDefaultResolver()); if (ELResolverImpl.NEW_RESOLVER_INSTANCE && Constants.IS_SECURITY_ENABLED) { functionMapper = new FunctionMapper() { public Method resolveFunction(String prefix, String localName) { return null; } }; } else { functionMapper = NullFunctionMapper; } }
public ExpressionEvaluatorImpl(JspContext pageContext, ExpressionFactory factory) { this.factory = factory; this.ctx = new ELContextImpl(factory); ctx.putContext(JspContext.class, pageContext); }
public Object getValue(ELContext context) throws NullPointerException, PropertyNotFoundException, ELException { try { return this.target.getValue(context); } catch (PropertyNotFoundException e) { if (e instanceof JspPropertyNotFoundException) throw e; throw new JspPropertyNotFoundException(this.mark, e); } catch (ELException e) { if (e instanceof JspELException) throw e; throw new JspELException(this.mark, e); } }
@Override public VariableMapper getVariableMapper() { if (this.variableMapper == null) { this.variableMapper = new VariableMapperImpl(); } return this.variableMapper; }
private ELResolver createELResolver() { this.instantiated = true; if (this.resolver == null) { CompositeELResolver r = new JasperELResolver(this.resolvers); this.resolver = r; } return this.resolver; }
public ELResolverImpl(VariableResolver variableResolver, ExpressionFactory factory) { this.variableResolver = variableResolver; this.elResolver = ELContextImpl.getDefaultResolver(factory); }
/** * Construct (if needed) and return a default FunctionMapper. * * @return The default FunctionMapper */ @Override public FunctionMapper getFunctionMapper() { if (functionMapper == null) { functionMapper = new DefaultFunctionMapper(initFunctionMap); } return functionMapper; }
public Class<?> getType(ELContext context) throws NullPointerException, PropertyNotFoundException, ELException { try { return this.target.getType(context); } catch (PropertyNotFoundException e) { if (e instanceof JspPropertyNotFoundException) throw e; throw new JspPropertyNotFoundException(this.mark, e); } catch (ELException e) { if (e instanceof JspELException) throw e; throw new JspELException(this.mark, e); } }
@Override public ELContextImpl run() { return new ELContextImpl(r); } });
@Override public VariableMapper getVariableMapper() { if (this.variableMapper == null) { this.variableMapper = new VariableMapperImpl(); } return this.variableMapper; }
public ELResolverImpl(VariableResolver variableResolver, ExpressionFactory factory) { this.variableResolver = variableResolver; this.elResolver = ELContextImpl.getDefaultResolver(factory); }
public ELContextImpl() { this(ELResolverImpl.getDefaultResolver()); if (Constants.IS_SECURITY_ENABLED) { functionMapper = new FunctionMapper() { public Method resolveFunction(String prefix, String localName) { return null; } }; } else { functionMapper = NullFunctionMapper; } }
public boolean isReadOnly(ELContext context) throws NullPointerException, PropertyNotFoundException, ELException { try { return this.target.isReadOnly(context); } catch (PropertyNotFoundException e) { if (e instanceof JspPropertyNotFoundException) throw e; throw new JspPropertyNotFoundException(this.mark, e); } catch (ELException e) { if (e instanceof JspELException) throw e; throw new JspELException(this.mark, e); } }
public ELContextImpl run() { return new ELContextImpl(r); } });
@Override public VariableMapper getVariableMapper() { if (this.variableMapper == null) { this.variableMapper = new VariableMapperImpl(); } return this.variableMapper; }
public ELResolverImpl(VariableResolver variableResolver) { this.variableResolver = variableResolver; this.elResolver = ELContextImpl.getDefaultResolver(); }
@Override public ELContextImpl run() { return new ELContextImpl(r); } });
public VariableMapper getVariableMapper() { if (this.variableMapper == null) { this.variableMapper = new VariableMapperImpl(); } return this.variableMapper; }
@Override public ELContextImpl run() { return new ELContextImpl(expressionFactory); } });