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 243791 2004-02-19 17:38:13Z hlship $
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

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

AssetType getType()

setPath

void setPath(String path)
Since:
3.0

setType

void setType(AssetType type)
Since:
3.0