ELResolver for Faces.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private ELResolver[] | |
| private final FacesCompositeELResolver. | |
| private int | |
| private ELResolver[] | |
| private int | |
| private ELResolver[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private void | |
| private Class | _getType(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property)
|
| private Object | _getValue(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property)
|
| private boolean | _isReadOnly(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property)
|
| private void | |
| public void | add(ELResolver
The component resolver to add. elResolver)Overrides jakarta. |
| public void | addPropertyELResolver(ELResolver elResolver)
Implements abstract com. |
| public void | addRootELResolver(ELResolver elResolver)
Implements abstract com. |
| public FacesCompositeELResolver. | |
| 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.Overrides jakarta. property argument, given a
base object.
|
| 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.Overrides jakarta. base
object.
|
| 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)Overrides jakarta. base and property, attempts to identify the most general type that is
acceptable for an object to be passed as the value parameter in a future call to the setValue
method.
|
| 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)Overrides jakarta. property object on the given base object by querying all
component resolvers.
|
| 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)Overrides jakarta. base and property, attempts to determine whether a call to setValue
will always fail.
|
| 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. val)Overrides jakarta. property object on the given base object.
|
| _allELResolverCount | back to summary |
|---|---|
| private int _allELResolverCount | |
| _allELResolvers | back to summary |
|---|---|
| private ELResolver[] _allELResolvers | |
| _chainType | back to summary |
|---|---|
| private final FacesCompositeELResolver. | |
| _propertyELResolverCount | back to summary |
|---|---|
| private int _propertyELResolverCount | |
| _propertyELResolvers | back to summary |
|---|---|
| private ELResolver[] _propertyELResolvers | |
| _rootELResolverCount | back to summary |
|---|---|
| private int _rootELResolverCount | |
| _rootELResolvers | back to summary |
|---|---|
| private ELResolver[] _rootELResolvers | |
| DemuxCompositeELResolver | back to summary |
|---|---|
| public DemuxCompositeELResolver(FacesCompositeELResolver. | |
| _addAllELResolver | back to summary |
|---|---|
| private void _addAllELResolver(ELResolver elResolver) | |
| _addPropertyELResolver | back to summary |
|---|---|
| public void _addPropertyELResolver(ELResolver elResolver) | |
| _addRootELResolver | back to summary |
|---|---|
| private void _addRootELResolver(ELResolver elResolver) | |
| _getType | back to summary |
|---|---|
| private Class | |
| _getValue | back to summary |
|---|---|
| private Object _getValue(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property) throws ELException | |
| _isReadOnly | back to summary |
|---|---|
| private boolean _isReadOnly(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property) throws ELException | |
| _setValue | back to summary |
|---|---|
| private void _setValue(int resolverCount, ELResolver[] resolvers, ELContext context, Object base, Object property, Object val) throws ELException | |
| add | back to summary |
|---|---|
| public void add(ELResolver elResolver) Overrides jakarta. Doc from jakarta. Adds the given resolver to the list of component resolvers. Resolvers are consulted in the order in which they are added.
| |
| addPropertyELResolver | back to summary |
|---|---|
| public void addPropertyELResolver(ELResolver elResolver) Implements abstract com.
| |
| addRootELResolver | back to summary |
|---|---|
| public void addRootELResolver(ELResolver elResolver) Implements abstract com.
| |
| getChainType | back to summary |
|---|---|
| public FacesCompositeELResolver. Implements abstract com.
| |
| getCommonPropertyType | back to summary |
|---|---|
| public Class Overrides jakarta. Doc from jakarta. Returns the most general type that this resolver accepts for the
The
| |
| getFeatureDescriptors | back to summary |
|---|---|
| public Iterator Overrides jakarta. Doc from jakarta. Returns information about the set of variables or properties that can be resolved for the given
The
The
| |
| getType | back to summary |
|---|---|
| public Class Overrides jakarta. Doc from jakarta. For a given
If this resolver handles the given (base, property) pair, the
First, Next, for each component resolver in this composite:
If none of the component resolvers were able to perform this operation, the value Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ELContext context, Object base, Object property) throws ELException Overrides jakarta. Doc from jakarta. Attempts to resolve the given
If this resolver handles the given (base, property) pair, the
First, Next, for each component resolver in this composite:
If none of the component resolvers were able to perform this operation, the value Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context, Object base, Object property) throws ELException Overrides jakarta. Doc from jakarta. For a given
If this resolver handles the given (base, property) pair, the
First, Next, for each component resolver in this composite:
If none of the component resolvers were able to perform this operation, the value Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object base, Object property, Object val) throws ELException Overrides jakarta. Doc from jakarta. Attempts to set the value of the given
If this resolver handles the given (base, property) pair, the
First, Next, for each component resolver in this composite:
If none of the component resolvers were able to perform this operation, the Any exception thrown by component resolvers during the iteration is propagated to the caller of this method.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Object | |
| private final ELContext | |
| private Iterator | |
| private int | |
| private final int | |
| private final ELResolver[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Iterator | |
| public boolean | |
| public FeatureDescriptor | |
| public void | remove()
Overrides default java. |
| _base | back to summary |
|---|---|
| private final Object _base | |
| _context | back to summary |
|---|---|
| private final ELContext _context | |
| _currIterator | back to summary |
|---|---|
| private Iterator<FeatureDescriptor> _currIterator | |
| _currResolverIndex | back to summary |
|---|---|
| private int _currResolverIndex | |
| _resolverCount | back to summary |
|---|---|
| private final int _resolverCount | |
| _resolvers | back to summary |
|---|---|
| private final ELResolver[] _resolvers | |
| DescriptorIterator | back to summary |
|---|---|
| public DescriptorIterator(ELContext context, Object base, ELResolver[] resolvers, int resolverCount) | |
| _getCurrIterator | back to summary |
|---|---|
| private Iterator | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public FeatureDescriptor next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |