Class ExternalUrlAssetFactory
- java.lang.Object
- 
- org.apache.tapestry5.internal.services.ExternalUrlAssetFactory
 
- 
- All Implemented Interfaces:
- AssetFactory
 
 public class ExternalUrlAssetFactory extends java.lang.Object implements AssetFactory 
- 
- 
Constructor SummaryConstructors Constructor Description ExternalUrlAssetFactory(java.lang.String protocol)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetcreateAsset(Resource resource)Creates an instance of an asset.ResourcegetRootResource()Returns the Resource representing the root folder of the domain this factory is responsible for.
 
- 
- 
- 
Constructor Detail- 
ExternalUrlAssetFactorypublic ExternalUrlAssetFactory(java.lang.String protocol) 
 
- 
 - 
Method Detail- 
getRootResourcepublic Resource getRootResource() Description copied from interface:AssetFactoryReturns the Resource representing the root folder of the domain this factory is responsible for.- Specified by:
- getRootResourcein interface- AssetFactory
 
 - 
createAssetpublic Asset createAsset(Resource resource) Description copied from interface:AssetFactoryCreates an instance of an asset.- Specified by:
- createAssetin interface- AssetFactory
- Parameters:
- resource- a resource within this factories domain (derived from the root resource)
- Returns:
- an Asset for the resource
 
 
- 
 
-