public class JasperELResolver extends CompositeELResolver
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) |
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, setValue
public JasperELResolver(java.util.List<ELResolver> appResolvers, ELResolver streamResolver)
public void add(ELResolver elResolver)
add
in class CompositeELResolver
public java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
getValue
in class CompositeELResolver
context
- 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 null
PropertyNotFoundException
- 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.ELResolver
null
.invoke
in class CompositeELResolver
context
- 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 methodnull
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.