public class DefaultMarkupLoader extends Object implements IMarkupLoader
InheritedMarkupMarkupLoader and
SimpleMarkupLoader to load the markup associated with a MarkupContainer.| Constructor and Description |
|---|
DefaultMarkupLoader()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Markup |
loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Uses
SimpleMarkupLoader to load the resource(s), read it and check if markup
inheritance applies. |
public final Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload) throws IOException, org.apache.wicket.util.resource.ResourceStreamNotFoundException
SimpleMarkupLoader to load the resource(s), read it and check if markup
inheritance applies. If yes, load the required other markup and merge them using
InheritedMarkupMarkupLoader.loadMarkup in interface IMarkupLoadercontainer - The original requesting markup containermarkupResourceStream - The markup resource stream to loadbaseLoader - This parameter can be use to chain IMarkupLoadersenforceReload - The cache will be ignored and all, including inherited markup files, will be
reloaded. Whatever is in the cache, it will be ignoredIOExceptionorg.apache.wicket.util.resource.ResourceStreamNotFoundExceptionCopyright © 2006–2018 Apache Software Foundation. All rights reserved.