Package org.apache.tiles.el
Class TilesContextBeanELResolver
java.lang.Object
jakarta.el.ELResolver
org.apache.tiles.el.TilesContextBeanELResolver
public class TilesContextBeanELResolver
extends jakarta.el.ELResolver
Resolves beans in request, session and application scope.
- Since:
- 2.2.1
- 
Field SummaryFields inherited from class jakarta.el.ELResolverRESOLVABLE_AT_DESIGN_TIME, TYPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcollectBeanInfo(Map<String, ?> map, List<FeatureDescriptor> list) Collects bean infos from a map's values and filling a list.protected ObjectfindObjectByProperty(jakarta.el.ELContext context, Object property) Finds an object in request, session or application scope, in this order.Class<?>getCommonPropertyType(jakarta.el.ELContext context, Object base) getFeatureDescriptors(jakarta.el.ELContext context, Object base) protected ObjectReturns an object from a map in a null-safe manner.Class<?>booleanisReadOnly(jakarta.el.ELContext context, Object base, Object property) voidMethods inherited from class jakarta.el.ELResolverconvertToType, invoke
- 
Constructor Details- 
TilesContextBeanELResolverpublic TilesContextBeanELResolver()
 
- 
- 
Method Details- 
getCommonPropertyType- Specified by:
- getCommonPropertyTypein class- jakarta.el.ELResolver
 
- 
getFeatureDescriptors- Overrides:
- getFeatureDescriptorsin class- jakarta.el.ELResolver
 
- 
getType- Specified by:
- getTypein class- jakarta.el.ELResolver
 
- 
getValue- Specified by:
- getValuein class- jakarta.el.ELResolver
 
- 
isReadOnly- Specified by:
- isReadOnlyin class- jakarta.el.ELResolver
 
- 
setValue- Specified by:
- setValuein class- jakarta.el.ELResolver
 
- 
collectBeanInfoCollects bean infos from a map's values and filling a list.- Parameters:
- map- The map containing the bean to be inspected.
- list- The list to fill.
- Since:
- 2.2.1
 
- 
findObjectByPropertyFinds an object in request, session or application scope, in this order.- Parameters:
- context- The context to use.
- property- The property used as an attribute name.
- Returns:
- The found bean, if it exists, or nullotherwise.
- Since:
- 2.2.1
 
- 
getObjectReturns an object from a map in a null-safe manner.- Parameters:
- map- The map to use.
- property- The property to use as a key.
- Returns:
- The object, if present, or nullotherwise.
- Since:
- 2.2.1
 
 
-