org.apache.myfaces.el
Class PropertyResolverImpl
java.lang.Object
javax.faces.el.PropertyResolver
org.apache.myfaces.el.PropertyResolverImpl
- public class PropertyResolverImpl
- extends javax.faces.el.PropertyResolver
- Version:
- $Revision: 1.30 $ $Date: 2004/12/03 08:41:45 $
$Log: PropertyResolverImpl.java,v $
Revision 1.30 2004/12/03 08:41:45 manolito
MYFACES-44 / PropertyResolverImpl has special logic for UIComponents
Revision 1.29 2004/10/13 11:51:00 matze
renamed packages to org.apache
Revision 1.28 2004/09/20 14:35:48 dave0000
bug 1030875:
getType() should return null if type cannot be determined
isReadOnly() should return false if read-only cannot be determined
Revision 1.27 2004/07/01 22:05:11 mwessendorf
ASF switch
Revision 1.26 2004/06/23 15:56:16 manolito
removed our own version of commons-beanutils MethodUtils
Revision 1.25 2004/05/18 17:09:29 manolito
resolved the problem with inaccessible methods in private classes that implement a public interface
Revision 1.24 2004/04/26 05:54:59 dave0000
Add coercion to ValueBinding (and related changes)
Revision 1.23 2004/04/08 13:42:13 royalts
removed main method
Revision 1.22 2004/04/08 05:16:45 dave0000
change to always use JSF PropertyResolver (was using JSP PR sometimes)
Revision 1.21 2004/04/06 06:48:23 manolito
IndexedPropertyDescriptor issue
- Author:
- Manfred Geiler (latest modification by $Author: manolito $), Anton Koinov
Method Summary |
static java.lang.Object |
getProperty(java.lang.Object base,
java.lang.String name)
|
static java.beans.PropertyDescriptor |
getPropertyDescriptor(java.beans.BeanInfo beanInfo,
java.lang.String propertyName)
|
static java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.Object base,
java.lang.String name)
|
java.lang.Class |
getType(java.lang.Object base,
int index)
|
java.lang.Class |
getType(java.lang.Object base,
java.lang.Object property)
|
java.lang.Object |
getValue(java.lang.Object base,
int index)
|
java.lang.Object |
getValue(java.lang.Object base,
java.lang.Object property)
|
boolean |
isReadOnly(java.lang.Object base,
int index)
|
boolean |
isReadOnly(java.lang.Object base,
java.lang.Object property)
|
static void |
setProperty(java.lang.Object base,
java.lang.String name,
java.lang.Object newValue)
|
void |
setValue(java.lang.Object base,
int index,
java.lang.Object newValue)
|
void |
setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object newValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyResolverImpl
public PropertyResolverImpl()
getValue
public java.lang.Object getValue(java.lang.Object base,
java.lang.Object property)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
getValue
public java.lang.Object getValue(java.lang.Object base,
int index)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
setValue
public void setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object newValue)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
setValue
public void setValue(java.lang.Object base,
int index,
java.lang.Object newValue)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
isReadOnly
public boolean isReadOnly(java.lang.Object base,
java.lang.Object property)
isReadOnly
public boolean isReadOnly(java.lang.Object base,
int index)
getType
public java.lang.Class getType(java.lang.Object base,
java.lang.Object property)
getType
public java.lang.Class getType(java.lang.Object base,
int index)
setProperty
public static void setProperty(java.lang.Object base,
java.lang.String name,
java.lang.Object newValue)
getProperty
public static java.lang.Object getProperty(java.lang.Object base,
java.lang.String name)
getPropertyDescriptor
public static java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Object base,
java.lang.String name)
getPropertyDescriptor
public static java.beans.PropertyDescriptor getPropertyDescriptor(java.beans.BeanInfo beanInfo,
java.lang.String propertyName)