org.apache.tapestry.asset
Class AbstractAsset
java.lang.Object
org.apache.tapestry.asset.AbstractAsset
- All Implemented Interfaces:
- 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
AbstractAsset
protected AbstractAsset(Resource resourceLocation,
Location location)
getLocation
public Location getLocation()
- Specified by:
getLocation in interface Locatable
getResourceLocation
public 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 Apache Software Foundation. All Rights Reserved.