Package com.saxonica.ee.stream.feed

## Class FilteringFeed.TransparentFilter

- java.lang.Object
- - com.saxonica.ee.stream.feed.FilteringFeed.TransparentFilter

- All Implemented Interfaces:
    `FilteringFeed.Filter`
  Enclosing class:
    FilteringFeed

      public static class FilteringFeed.TransparentFilter
      extends java.lang.Object
      implements FilteringFeed.Filter

  A filter that matches everything

- - ### Field Summary

    - ### Fields inherited from interface com.saxonica.ee.stream.feed.FilteringFeed.Filter

      `DONE, MATCHES, SKIP`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `TransparentFilter()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `matches​(Item item, int position)` | Test whether a given item, at a given position in the sequence, matches the filter

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TransparentFilter

          public TransparentFilter()

  - ### Method Detail

    - #### matches

          public int matches​(Item item,
                             int position)
                      throws XPathException

      Test whether a given item, at a given position in the sequence, matches the filter
      Specified by:
        `matches` in interface `FilteringFeed.Filter`
      Parameters:
        `item` - the item to be matched
        `position` - the 1-based position of the item in the sequence
      Returns:
        MATCHES if the item is to be included in the result, SKIP if it is to be excluded; DONE if this and all future items are to be excluded
      Throws:
        `XPathException` - if a dynamic error occurs