info.magnolia.module.templatingkit.dam.assets
Class AssetWithOverridingMetaData
java.lang.Object
info.magnolia.module.templatingkit.dam.assets.AssetWrapper
info.magnolia.module.templatingkit.dam.assets.AssetWithOverridingMetaData
- All Implemented Interfaces:
- Asset
public class AssetWithOverridingMetaData
- extends AssetWrapper
An asset reading meta data information like caption, description, .. from an other asset first.
- Version:
- $Id$
- Author:
- pbracher
Fields inherited from class info.magnolia.module.templatingkit.dam.assets.AssetWrapper |
asset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetWithOverridingMetaData
public AssetWithOverridingMetaData(Asset descriptor,
Asset metaData)
getCaption
public String getCaption()
- Specified by:
getCaption
in interface Asset
- Overrides:
getCaption
in class AssetWrapper
getCopyright
public String getCopyright()
- Specified by:
getCopyright
in interface Asset
- Overrides:
getCopyright
in class AssetWrapper
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Asset
- Overrides:
getDescription
in class AssetWrapper
wrapVariation
protected Asset wrapVariation(Asset assetVariaton)
- Specified by:
wrapVariation
in class AssetWrapper
Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.