Class WicketNamespaceHandler
- java.lang.Object
-
- org.apache.wicket.markup.parser.AbstractMarkupFilter
-
- org.apache.wicket.markup.parser.filter.WicketNamespaceHandler
-
- All Implemented Interfaces:
IMarkupFilter
public final class WicketNamespaceHandler extends AbstractMarkupFilter
This is a markup inline filter. It determines the Wicket namespace name from the markup. Examples are xmlns:wicket or xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd" though every URI that starts with "http://wicket.apache.org" will work as well.- Author:
- Juergen Donnerstag
- See Also:
MarkupParser
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
REQUEST_COUNTER_KEY
-
-
Constructor Summary
Constructors Constructor Description WicketNamespaceHandler(MarkupResourceStream markup)
Construct.
-
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
-
WicketNamespaceHandler
public WicketNamespaceHandler(MarkupResourceStream markup)
Construct.- Parameters:
markup
- The markup created by reading the markup file
-
-
Method Detail
-
onComponentTag
protected final 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
-
-