Package 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
  Description
  `PageNameMetaInjector(RequestGlobals globals)`

- ## Method Summary

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

  - ### PageNameMetaInjector

    public PageNameMetaInjector(RequestGlobals globals)

- ## Method Details

  - ### 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.