org.apache.sling.event.impl.support
Class PackageTopicMatcher

java.lang.Object
  extended by org.apache.sling.event.impl.support.PackageTopicMatcher
All Implemented Interfaces:
TopicMatcher

public class PackageTopicMatcher
extends Object
implements TopicMatcher

Package matcher - the topic must be in the same package.


Constructor Summary
PackageTopicMatcher(String name)
           
 
Method Summary
 String match(String topic)
          Check if the topic matches and return the variable part - null if not matching.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PackageTopicMatcher

public PackageTopicMatcher(String name)
Method Detail

match

public String match(String topic)
Description copied from interface: TopicMatcher
Check if the topic matches and return the variable part - null if not matching.

Specified by:
match in interface TopicMatcher
See Also:
TopicMatcher.match(java.lang.String)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2013 The Apache Software Foundation. All Rights Reserved.