org.jboss.portal.faces.el
Class DelegatingPropertyResolver

java.lang.Object
  extended by PropertyResolver
      extended by org.jboss.portal.faces.el.DelegatingPropertyResolver
Direct Known Subclasses:
AdminPropertyResolver

public class DelegatingPropertyResolver
extends PropertyResolver

A property resolver that provide fine grained configuration of the resolution mechanism.

Version:
$Revision: 6686 $
Author:
Julien Viet

Constructor Summary
DelegatingPropertyResolver()
           
DelegatingPropertyResolver(PropertyResolver delegate)
           
 
Method Summary
 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)
           
 void registerDecorator(java.lang.Class clazz, BeanDecorator decorator)
           
 void setValue(java.lang.Object base, int index, java.lang.Object value)
           
 void setValue(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
 

Constructor Detail

DelegatingPropertyResolver

public DelegatingPropertyResolver(PropertyResolver delegate)

DelegatingPropertyResolver

public DelegatingPropertyResolver()
Method Detail

getType

public java.lang.Class getType(java.lang.Object base,
                               java.lang.Object property)
                        throws EvaluationException,
                               PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          java.lang.Object property)
                   throws EvaluationException,
                          PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

getValue

public java.lang.Object getValue(java.lang.Object base,
                                 java.lang.Object property)
                          throws EvaluationException,
                                 PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

setValue

public void setValue(java.lang.Object base,
                     java.lang.Object property,
                     java.lang.Object value)
              throws EvaluationException,
                     PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

getType

public java.lang.Class getType(java.lang.Object base,
                               int index)
                        throws EvaluationException,
                               PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          int index)
                   throws EvaluationException,
                          PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

getValue

public java.lang.Object getValue(java.lang.Object base,
                                 int index)
                          throws EvaluationException,
                                 PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

setValue

public void setValue(java.lang.Object base,
                     int index,
                     java.lang.Object value)
              throws EvaluationException,
                     PropertyNotFoundException
Throws:
EvaluationException
PropertyNotFoundException

registerDecorator

public final void registerDecorator(java.lang.Class clazz,
                                    BeanDecorator decorator)