Package org.apache.tapestry5.internal.services

## Class Html5SupportImpl

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

- All Implemented Interfaces:
    `Html5Support`

      public class Html5SupportImpl
      extends java.lang.Object
      implements Html5Support

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Html5SupportImpl​(boolean enabled)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isHtml5SupportEnabled()` | Tells whether HTML5 is supported.

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

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

- - ### Constructor Detail

    - #### Html5SupportImpl

          public Html5SupportImpl​(@Inject @Symbol("tapestry.enable-html5-support")
                                  boolean enabled)

  - ### Method Detail

    - #### isHtml5SupportEnabled

          public boolean isHtml5SupportEnabled()

      Description copied from interface: `Html5Support`
      Tells whether HTML5 is supported. The default implementation returns the value of the `SymbolConstants.ENABLE_HTML5_SUPPORT` symbol.
      Specified by:
        `isHtml5SupportEnabled` in interface `Html5Support`
      Returns:
        `true` or `false`.