Package 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 java.lang.Object
      implements IdMatcher

  A wrapper around a collection of IdMatchers. A match occurs if any matcher matches.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `OrIdMatcher​(java.util.Collection<IdMatcher> matchers)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `matches​(java.lang.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`

- - ### Constructor Detail

    - #### OrIdMatcher

          public OrIdMatcher​(java.util.Collection<IdMatcher> matchers)

  - ### Method Detail

    - #### matches

          public boolean matches​(java.lang.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 qualified id
      Returns:
        true on match, false otherwise