org.apache.tapestry.asset
Class AbstractAsset
java.lang.Object
org.apache.tapestry.asset.AbstractAsset
- All Implemented Interfaces:
- IAsset, ILocatable
- 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
- Version:
- $Id: AbstractAsset.java 243791 2004-02-19 17:38:13Z hlship $
- Author:
- Howard Lewis Ship
AbstractAsset
protected AbstractAsset(IResourceLocation resourceLocation,
ILocation location)
getLocation
public ILocation getLocation()
- Description copied from interface:
ILocatable
- Returns the
location
from which
this object orginates, or null if not known.
- Specified by:
getLocation
in interface ILocatable
getResourceLocation
public IResourceLocation 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