public class SimpleMarkupLoader extends Object implements IMarkupLoader
Constructor and Description |
---|
SimpleMarkupLoader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Markup |
loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Uses
MarkupFactory.newMarkupParser(MarkupResourceStream) and
AbstractMarkupParser.parse() to load the Markup. |
public final Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload) throws IOException, ResourceStreamNotFoundException
MarkupFactory.newMarkupParser(MarkupResourceStream)
and
AbstractMarkupParser.parse()
to load the Markup.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 ignoredIOException
ResourceStreamNotFoundException
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.