org.apache.tapestry.spec
Class AssetSpecification
java.lang.Object
org.apache.tapestry.util.BasePropertyHolder
org.apache.tapestry.spec.LocatablePropertyHolder
org.apache.tapestry.spec.AssetSpecification
- All Implemented Interfaces:
- IAssetSpecification, ILocatable, ILocationHolder, IPropertyHolder
- public class AssetSpecification
- extends LocatablePropertyHolder
- implements IAssetSpecification
Defines an internal, external or private asset.
- Version:
- $Id: AssetSpecification.java,v 1.7 2004/02/19 17:37:52 hlship Exp $
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
path
protected String path
AssetSpecification
public AssetSpecification()
getPath
public String getPath()
- Returns the base path for the asset. This may be interpreted as a URL, relative URL
or the path to a resource, depending on the type of asset.
- Specified by:
getPath
in interface IAssetSpecification
getType
public AssetType getType()
- Specified by:
getType
in interface IAssetSpecification
setPath
public void setPath(String path)
- Specified by:
setPath
in interface IAssetSpecification
- Since:
- 3.0
setType
public void setType(AssetType type)
- Specified by:
setType
in interface IAssetSpecification
- Since:
- 3.0