org.apache.tapestry.listener
Class ListenerMapPropertyAccessor

java.lang.Object
  extended byognl.ObjectPropertyAccessor
      extended byorg.apache.tapestry.listener.ListenerMapPropertyAccessor
All Implemented Interfaces:
ognl.PropertyAccessor

public class ListenerMapPropertyAccessor
extends ognl.ObjectPropertyAccessor

Exposes IActionListener listeners provided by the ListenerMap as read-only properties of the map.

Since:
2.2
Author:
Howard Lewis Ship

Constructor Summary
ListenerMapPropertyAccessor()
           
 
Method Summary
 java.lang.Object getProperty(java.util.Map context, java.lang.Object target, java.lang.Object name)
          Checks to see if the ListenerMapImpl provides the named listener, returning the listener if it does.
 boolean hasGetProperty(java.util.Map context, java.lang.Object target, java.lang.Object oname)
          Returns true if the ListenerMap contains the named listener, otherwise invokes super-implementation.
 
Methods inherited from class ognl.ObjectPropertyAccessor
getPossibleProperty, hasGetProperty, hasSetProperty, hasSetProperty, setPossibleProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerMapPropertyAccessor

public ListenerMapPropertyAccessor()
Method Detail

getProperty

public java.lang.Object getProperty(java.util.Map context,
                                    java.lang.Object target,
                                    java.lang.Object name)
                             throws ognl.OgnlException
Checks to see if the ListenerMapImpl provides the named listener, returning the listener if it does. Otherwise, invokes the super implementation.

Throws:
ognl.OgnlException

hasGetProperty

public boolean hasGetProperty(java.util.Map context,
                              java.lang.Object target,
                              java.lang.Object oname)
                       throws ognl.OgnlException
Returns true if the ListenerMap contains the named listener, otherwise invokes super-implementation.

Throws:
ognl.OgnlException