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: 
 - 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
 
 
 
 
 
 
| 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