Class Html5SupportImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.services.Html5SupportImpl
-
- All Implemented Interfaces:
Html5Support
public class Html5SupportImpl extends 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.
-
-
-
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 theSymbolConstants.ENABLE_HTML5_SUPPORT
symbol.- Specified by:
isHtml5SupportEnabled
in interfaceHtml5Support
- Returns:
true
orfalse
.
-
-