|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMarkupLoader
IMarkupLoader are loading the markup for a specific Wicket container and resource stream. By default that is a file. But e.g. in case of markup inheritance it means that 2+ markup files must be read and merged. In order to be flexible the interface has been designed in a way that multiple IMarkupLoader can be chained to easily build up more complex loaders.
As a Wicket user you should not need to use any markup loader directly. Instead use
MarkupFactory.getMarkup(MarkupContainer, boolean).
MarkupCache,
MarkupParser,
MarkupFactory| Method Summary | |
|---|---|
Markup |
loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Loads markup from a resource stream. |
| Method Detail |
|---|
Markup loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
throws IOException,
ResourceStreamNotFoundException
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
IOException
ResourceStreamNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||