Package com.enonic.xp.page

## Class PageTemplateFilter

- java.lang.Object
- - com.enonic.xp.page.PageTemplateFilter

- All Implemented Interfaces:
    `Predicate<PageTemplate>`

      @PublicApi
      public final class PageTemplateFilter
      extends Object
      implements Predicate<PageTemplate>

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Predicate<PageTemplate>` | `canRender​(ContentTypeName contentTypeName)` |
    `boolean` | `test​(PageTemplate pageTemplate)` |

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

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

    - ### Methods inherited from interface java.util.function.Predicate

      `and, negate, or`

- - ### Method Detail

    - #### test

          public boolean test​(PageTemplate pageTemplate)

      Specified by:
        `test` in interface `Predicate<PageTemplate>`

    - #### canRender

          public static Predicate<PageTemplate> canRender​(ContentTypeName contentTypeName)