|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.el.ELResolver
org.apache.myfaces.test.el.FacesVariableResolverChainWrapper
public class FacesVariableResolverChainWrapper
ELResolver implementation that wraps the legacy (JSF 1.1)
VariableResolver chain. See the JSF 1.2 Specification, section
5.6.1.5, for requirements implemented by this class.
| Field Summary |
|---|
| Fields inherited from class javax.el.ELResolver |
|---|
RESOLVABLE_AT_DESIGN_TIME, TYPE |
| Constructor Summary | |
|---|---|
FacesVariableResolverChainWrapper()
|
|
| Method Summary | |
|---|---|
protected FeatureDescriptor |
descriptor(String name,
String displayName,
String description,
boolean expert,
boolean hidden,
boolean preferred,
Object type,
boolean designTime)
Create and return a FeatureDescriptor configured with
the specified arguments. |
Class |
getCommonPropertyType(javax.el.ELContext context,
Object base)
Return the most general type this resolver accepts for the property argument. |
Iterator |
getFeatureDescriptors(javax.el.ELContext context,
Object base)
Return an Iterator over the attributes that this
resolver knows how to deal with. |
Class |
getType(javax.el.ELContext context,
Object base,
Object property)
Return the Java type of the specified property. |
Object |
getValue(javax.el.ELContext context,
Object base,
Object property)
Evaluate with the legacy variable resolver chain and return the value. |
boolean |
isReadOnly(javax.el.ELContext context,
Object base,
Object property)
Return true if the specified property is read only. |
void |
setValue(javax.el.ELContext context,
Object base,
Object property,
Object value)
Set the value of a scoped object for the specified name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacesVariableResolverChainWrapper()
| Method Detail |
|---|
public Class getCommonPropertyType(javax.el.ELContext context,
Object base)
Return the most general type this resolver accepts for the
property argument.
getCommonPropertyType in class javax.el.ELResolver
public Iterator getFeatureDescriptors(javax.el.ELContext context,
Object base)
Return an Iterator over the attributes that this
resolver knows how to deal with.
getFeatureDescriptors in class javax.el.ELResolvercontext - ELContext for evaluating this valuebase - Base object against which this evaluation occurs
public Class getType(javax.el.ELContext context,
Object base,
Object property)
Return the Java type of the specified property.
getType in class javax.el.ELResolvercontext - ELContext for evaluating this valuebase - Base object against which this evaluation occurs
(must be null because we are evaluating a top level variable)property - Property name to be accessed
public Object getValue(javax.el.ELContext context,
Object base,
Object property)
Evaluate with the legacy variable resolver chain and return the value.
getValue in class javax.el.ELResolvercontext - ELContext for evaluating this valuebase - Base object against which this evaluation occurs
(must be null because we are evaluating a top level variable)property - Property name to be accessed
public boolean isReadOnly(javax.el.ELContext context,
Object base,
Object property)
Return true if the specified property is read only.
isReadOnly in class javax.el.ELResolvercontext - ELContext for evaluating this valuebase - Base object against which this evaluation occurs
(must be null because we are evaluating a top level variable)property - Property name to be accessed
public void setValue(javax.el.ELContext context,
Object base,
Object property,
Object value)
Set the value of a scoped object for the specified name.
setValue in class javax.el.ELResolvercontext - ELContext for evaluating this valuebase - Base object against which this evaluation occurs
(must be null because we are evaluating a top level variable)property - Property name to be accessedvalue - New value to be set
protected FeatureDescriptor descriptor(String name,
String displayName,
String description,
boolean expert,
boolean hidden,
boolean preferred,
Object type,
boolean designTime)
Create and return a FeatureDescriptor configured with
the specified arguments.
name - Feature namedisplayName - Display namedescription - Short descriptionexpert - Flag indicating this feature is for expertshidden - Flag indicating this feature should be hiddenpreferred - Flag indicating this feature is the preferred one
among features of the same typetype - Runtime type of this featuredesignTime - Flag indicating feature is resolvable at design time
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||