Class WicketRemoveTagHandler
- java.lang.Object
-
- org.apache.wicket.markup.parser.AbstractMarkupFilter
-
- org.apache.wicket.markup.parser.filter.WicketRemoveTagHandler
-
- All Implemented Interfaces:
IMarkupFilter
public final class WicketRemoveTagHandler extends AbstractMarkupFilter
This is a markup inline filter. It identifies preview regions useful for HTML designers to design the page. But they must be removed prior to sending the markup to the client. Preview regions are enclosed by <wicket:remove> tags.- Author:
- Juergen Donnerstag
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOVE
-
Fields inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
REQUEST_COUNTER_KEY
-
-
Constructor Summary
Constructors Constructor Description WicketRemoveTagHandler()
Construct.WicketRemoveTagHandler(MarkupResourceStream resourceStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MarkupElement
onComponentTag(ComponentTag tag)
Invoked when a ComponentTag was found.-
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getMarkupResourceStream, getNextFilter, getRequestUniqueId, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilter
-
-
-
-
Field Detail
-
REMOVE
public static final String REMOVE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WicketRemoveTagHandler
public WicketRemoveTagHandler()
Construct.
-
WicketRemoveTagHandler
public WicketRemoveTagHandler(MarkupResourceStream resourceStream)
-
-
Method Detail
-
onComponentTag
protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException
Description copied from class:AbstractMarkupFilter
Invoked when a ComponentTag was found.By default this method is also called for WicketTags.
- Specified by:
onComponentTag
in classAbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
-
-