org.apache.tapestry.listener
Class ListenerMapPropertyAccessor
java.lang.Object
ognl.ObjectPropertyAccessor
org.apache.tapestry.listener.ListenerMapPropertyAccessor
- All Implemented Interfaces:
- PropertyAccessor
public class ListenerMapPropertyAccessor
- extends ObjectPropertyAccessor
Exposes IActionListener listeners provided
by the ListenerMap as read-only
properties of the map.
- Since:
- 2.2
- Author:
- Howard Lewis Ship
|
Method Summary |
Object |
getProperty(Map context,
Object target,
Object name)
Checks to see if the ListenerMapImpl provides the named listener,
returning the listener if it does. |
boolean |
hasGetProperty(Map context,
Object target,
Object oname)
Returns true if the ListenerMap contains the named listener, otherwise
invokes super-implementation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListenerMapPropertyAccessor
public ListenerMapPropertyAccessor()
getProperty
public Object getProperty(Map context,
Object target,
Object name)
throws OgnlException
- Checks to see if the ListenerMapImpl provides the named listener,
returning the listener if it does. Otherwise, invokes the super
implementation.
- Specified by:
getProperty in interface PropertyAccessor- Overrides:
getProperty in class ObjectPropertyAccessor
- Throws:
OgnlException
hasGetProperty
public boolean hasGetProperty(Map context,
Object target,
Object oname)
throws OgnlException
- Returns true if the ListenerMap contains the named listener, otherwise
invokes super-implementation.
- Overrides:
hasGetProperty in class ObjectPropertyAccessor
- Throws:
OgnlException
Copyright © 2006 Apache Software Foundation. All Rights Reserved.