org.apache.tapestry5.ioc.internal
Class IdMatcherImpl
java.lang.Object
org.apache.tapestry5.ioc.internal.IdMatcherImpl
- All Implemented Interfaces:
- IdMatcher
public class IdMatcherImpl
- extends Object
- implements IdMatcher
A wrapper around a GlobPatternMatcher
used to glob-match service ids.
Method Summary |
boolean |
matches(String id)
Returns true if the provided input id matches the pattern defined by this matcher instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdMatcherImpl
public IdMatcherImpl(String pattern)
matches
public boolean matches(String id)
- Description copied from interface:
IdMatcher
- Returns true if the provided input id matches the pattern defined by this matcher instance.
- Specified by:
matches
in interface IdMatcher
- Parameters:
id
- the fully qualfied id
- Returns:
- true on match, false otherwise
Copyright © 2003-2012 The Apache Software Foundation.