Package org.apache.wicket.markup.loader
Class SimpleMarkupLoader
- java.lang.Object
-
- org.apache.wicket.markup.loader.SimpleMarkupLoader
-
- All Implemented Interfaces:
IMarkupLoader
public class SimpleMarkupLoader extends Object implements IMarkupLoader
Load the markup from the resource stream provided- Author:
- Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description SimpleMarkupLoader()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Markup
loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload)
UsesMarkupFactory.newMarkupParser(MarkupResourceStream)
andAbstractMarkupParser.parse()
to load the Markup.
-
-
-
Constructor Detail
-
SimpleMarkupLoader
public SimpleMarkupLoader()
Constructor.
-
-
Method Detail
-
loadMarkup
public final Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload) throws IOException, ResourceStreamNotFoundException
UsesMarkupFactory.newMarkupParser(MarkupResourceStream)
andAbstractMarkupParser.parse()
to load the Markup.- Specified by:
loadMarkup
in interfaceIMarkupLoader
- 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
-
-