Class AutoLabelTagHandler
- java.lang.Object
-
- org.apache.wicket.markup.parser.AbstractMarkupFilter
-
- org.apache.wicket.markup.html.form.AutoLabelTagHandler
-
- All Implemented Interfaces:
IMarkupFilter
public class AutoLabelTagHandler extends AbstractMarkupFilter
Markup filter that identifies tags with thewicket:for
attribute. SeeAutoLabelResolver
for details.- Author:
- igor
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
REQUEST_COUNTER_KEY
-
-
Constructor Summary
Constructors Constructor Description AutoLabelTagHandler(MarkupResourceStream resourceStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MarkupElement
onComponentTag(ComponentTag tag)
Invoked when a ComponentTag was found.-
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getMarkupResourceStream, getNextFilter, getRequestUniqueId, getWicketNamespace, getWicketNamespace, nextElement, onSpecialTag, postProcess, setNextFilter
-
-
-
-
Constructor Detail
-
AutoLabelTagHandler
public AutoLabelTagHandler(MarkupResourceStream resourceStream)
-
-
Method Detail
-
onComponentTag
protected MarkupElement onComponentTag(ComponentTag tag) throws ParseException
Description copied from class:AbstractMarkupFilter
Invoked when a ComponentTag was found.By default this method is also called for WicketTags.
- Specified by:
onComponentTag
in classAbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
-
-