Package | Description |
---|---|
info.magnolia.dam.api | |
info.magnolia.dam.api.util |
Modifier and Type | Class and Description |
---|---|
class |
AssetDecorator
TODO : do we need this ? If so, maybe call it AssetWrapper to be consistent.
|
Modifier and Type | Method and Description |
---|---|
Asset |
AssetRendition.getAsset()
The Asset this rendition was created from.
|
Asset |
AssetProvider.getAsset(ItemKey assetKey)
Cast-less convenience method for
AssetProvider.getItem(ItemKey) . |
Asset |
PathAwareAssetProvider.getAsset(String assetPath) |
Asset |
AssetDecorator.getDecorated() |
static Asset |
AssetDecorator.unwrap(Asset asset) |
Modifier and Type | Method and Description |
---|---|
boolean |
AssetRenderer.canRender(Asset asset,
com.google.common.net.MediaType to) |
String |
RenditionAwareAssetProvider.getLink(Asset asset,
String renditionName)
Deprecated.
|
AssetRenderer |
AssetProviderRegistry.getRendererFor(Asset asset,
com.google.common.net.MediaType to)
Returns an appropriate
AssetRenderer , or null if there is none. |
AssetRenderer |
AssetProvider.getRendererFor(Asset asset,
com.google.common.net.MediaType to)
Returns an appropriate
AssetRenderer if this provider has specific renderers, or null if there is none. |
AssetRenderer |
AbstractAssetProvider.getRendererFor(Asset asset,
com.google.common.net.MediaType to) |
AssetRendition |
AssetRenderer.render(Asset asset,
com.google.common.net.MediaType to,
String renditionName)
|
static Asset |
AssetDecorator.unwrap(Asset asset) |
Constructor and Description |
---|
AssetDecorator(Asset decorated) |
Modifier and Type | Method and Description |
---|---|
static AssetRenderer |
AssetRenderers.findRenderer(Asset asset,
com.google.common.net.MediaType to,
List<AssetRenderer> renderers)
Simply finds a matching
AssetRenderer in the given List;
Should not be used in client code, just avoids redundancy in AbstractAssetProvider and AssetProviderRegistry. |
Copyright © 2015 Magnolia International Ltd.. All rights reserved.