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:
- org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IAssetSpecification, PropertyInjectable, IPropertyHolder
public class AssetSpecification
- extends LocatablePropertyHolder
- implements IAssetSpecification
Defines an internal, external or private asset.
- Author:
- Howard Lewis Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
_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. Starting with 4.0, this may have a prefix
added to identify the type of resource.
- Specified by:
getPath
in interface IAssetSpecification
setPath
public void setPath(String path)
- Specified by:
setPath
in interface IAssetSpecification
- Since:
- 3.0 *
getPropertyName
public String getPropertyName()
- Description copied from interface:
PropertyInjectable
- Returns the name of the property to be created for this component, or
null if no property should be created.
- Specified by:
getPropertyName
in interface PropertyInjectable
- Since:
- 4.0
setPropertyName
public void setPropertyName(String propertyName)
- Specified by:
setPropertyName
in interface PropertyInjectable
- Since:
- 4.0
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.