public class JasperELResolver extends CompositeELResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
JasperELResolver.GraalBeanELResolver
Extend ELResolver for Graal to avoid bean info use if possible,
as BeanELResolver needs manual reflection configuration.
|
RESOLVABLE_AT_DESIGN_TIME, TYPE| Constructor and Description |
|---|
JasperELResolver(java.util.List<ELResolver> appResolvers,
ELResolver streamResolver) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ELResolver elResolver) |
java.lang.Object |
getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Obtain the value of the given property on the given object using the given context.
|
java.lang.Object |
invoke(ELContext context,
java.lang.Object base,
java.lang.Object method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params)
Invokes a method on the the given object.
|
convertToType, getCommonPropertyType, getFeatureDescriptors, getType, isReadOnly, setValuepublic JasperELResolver(java.util.List<ELResolver> appResolvers, ELResolver streamResolver)
public void add(ELResolver elResolver)
add in class CompositeELResolverpublic java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
javax.el.ELResolvergetValue in class CompositeELResolvercontext - The EL context for this evaluationbase - The base object on which the property is to be foundproperty - The property whose value is to be returnedjava.lang.NullPointerException - If the supplied context is nullPropertyNotFoundException - If the base/property combination provided to the resolver is one that the
resolver can handle but no match was found or a match was found but was not
readableELException - Wraps any exception throw whilst resolving the propertypublic java.lang.Object invoke(ELContext context, java.lang.Object base, java.lang.Object method, java.lang.Class<?>[] paramTypes, java.lang.Object[] params)
javax.el.ELResolverinvoke in class CompositeELResolvercontext - The EL context for this evaluationbase - The base object on which the method is to be foundmethod - The method to invokeparamTypes - The types of the parameters of the method to invokeparams - The parameters with which to invoke the methodnullCopyright © 2000-2024 Apache Software Foundation.
Apache Tomcat, Tomcat, Apache, the Apache Tomcat logo and the Apache logo are either registered trademarks or trademarks of the Apache Software Foundation.