org.apache.myfaces.el

Class PropertyResolverImpl


public class PropertyResolverImpl
extends PropertyResolver

Version:
$Revision: 278896 $ $Date: 2005-09-06 02:52:19 +0200 (Tue, 06 Sep 2005) $
Authors:
Manfred Geiler (latest modification by $Author: oros $)
Anton Koinov

Method Summary

static Object
getProperty(Object base, String name)
static PropertyDescriptor
getPropertyDescriptor(BeanInfo beanInfo, String propertyName)
static PropertyDescriptor
getPropertyDescriptor(Object base, String name)
Class
getType(Object base, Object property)
Class
getType(Object base, int index)
Object
getValue(Object base, Object property)
Object
getValue(Object base, int index)
boolean
isReadOnly(Object base, Object property)
boolean
isReadOnly(Object base, int index)
static void
setProperty(Object base, String name, Object newValue)
void
setValue(Object base, Object property, Object newValue)
void
setValue(Object base, int index, Object newValue)

Method Details

getProperty

public static Object getProperty(Object base,
                                 String name)

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(BeanInfo beanInfo,
                                                       String propertyName)

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(Object base,
                                                       String name)

getType

public Class getType(Object base,
                     Object property)

getType

public Class getType(Object base,
                     int index)

getValue

public Object getValue(Object base,
                       Object property)
            throws EvaluationException,
                   PropertyNotFoundException

getValue

public Object getValue(Object base,
                       int index)
            throws EvaluationException,
                   PropertyNotFoundException

isReadOnly

public boolean isReadOnly(Object base,
                          Object property)

isReadOnly

public boolean isReadOnly(Object base,
                          int index)

setProperty

public static void setProperty(Object base,
                               String name,
                               Object newValue)

setValue

public void setValue(Object base,
                     Object property,
                     Object newValue)
            throws EvaluationException,
                   PropertyNotFoundException

setValue

public void setValue(Object base,
                     int index,
                     Object newValue)
            throws EvaluationException,
                   PropertyNotFoundException