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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IdMatcherImpl(String pattern)`

  - ### Method Summary

    All Methods Instance Methods Concrete 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

    - #### IdMatcherImpl

          public IdMatcherImpl(String pattern)

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

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.