public final class WicketTagIdentifier extends AbstractMarkupFilter
| 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, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilterpublic 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–2014 Apache Software Foundation. All rights reserved.