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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OrIdMatcher(Collection<IdMatcher> matchers)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

- - ### Constructor Detail

    - #### OrIdMatcher

          public OrIdMatcher(Collection<IdMatcher> matchers)

  - ### Method Detail

    - #### 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

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.