org.apache.wicket.markup.parser.filter
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WicketNamespaceHandler
public WicketNamespaceHandler(MarkupResourceStream markup)
- Construct.
- Parameters:
markup
- The markup created by reading the markup file
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 class AbstractMarkupFilter
- Returns:
- Usually the same as the tag attribute
- Throws:
ParseException
Copyright © 2006–2015 Apache Software Foundation. All rights reserved.