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 Object implements IdMatcher
A wrapper around a collection of IdMatchers. A match occurs if any matcher matches.

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### OrIdMatcher

    public OrIdMatcher(Collection<IdMatcher> matchers)

- ## Method Details

  - ### 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 qualified id
    Returns:
      true on match, false otherwise