java.lang.Object
org.apache.wicket.markup.html.MarkupUtil
HTML5 helper
- Author:
- Juergen Donnerstag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IMarkupFragment
findStartTag
(IMarkupFragment markup, String tagName) Searches fortagName
in the givenmarkup
.static boolean
isMarkupHtml5Compliant
(MarkupContainer container)
-
Constructor Details
-
MarkupUtil
public MarkupUtil()
-
-
Method Details
-
isMarkupHtml5Compliant
- Parameters:
container
-- Returns:
- True if the Page and all it's Panels, Borders etc. have HTML5 compliant markup. HTML5 markup is identified by <DOCTYPE html>
-
findStartTag
Searches fortagName
in the givenmarkup
.- Parameters:
markup
-tagName
-- Returns:
- The
IMarkupFragment
corresponding totagName
. Null, if suchtagName
is not found
-