|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.asset.AssetSourceImpl
Implementation of the AssetSource
service interface.
Constructor Summary | |
AssetSourceImpl()
|
Method Summary | |
IAsset |
findAsset(org.apache.hivemind.Resource base,
java.lang.String path,
java.util.Locale locale,
org.apache.hivemind.Location location)
|
void |
initializeService()
|
void |
setContributions(java.util.List contributions)
List of AssetFactoryContribution . |
void |
setDefaultAssetFactory(AssetFactory defaultAssetFactory)
Factory used when an unrecognized prefix (typically, an arbitrary URL's scheme) is provided. |
void |
setLookupAssetFactory(AssetFactory lookupAssetFactory)
Factory used when the path has no prefix, and the type of asset must be inferred from the type of resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AssetSourceImpl()
Method Detail |
public void initializeService()
public IAsset findAsset(org.apache.hivemind.Resource base, java.lang.String path, java.util.Locale locale, org.apache.hivemind.Location location)
findAsset
in interface AssetSource
public void setLookupAssetFactory(AssetFactory lookupAssetFactory)
public void setContributions(java.util.List contributions)
AssetFactoryContribution
.
public void setDefaultAssetFactory(AssetFactory defaultAssetFactory)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |