org.apache.tapestry.spec
Class AssetSpecification

java.lang.Object
  extended by org.apache.tapestry.util.BasePropertyHolder
      extended by org.apache.tapestry.spec.LocatablePropertyHolder
          extended by org.apache.tapestry.spec.AssetSpecification
All Implemented Interfaces:
ILocatable, ILocationHolder, IAssetSpecification, IPropertyHolder

public class AssetSpecification
extends LocatablePropertyHolder
implements IAssetSpecification

Defines an internal, external or private asset.

Version:
$Id: AssetSpecification.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Field Summary
protected  String path
           
 
Constructor Summary
AssetSpecification()
           
 
Method Summary
 String getPath()
          Returns the base path for the asset.
 AssetType getType()
           
 void setPath(String path)
           
 void setType(AssetType type)
           
 
Methods inherited from class org.apache.tapestry.spec.LocatablePropertyHolder
getLocation, setLocation
 
Methods inherited from class org.apache.tapestry.util.BasePropertyHolder
getProperty, getPropertyNames, removeProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

path

protected String path
Constructor Detail

AssetSpecification

public AssetSpecification()
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.

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