Class 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 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 java.text.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:
        java.text.ParseException