|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.markup.loader.DefaultMarkupLoader
public class DefaultMarkupLoader
This is Wickets default markup loader. It uses the InheritedMarkupMarkupLoader
and
SimpleMarkupLoader
to load the markup associated with a MarkupContainer
.
Constructor Summary | |
---|---|
DefaultMarkupLoader()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMarkupLoader()
Method Detail |
---|
public final Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload) throws java.io.IOException, 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 IMarkupLoader
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
java.io.IOException
ResourceStreamNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |