public final class WicketMessageTagHandler extends AbstractMarkupFilter implements IComponentResolver
| Modifier and Type | Class and Description |
|---|---|
static class |
WicketMessageTagHandler.AttributeLocalizer
Attribute localizing behavior.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
WICKET_MESSAGE_CONTAINER_ID
The id automatically assigned to tags with wicket:message attribute but without id
|
| Constructor and Description |
|---|
WicketMessageTagHandler()
Constructor for the IComponentResolver role.
|
WicketMessageTagHandler(MarkupResourceStream markupResourceStream)
Constructor for the IMarkupFilter role.
|
| Modifier and Type | Method and Description |
|---|---|
protected MarkupElement |
onComponentTag(ComponentTag tag)
Invoked when a ComponentTag was found.
|
Component |
resolve(MarkupContainer container,
MarkupStream markupStream,
ComponentTag tag)
Try to resolve a component.
|
getMarkupResourceStream, getNextFilter, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilterpublic static final String WICKET_MESSAGE_CONTAINER_ID
public WicketMessageTagHandler()
public WicketMessageTagHandler(MarkupResourceStream markupResourceStream)
protected final MarkupElement onComponentTag(ComponentTag tag) throws ParseException
AbstractMarkupFilterBy default this method is also called for WicketTags.
onComponentTag in class AbstractMarkupFilterParseExceptionpublic Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag)
IComponentResolverresolve in interface IComponentResolvercontainer - The container parsing its markupmarkupStream - The current markupStreamtag - The current component tag while parsing the markupnull if not foundCopyright © 2006–2014 Apache Software Foundation. All rights reserved.