com.sdm.quasar.client.jsf.binding
Class QuasarClientPropertyResolver

java.lang.Object
  extended byPropertyResolver
      extended bycom.sdm.quasar.client.jsf.binding.QuasarClientPropertyResolver

public class QuasarClientPropertyResolver
extends PropertyResolver

Property resolver that extends the default PropertyResolver of JSF. It uses the PropertyResolverService to resolve properties defined in JSF-EL strings. The PropertyResolverService is a mecahnism of the Quasar Client building blocks for JSF that allows resolution pseudo-bean properties that may represent a dialog's data-store or action-access component or similar.

Author:
Carsten Lucke
See Also:
Serialized Form

Constructor Summary
QuasarClientPropertyResolver(PropertyResolver origPR)
          Constructor.
 
Method Summary
 java.lang.Class getType(java.lang.Object base, int index)
          {@inheritDoc}
 java.lang.Class getType(java.lang.Object base, java.lang.Object property)
          {@inheritDoc}
 java.lang.Object getValue(java.lang.Object base, int index)
          {@inheritDoc}
 java.lang.Object getValue(java.lang.Object base, java.lang.Object property)
          {@inheritDoc}
 boolean isReadOnly(java.lang.Object base, int index)
          {@inheritDoc}
 boolean isReadOnly(java.lang.Object base, java.lang.Object property)
          {@inheritDoc}
 void setValue(java.lang.Object base, int index, java.lang.Object value)
          {@inheritDoc}
 void setValue(java.lang.Object base, java.lang.Object property, java.lang.Object value)
          {@inheritDoc}
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuasarClientPropertyResolver

public QuasarClientPropertyResolver(PropertyResolver origPR)
Constructor. Takes a PropertyResolver as argument taht was originally registered with JSF.

Parameters:
origPR -
Method Detail

getValue

public java.lang.Object getValue(java.lang.Object base,
                                 java.lang.Object property)
                          throws EvaluationException,
                                 PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#getValue(java.lang.Object, java.lang.Object)

getType

public java.lang.Class getType(java.lang.Object base,
                               java.lang.Object property)
                        throws EvaluationException,
                               PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#getType(java.lang.Object, java.lang.Object)

setValue

public void setValue(java.lang.Object base,
                     java.lang.Object property,
                     java.lang.Object value)
              throws EvaluationException,
                     PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#setValue(java.lang.Object, java.lang.Object, java.lang.Object)

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          java.lang.Object property)
                   throws EvaluationException,
                          PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#isReadOnly(java.lang.Object, java.lang.Object)

isReadOnly

public boolean isReadOnly(java.lang.Object base,
                          int index)
                   throws EvaluationException,
                          PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#isReadOnly(java.lang.Object, int)

getType

public java.lang.Class getType(java.lang.Object base,
                               int index)
                        throws EvaluationException,
                               PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#getType(java.lang.Object, int)

setValue

public void setValue(java.lang.Object base,
                     int index,
                     java.lang.Object value)
              throws EvaluationException,
                     PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#setValue(java.lang.Object, int, java.lang.Object)

getValue

public java.lang.Object getValue(java.lang.Object base,
                                 int index)
                          throws EvaluationException,
                                 PropertyNotFoundException
{@inheritDoc}

Throws:
EvaluationException
PropertyNotFoundException
See Also:
javax.faces.el.PropertyResolver#getValue(java.lang.Object, int)