org.apache.wicket.markup.loader
Class DefaultMarkupLoader
java.lang.Object
org.apache.wicket.markup.loader.DefaultMarkupLoader
- All Implemented Interfaces:
- IMarkupLoader
public class DefaultMarkupLoader
- extends Object
- implements IMarkupLoader
This is Wickets default markup loader. It uses the InheritedMarkupMarkupLoader and
SimpleMarkupLoader to load the markup associated with a MarkupContainer.
- Author:
- Juergen Donnerstag
- See Also:
InheritedMarkupMarkupLoader,
SimpleMarkupLoader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMarkupLoader
public DefaultMarkupLoader()
- Constructor.
loadMarkup
public final Markup loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
throws IOException,
ResourceStreamNotFoundException
- Description copied from interface:
IMarkupLoader
- Loads markup from a resource stream.
- Specified by:
loadMarkup in interface IMarkupLoader
- Parameters:
container - 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 ignored
- Returns:
- The markup
- Throws:
IOException
ResourceStreamNotFoundException- See Also:
IMarkupLoader.loadMarkup(org.apache.wicket.MarkupContainer,
org.apache.wicket.markup.MarkupResourceStream,
org.apache.wicket.markup.loader.IMarkupLoader, boolean)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.