|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.parser.AbstractMarkupFilter org.apache.wicket.markup.parser.filter.WicketTagIdentifier
public final class WicketTagIdentifier
This is a markup inline filter. It identifies xml tags which have a special meaning for Wicket. There are two type of tags which have a special meaning for Wicket.
Constructor Summary | |
---|---|
WicketTagIdentifier(MarkupResourceStream markup)
Construct. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter |
---|
getMarkupResourceStream, getNextFilter, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WicketTagIdentifier(MarkupResourceStream markup)
markup
- The markup as known by nowMethod Detail |
---|
protected 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 AbstractMarkupFilter
null
then no more tags are available
ParseException
IMarkupFilter.nextElement()
public static void registerWellKnownTagName(String name)
name
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |