org.apache.tapestry5.internal.services

## Class PageNameMetaInjector

- java.lang.Object
- - org.apache.tapestry5.internal.services.PageNameMetaInjector

- All Implemented Interfaces:
    MarkupRendererFilter

      public class PageNameMetaInjector
      extends Object
      implements MarkupRendererFilter

  Injects a `<meta/>` element into the `<head/>` to identify the Tapestry page name. This filter is only active during development, not production.
  Since:
    5.4

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PageNameMetaInjector(RequestGlobals globals)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `renderMarkup(MarkupWriter writer, MarkupRenderer delegate)` Implementations should perform work before or after passing the writer to the renderer.

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

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

- - ### Constructor Detail

    - #### PageNameMetaInjector

          public PageNameMetaInjector(RequestGlobals globals)

  - ### Method Detail

    - #### renderMarkup

          public void renderMarkup(MarkupWriter writer,
                                   MarkupRenderer delegate)

      Description copied from interface: `MarkupRendererFilter`
      Implementations should perform work before or after passing the writer to the renderer.
      Specified by:
        `renderMarkup` in interface `MarkupRendererFilter`
      Parameters:
        `writer` - to which markup should be written
        `delegate` - delegate to which the writer should be passed.

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