org.apache.myfaces.el
Class DefaultPropertyResolver

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

public final class DefaultPropertyResolver
extends PropertyResolver

Implements the default property resolver see spec section 5.8.2.

Version:
$Revision: 695059 $ $Date: 2008-09-13 18:10:53 -0500 (Sat, 13 Sep 2008) $
Author:
Mathias Broekelmann (latest modification by $Author: lu4242 $)

Constructor Summary
DefaultPropertyResolver()
           
 
Method Summary
 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)
           
 void setValue(Object base, int index, Object value)
           
 void setValue(Object base, Object property, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyResolver

public DefaultPropertyResolver()
Method Detail

getType

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

getType

public Class getType(Object base,
                     Object property)
              throws EvaluationException,
                     PropertyNotFoundException
Specified by:
getType 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

getValue

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

isReadOnly

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

isReadOnly

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

setValue

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

setValue

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


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