This ELResolver will handle the resolution of attrs
when processing a composite component instance.
| Modifier and Type | Class and Description |
|---|---|
| private static class | CompositeComponentAttributesELResolver.ExpressionEvalMap
Simple Map implementation to evaluate any |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | COMPOSITE_COMPONENT_ATTRIBUTES_NAME
Implicit object related only to the cc implicitObject. |
| private static final String | COMPOSITE_COMPONENT_PARENT_NAME
Implicit object related only to the cc implicit object and refers to the composite component parent (if any). |
| private static final String | EVAL_MAP_KEY
Key to which we store the mappings between composite component instances and their ExpressionEvalMap. |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getCommonPropertyType(ELContext
The context of this evaluation. context, Object The base object to return the most general property
type for, or base)null to enumerate the set of
top-level variables that this resolver can evaluate.Implements abstract javax.
|
| public Map | Returns: anExpressionEvalMap for the specified componentthe owning c, FacesContext UIComponentthe ctx)FacesContext for the current request
Creates (if necessary) and caches an |
| public Iterator | getFeatureDescriptors(ELContext
The context of this evaluation. context, Object The base object whose set of valid properties is to
be enumerated, or base)null to enumerate the set of
top-level variables that this resolver can evaluate.Implements abstract javax.
This |
| public Class | getType(ELContext
The context of this evaluation. context, Object The base object whose property value is to be analyzed,
or base, Object null to analyze a top-level variable.The property or variable to return the acceptable
type for. property)Implements abstract javax.
Readonly, so return |
| public Object | getValue(ELContext
The context of this evaluation. context, Object The base object whose property value is to be returned,
or base, Object null to resolve a top-level variable.The property or variable to be resolved. property)Implements abstract javax.
If |
| public boolean | isReadOnly(ELContext
The context of this evaluation. context, Object The base object whose property value is to be analyzed,
or base, Object null to analyze a top-level variable.The property or variable to return the read-only status
for. property)Implements abstract javax.
Readonly, so return |
| public void | setValue(ELContext
The context of this evaluation. context, Object The base object whose property value is to be set,
or base, Object null to set a top-level variable.The property or variable to be set. property, Object The value to set the property or variable to. value)Implements abstract javax. This is a no-op. |
| COMPOSITE_COMPONENT_ATTRIBUTES_NAME | back to summary |
|---|---|
| private static final String COMPOSITE_COMPONENT_ATTRIBUTES_NAME Implicit object related only to the cc implicitObject. | |
| COMPOSITE_COMPONENT_PARENT_NAME | back to summary |
|---|---|
| private static final String COMPOSITE_COMPONENT_PARENT_NAME Implicit object related only to the cc implicit object and refers to the composite component parent (if any). | |
| EVAL_MAP_KEY | back to summary |
|---|---|
| private static final String EVAL_MAP_KEY Key to which we store the mappings between composite component instances and their ExpressionEvalMap. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| CompositeComponentAttributesELResolver | back to summary |
|---|---|
| public CompositeComponentAttributesELResolver() | |
| getCommonPropertyType | back to summary |
|---|---|
| public Class Implements abstract javax.
| |
| getEvalMapFor | back to summary |
|---|---|
| public Map
Creates (if necessary) and caches an
| |
| getFeatureDescriptors | back to summary |
|---|---|
| public Iterator Implements abstract javax.
This
| |
| getType | back to summary |
|---|---|
| public Class Implements abstract javax.
Readonly, so return
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ELContext context, Object base, Object property) Implements abstract javax.
If
The
If
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context, Object base, Object property) Implements abstract javax.
Readonly, so return
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object base, Object property, Object value) Implements abstract javax. This is a no-op.
| |
ValueExpression
stored directly within the provided attributes map.
| Modifier and Type | Field and Description |
|---|---|
| private Map | |
| private UIComponent | |
| private FacesContext | |
| private PropertyDescriptor[] | |
| private Map |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements java. |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. true if this map contains a mapping for the specified
key.
|
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. true if this map maps one or more keys to the
specified value.
|
| public Set | entrySet()
Implements java. Set view of the mappings contained in this map.
|
| public Object | get(Object
the key whose associated value is to be returned key)Implements java. null if this map contains no mapping for the key.
|
| private Object | |
| public ValueExpression | getExpression(String
that attribute name which may be assocated with a
name)ValueExpressionImplements javax. |
| public boolean | |
| public Set | |
| public Object | put(String
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. |
| public void | putAll(Map<? extends String, ?>
mappings to be stored in this map t)Implements java. |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. |
| public int | |
| public void | |
| public Collection | values()
Implements java. Collection view of the values contained in this map.
|
| attributesMap | back to summary |
|---|---|
| private Map<String, Object> attributesMap | |
| cc | back to summary |
|---|---|
| private UIComponent cc | |
| ctx | back to summary |
|---|---|
| private FacesContext ctx | |
| declaredAttributes | back to summary |
|---|---|
| private PropertyDescriptor[] declaredAttributes | |
| declaredDefaultValues | back to summary |
|---|---|
| private Map<Object, Object> declaredDefaultValues | |
| ExpressionEvalMap | back to summary |
|---|---|
| pack-priv ExpressionEvalMap(FacesContext ctx, UIComponent cc) | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements java. Doc from java. Returns | |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements java. Doc from java. Returns | |
| entrySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| getDeclaredDefaultValue | back to summary |
|---|---|
| private Object getDeclaredDefaultValue(Object key) | |
| getExpression | back to summary |
|---|---|
| public ValueExpression getExpression(String name) Implements javax.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns
| |
| keySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| put | back to summary |
|---|---|
| public Object put(String key, Object value) Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ?> t) Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling | |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements java. Doc from java. Removes the mapping for a key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns. | |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| updateFacesContext | back to summary |
|---|---|
| public void updateFacesContext(FacesContext ctx) | |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a
| |