org.apache.myfaces.el
Class PropertyResolverImpl

java.lang.Object
  extended by javax.faces.el.PropertyResolver
      extended by org.apache.myfaces.el.PropertyResolverImpl

public class PropertyResolverImpl
extends PropertyResolver

Version:
$Revision: 600632 $ $Date: 2007-12-03 13:55:04 -0500 (Mon, 03 Dec 2007) $
Author:
Manfred Geiler (latest modification by $Author: mmarinschek $), Anton Koinov

Constructor Summary
PropertyResolverImpl()
           
 
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, int index)
           
 Class getType(Object base, Object property)
           
 Object getValue(Object base, int index)
           
 Object getValue(Object base, Object property)
           
 boolean isReadOnly(Object base, int index)
           
 boolean isReadOnly(Object base, Object property)
           
static void setProperty(Object base, String name, Object newValue)
           
 void setValue(Object base, int index, Object newValue)
           
 void setValue(Object base, Object property, Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyResolverImpl

public PropertyResolverImpl()
Method Detail

getValue

public Object getValue(Object base,
                       Object property)
                throws EvaluationException,
                       PropertyNotFoundException
Specified by:
getValue in class PropertyResolver
Throws:
EvaluationException
PropertyNotFoundException

getValue

public Object getValue(Object base,
                       int index)
                throws EvaluationException,
                       PropertyNotFoundException
Specified by:
getValue in class PropertyResolver
Throws:
EvaluationException
PropertyNotFoundException

setValue

public void setValue(Object base,
                     Object property,
                     Object newValue)
              throws EvaluationException,
                     PropertyNotFoundException
Specified by:
setValue in class PropertyResolver
Throws:
EvaluationException
PropertyNotFoundException

setValue

public void setValue(Object base,
                     int index,
                     Object newValue)
              throws EvaluationException,
                     PropertyNotFoundException
Specified by:
setValue in class PropertyResolver
Throws:
EvaluationException
PropertyNotFoundException

isReadOnly

public boolean isReadOnly(Object base,
                          Object property)
Specified by:
isReadOnly in class PropertyResolver

isReadOnly

public boolean isReadOnly(Object base,
                          int index)
Specified by:
isReadOnly in class PropertyResolver

getType

public Class getType(Object base,
                     Object property)
Specified by:
getType in class PropertyResolver

getType

public Class getType(Object base,
                     int index)
Specified by:
getType in class PropertyResolver

setProperty

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

getProperty

public static Object getProperty(Object base,
                                 String name)

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(Object base,
                                                       String name)

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(BeanInfo beanInfo,
                                                       String propertyName)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.