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.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

Constructor Summary
WicketNamespaceHandler(MarkupResourceData markup)
          Construct.
 
Method Summary
 MarkupElement nextTag()
          Get the next tag from the next MarkupFilter in the chain and search for Wicket specific tags.
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getParent, nextComponentTag, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WicketNamespaceHandler

public WicketNamespaceHandler(MarkupResourceData markup)
Construct.

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

nextTag

public MarkupElement nextTag()
                      throws ParseException
Get the next tag from the next MarkupFilter in the chain and search for Wicket specific tags.

Returns:
The next tag from markup to be processed. If null, no more tags are available
Throws:
ParseException
See Also:
IMarkupFilter.nextTag()


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