org.apache.tapestry.spec
Interface IAssetSpecification

All Superinterfaces:
ILocatable, ILocationHolder, IPropertyHolder
All Known Implementing Classes:
AssetSpecification

public interface IAssetSpecification
extends IPropertyHolder, ILocationHolder, ILocatable

Defines an internal, external or private asset.

Version:
$Id: IAssetSpecification.java,v 1.4 2004/02/19 17:37:52 hlship Exp $
Author:
glongman@intelligentworks.com

Method Summary
 String getPath()
          Returns the base path for the asset.
 AssetType getType()
           
 void setPath(String path)
           
 void setType(AssetType type)
           
 
Methods inherited from interface org.apache.tapestry.util.IPropertyHolder
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Method Detail

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.


getType

public AssetType getType()

setPath

public void setPath(String path)
Since:
3.0

setType

public void setType(AssetType type)
Since:
3.0