org.apache.wicket.markup.parser.filter
Class WicketRemoveTagHandler

java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by 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
static java.lang.String REMOVE
           
 
Constructor Summary
WicketRemoveTagHandler()
          Construct.
 
Method Summary
protected  MarkupElement onComponentTag(ComponentTag tag)
          Invoked when a ComponentTag was found.
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getNextFilter, nextElement, onSpecialTag, postProcess, setNextFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REMOVE

public static final java.lang.String REMOVE
See Also:
Constant Field Values
Constructor Detail

WicketRemoveTagHandler

public WicketRemoveTagHandler()
Construct.

Method Detail

onComponentTag

protected final MarkupElement onComponentTag(ComponentTag tag)
                                      throws java.text.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 class AbstractMarkupFilter
Returns:
Usually the same as the tag attribute
Throws:
java.text.ParseException


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.