public class JasperELResolver extends CompositeELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
JasperELResolver(List<ELResolver> appResolvers,
ELResolver streamResolver) |
Modifier and Type | Method and Description |
---|---|
void |
add(ELResolver elResolver) |
Object |
getValue(ELContext context,
Object base,
Object property) |
Object |
invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
Invokes a method on the the given object.
|
convertToType, getCommonPropertyType, getFeatureDescriptors, getType, isReadOnly, setValue
public JasperELResolver(List<ELResolver> appResolvers, ELResolver streamResolver)
public void add(ELResolver elResolver)
add
in class CompositeELResolver
public Object getValue(ELContext context, Object base, Object property) throws 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 returnedNullPointerException
- 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 Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, 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-2014 Apache Software Foundation. All Rights Reserved.