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 javax.faces.el.PropertyResolver

Version:
$Revision: 472618 $ $Date: 2006-11-08 21:06:54 +0100 (Mi, 08 Nov 2006) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $), Anton Koinov

Constructor Summary
PropertyResolverImpl()
           
 
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
 

Constructor Detail

PropertyResolverImpl

public PropertyResolverImpl()
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object base,
                                 java.lang.Object property)
                          throws javax.faces.el.EvaluationException,
                                 javax.faces.el.PropertyNotFoundException
Specified by:
getValue in class javax.faces.el.PropertyResolver
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
Specified by:
getValue in class javax.faces.el.PropertyResolver
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
Specified by:
setValue in class javax.faces.el.PropertyResolver
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
Specified by:
setValue in class javax.faces.el.PropertyResolver
Throws:
javax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          java.lang.Object property)
Specified by:
isReadOnly in class javax.faces.el.PropertyResolver

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          int index)
Specified by:
isReadOnly in class javax.faces.el.PropertyResolver

getType

public java.lang.Class getType(java.lang.Object base,
                               java.lang.Object property)
Specified by:
getType in class javax.faces.el.PropertyResolver

getType

public java.lang.Class getType(java.lang.Object base,
                               int index)
Specified by:
getType in class javax.faces.el.PropertyResolver

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)


Copyright © 2011 Apache Software Foundation. All Rights Reserved.