wicket.markup.parser.filter
Class WicketMessageTagHandler
java.lang.Object
wicket.markup.parser.AbstractMarkupFilter
wicket.markup.parser.filter.WicketMessageTagHandler
- All Implemented Interfaces:
- IMarkupFilter
public final class WicketMessageTagHandler
- extends AbstractMarkupFilter
THIS IS EXPERIMENTAL ONLY AND DISABLED BY DEFAULT
This is a markup inline filter. It identifies wicket:message attributes and
replaces the attributes referenced. E.g. wicket:message="value=key" would
replace or add the attribute "value" with the message associated with "key".
- Author:
- Juergen Donnerstag
Field Summary |
static boolean |
enable
globally enable wicket:message; If accepted by user, we should use an
apps setting |
Method Summary |
MarkupElement |
nextTag()
Get the next MarkupElement from the parent MarkupFilter and handle it if
the specific filter criteria are met. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enable
public static boolean enable
- globally enable wicket:message; If accepted by user, we should use an
apps setting
WicketMessageTagHandler
public WicketMessageTagHandler(ContainerInfo containerInfo)
- Construct.
- Parameters:
containerInfo
- The container requesting the current markup incl class, style
and locale
nextTag
public final MarkupElement nextTag()
throws java.text.ParseException
- Description copied from interface:
IMarkupFilter
- Get the next MarkupElement from the parent MarkupFilter and handle it if
the specific filter criteria are met. Depending on the filter, it may
return the MarkupElement unchanged, modified or it remove by asking the
parent handler for the next tag.
- 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.