org.mmbase.core.event
Class TypedNodeEventListenerWrapper
java.lang.Object
org.mmbase.core.event.TypedNodeEventListenerWrapper
- All Implemented Interfaces:
- EventListener, NodeEventListener
- public class TypedNodeEventListenerWrapper
- extends Object
- implements NodeEventListener
This class is a wrapper for node event listeners that only want to listen to
events concerning a specific builder.
- Since:
- MMBase-1.8
- Author:
- Ernst Bunders
TypedNodeEventListenerWrapper
public TypedNodeEventListenerWrapper(MMObjectBuilder builder,
NodeEventListener listener,
boolean descendants)
- Parameters:
listener - the node event listener you want to wrapdescendants - Whether also descendants of the given builder must be listened to. ('true' would be the must logical value).
notify
public void notify(NodeEvent event)
- Specified by:
notify in interface NodeEventListener
toString
public String toString()
equals
public boolean equals(Object o)
hashCode
public int hashCode()
MMBase build 1.8.1.20060716