org.apache.tapestry.asset
Class AbstractAsset
java.lang.Object
org.apache.tapestry.asset.AbstractAsset
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, IAsset
- Direct Known Subclasses:
- ContextAsset, ExternalAsset, PrivateAsset
public abstract class AbstractAsset
- extends Object
- implements IAsset
Base class for IAsset
implementations. Provides
the location property.
- Since:
- 3.0
- Author:
- Howard Lewis Ship
Constructor Summary |
protected |
AbstractAsset(org.apache.hivemind.Resource resourceLocation,
org.apache.hivemind.Location location)
|
AbstractAsset
protected AbstractAsset(org.apache.hivemind.Resource resourceLocation,
org.apache.hivemind.Location location)
getLocation
public org.apache.hivemind.Location getLocation()
- Specified by:
getLocation
in interface org.apache.hivemind.Locatable
getResourceLocation
public org.apache.hivemind.Resource getResourceLocation()
- Description copied from interface:
IAsset
- Returns the underlying location of the asset.
- Specified by:
getResourceLocation
in interface IAsset
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.