public class DefaultMarkupResourceStreamProvider extends Object implements IMarkupResourceStreamProvider
Constructor and Description |
---|
DefaultMarkupResourceStreamProvider()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
IResourceStream |
getMarkupResourceStream(MarkupContainer container,
Class<?> containerClass)
Create a new markup resource stream for the container.
|
public DefaultMarkupResourceStreamProvider()
public IResourceStream getMarkupResourceStream(MarkupContainer container, Class<?> containerClass)
Note: it will only called once, the IResourceStream will be cached by MarkupCache.
Note: IResourceStreamLocators should be used in case the strategy to find a markup resource should be extended for ALL components of your application.
getMarkupResourceStream
in interface IMarkupResourceStreamProvider
container
- containerClass
- The container the markup should be associated withIResourceStreamLocator
,
DefaultMarkupResourceStreamProvider
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.