org.apache.wicket.markup.parser.filter
Class WicketNamespaceHandler

java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by org.apache.wicket.markup.parser.filter.BaseMarkupFilter
          extended by org.apache.wicket.markup.parser.filter.WicketNamespaceHandler
All Implemented Interfaces:
IMarkupFilter

public final class WicketNamespaceHandler
extends BaseMarkupFilter

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

Constructor Summary
WicketNamespaceHandler(MarkupResourceStream markup)
          Construct.
 
Method Summary
protected  MarkupElement nextTag(ComponentTag tag)
          Invoked with the next ComponentTag
 
Methods inherited from class org.apache.wicket.markup.parser.filter.BaseMarkupFilter
nextTag
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getCount, getNextFilter, nextComponentTag, setNextFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketNamespaceHandler

public WicketNamespaceHandler(MarkupResourceStream markup)
Construct.

Parameters:
markup - The markup created by reading the markup file
Method Detail

nextTag

protected final MarkupElement nextTag(ComponentTag tag)
                               throws ParseException
Description copied from class: BaseMarkupFilter
Invoked with the next ComponentTag

Specified by:
nextTag in class BaseMarkupFilter
Returns:
the next tag
Throws:
ParseException


Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.