info.magnolia.module.templatingkit.dam.assets
Class AssetWrapper
java.lang.Object
info.magnolia.module.templatingkit.dam.assets.AssetWrapper
- All Implemented Interfaces:
- Asset
- Direct Known Subclasses:
- AbstractInternalContentDAMHandler.InternalAssetVariation, AssetWithOverridingMetaData
public abstract class AssetWrapper
- extends Object
- implements Asset
Wrapper class for Asset.
- Version:
- $Id$
- Author:
- pbracher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
asset
protected Asset asset
AssetWrapper
public AssetWrapper(Asset descriptor)
getCopyright
public String getCopyright()
- Specified by:
getCopyright
in interface Asset
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Asset
getHeight
public int getHeight()
- Specified by:
getHeight
in interface Asset
getLink
public String getLink()
throws DAMException
- Specified by:
getLink
in interface Asset
- Throws:
DAMException
getName
public String getName()
- Specified by:
getName
in interface Asset
getCaption
public String getCaption()
- Specified by:
getCaption
in interface Asset
getTitle
public String getTitle()
- Specified by:
getTitle
in interface Asset
getVariation
public Asset getVariation(String variationName)
throws NoSuchVariationException,
DAMException
- Specified by:
getVariation
in interface Asset
- Throws:
NoSuchVariationException
DAMException
wrapVariation
protected abstract Asset wrapVariation(Asset assetVariaton)
getWidth
public int getWidth()
- Specified by:
getWidth
in interface Asset
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface Asset
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.