Class SimpleMarkupLoader

  • All Implemented Interfaces:
    IMarkupLoader

    public class SimpleMarkupLoader
    extends java.lang.Object
    implements IMarkupLoader
    Load the markup from the resource stream provided
    Author:
    Juergen Donnerstag
    • Constructor Detail

      • SimpleMarkupLoader

        public SimpleMarkupLoader()
        Constructor.
    • Method Detail

      • loadMarkup

        public final Markup loadMarkup​(MarkupContainer container,
                                       MarkupResourceStream markupResourceStream,
                                       IMarkupLoader baseLoader,
                                       boolean enforceReload)
                                throws java.io.IOException,
                                       org.apache.wicket.util.resource.ResourceStreamNotFoundException
        Specified by:
        loadMarkup in interface IMarkupLoader
        Parameters:
        container - The original requesting markup container
        markupResourceStream - The markup resource stream to load
        baseLoader - This parameter can be use to chain IMarkupLoaders
        enforceReload - The cache will be ignored and all, including inherited markup files, will be reloaded. Whatever is in the cache, it will be ignored
        Returns:
        The markup
        Throws:
        java.io.IOException
        org.apache.wicket.util.resource.ResourceStreamNotFoundException