public class InheritedMarkupMarkupLoader extends Object implements IMarkupLoader
Constructor and Description |
---|
InheritedMarkupMarkupLoader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Markup |
loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Load the markup from the resource stream with the base MarkupLoader provided, than check if
markup inheritance must be applied.
|
public final Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload) throws IOException, ResourceStreamNotFoundException
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.