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

Constructor Summary
WicketRemoveTagHandler()
          Construct.
 
Method Summary
 MarkupElement nextTag()
          Removes preview regions enclosed by <wicket:remove> tags.
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getParent, nextComponentTag, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketRemoveTagHandler

public WicketRemoveTagHandler()
Construct.

Method Detail

nextTag

public final MarkupElement nextTag()
                            throws java.text.ParseException
Removes preview regions enclosed by <wicket:remove> tags. Note that for obvious reasons, nested components are not allowed.

Returns:
The next tag to be processed. Null, if not more tags are available
Throws:
java.text.ParseException
See Also:
IMarkupFilter.nextTag()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.