org.apache.wicket.markup.parser.filter
Class HtmlHeaderSectionHandler
java.lang.Object
org.apache.wicket.markup.parser.AbstractMarkupFilter
org.apache.wicket.markup.parser.filter.BaseMarkupFilter
org.apache.wicket.markup.parser.filter.HtmlHeaderSectionHandler
- All Implemented Interfaces:
- IMarkupFilter
public final class HtmlHeaderSectionHandler
- extends BaseMarkupFilter
This is a markup inline filter. It assumes that WicketTagIdentifier has been called first and
search for a <head> tag (note: not wicket:head). Provided the markup contains a
<body> tag it will automatically prepend a <head> tag if missing.
Note: This handler is only relevant for Pages (see MarkupParser.newFilterChain())
- Author:
- Juergen Donnerstag
- See Also:
MarkupParser
Field Summary |
static java.lang.String |
HEADER_ID
The automatically assigned wicket:id to >head< tag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HEADER_ID
public static final java.lang.String HEADER_ID
- The automatically assigned wicket:id to >head< tag
- See Also:
- Constant Field Values
HtmlHeaderSectionHandler
public HtmlHeaderSectionHandler(Markup markup)
- Construct.
- Parameters:
markup
- The Markup object being filled while reading the markup resource
nextTag
protected final MarkupElement nextTag(ComponentTag tag)
throws java.text.ParseException
- Description copied from class:
BaseMarkupFilter
- Invoked with the next ComponentTag
- Specified by:
nextTag
in class BaseMarkupFilter
- Returns:
- the next tag
- Throws:
java.text.ParseException
- See Also:
BaseMarkupFilter.nextTag(org.apache.wicket.markup.ComponentTag)
Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.