@FunctionalInterface public interface WrappingViewFactory<I,U>
| Modifier and Type | Method and Description |
|---|---|
I |
create(RequestContext requestContext,
Asset asset,
U underlying)
Create a view for this asset based on the requestContext
|
@NotNull I create(RequestContext requestContext, Asset asset, U underlying) throws AssetNotFoundException
requestContext - additional information to help build the view.asset - to associate this view withunderlying - the implementation this view is expected to wrap.AssetNotFoundException - if the leaf node depends on something which could not be constructed.Copyright © 2015. All rights reserved.