wicket.markup.parser.filter
Class WicketRemoveTagHandler

java.lang.Object
  extended by wicket.markup.parser.AbstractMarkupFilter
      extended by 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 IGNORE
          Flag value to use as component name for ignored components
 
Constructor Summary
WicketRemoveTagHandler()
          Construct.
 
Method Summary
 MarkupElement nextTag()
          Removes preview regions enclosed by <wicket:remove> tags.
 
Methods inherited from class 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
 

Field Detail

IGNORE

public static final java.lang.String IGNORE
Flag value to use as component name for ignored components

See Also:
Constant Field Values
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-2007 Wicket developers. All Rights Reserved.