public final class WicketTagIdentifier extends AbstractMarkupFilter
| Modifier and Type | Field and Description |
|---|---|
static String |
CHILD |
static String |
CONTAINER_INFO |
static String |
EXTEND |
static String |
FRAGMENT |
static String |
MARKUP_CACHE_KEY |
REQUEST_COUNTER_KEY| Constructor and Description |
|---|
WicketTagIdentifier(MarkupResourceStream markup)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
protected MarkupElement |
onComponentTag(ComponentTag tag)
Get the next tag from the next MarkupFilter in the chain and search for Wicket specific tags.
|
static void |
registerWellKnownTagName(String name)
Register a new well known wicket tag name (e.g.
|
getMarkupResourceStream, getNextFilter, getRequestUniqueId, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilterpublic static final String CONTAINER_INFO
public static final String CHILD
public static final String EXTEND
public static final String FRAGMENT
public static final String MARKUP_CACHE_KEY
public WicketTagIdentifier(MarkupResourceStream markup)
markup - The markup as known by nowprotected MarkupElement onComponentTag(ComponentTag tag) throws ParseException
Note: The xml parser - the next MarkupFilter in the chain - returns XmlTags which are a subclass of MarkupElement. The implementation of this filter will return either ComponentTag or WicketTag. Both are subclasses of MarkupElement and both maintain a reference to the XmlTag. But no XmlTag is returned.
onComponentTag in class AbstractMarkupFilternull then no more tags are availableParseExceptionIMarkupFilter.nextElement()public static void registerWellKnownTagName(String name)
name - Copyright © 2006–2021 Apache Software Foundation. All rights reserved.