org.apache.tapestry5.ioc.internal
Class OrIdMatcher
java.lang.Object
org.apache.tapestry5.ioc.internal.OrIdMatcher
- All Implemented Interfaces:
- IdMatcher
public final class OrIdMatcher
- extends Object
- implements IdMatcher
A wrapper around a collection of IdMatchers. A match occurs if any matcher matches.
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 |
OrIdMatcher
public OrIdMatcher(Collection<IdMatcher> matchers)
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.