org.apache.myfaces.el.convert
Class VariableResolverToELResolver
java.lang.Object
javax.el.ELResolver
org.apache.myfaces.el.convert.VariableResolverToELResolver
public final class VariableResolverToELResolver
- extends javax.el.ELResolver
Wrapper that converts a VariableResolver into an ELResolver. See JSF 1.2 spec section 5.6.1.5
- Version:
- $Revision$ $Date$
- Author:
- Stan Silvert (latest modification by $Author$), Mathias Broekelmann
Fields inherited from class javax.el.ELResolver |
RESOLVABLE_AT_DESIGN_TIME, TYPE |
Constructor Summary |
VariableResolverToELResolver(javax.faces.el.VariableResolver variableResolver)
Creates a new instance of VariableResolverToELResolver |
Method Summary |
java.lang.Class<?> |
getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base)
|
java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base)
|
java.lang.Class<?> |
getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
java.lang.Object |
getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
javax.faces.el.VariableResolver |
getVariableResolver()
|
boolean |
isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
|
void |
setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariableResolverToELResolver
public VariableResolverToELResolver(javax.faces.el.VariableResolver variableResolver)
- Creates a new instance of VariableResolverToELResolver
getVariableResolver
public javax.faces.el.VariableResolver getVariableResolver()
- Returns:
- the variableResolver
getValue
public java.lang.Object getValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
throws java.lang.NullPointerException,
javax.el.PropertyNotFoundException,
javax.el.ELException
- Specified by:
getValue
in class javax.el.ELResolver
- Throws:
java.lang.NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException
getCommonPropertyType
public java.lang.Class<?> getCommonPropertyType(javax.el.ELContext context,
java.lang.Object base)
- Specified by:
getCommonPropertyType
in class javax.el.ELResolver
setValue
public void setValue(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
throws java.lang.NullPointerException,
javax.el.PropertyNotFoundException,
javax.el.PropertyNotWritableException,
javax.el.ELException
- Specified by:
setValue
in class javax.el.ELResolver
- Throws:
java.lang.NullPointerException
javax.el.PropertyNotFoundException
javax.el.PropertyNotWritableException
javax.el.ELException
isReadOnly
public boolean isReadOnly(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
throws java.lang.NullPointerException,
javax.el.PropertyNotFoundException,
javax.el.ELException
- Specified by:
isReadOnly
in class javax.el.ELResolver
- Throws:
java.lang.NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException
getType
public java.lang.Class<?> getType(javax.el.ELContext context,
java.lang.Object base,
java.lang.Object property)
throws java.lang.NullPointerException,
javax.el.PropertyNotFoundException,
javax.el.ELException
- Specified by:
getType
in class javax.el.ELResolver
- Throws:
java.lang.NullPointerException
javax.el.PropertyNotFoundException
javax.el.ELException
getFeatureDescriptors
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(javax.el.ELContext context,
java.lang.Object base)
- Specified by:
getFeatureDescriptors
in class javax.el.ELResolver
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.