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 Summary
Constructors Constructor Description ExternalUrlAssetFactory(java.lang.String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Asset
createAsset(Resource resource)
Creates an instance of an asset.Resource
getRootResource()
Returns the Resource representing the root folder of the domain this factory is responsible for.
-
-
-
Constructor Detail
-
ExternalUrlAssetFactory
public ExternalUrlAssetFactory(java.lang.String protocol)
-
-
Method Detail
-
getRootResource
public Resource getRootResource()
Description copied from interface:AssetFactory
Returns the Resource representing the root folder of the domain this factory is responsible for.- Specified by:
getRootResource
in interfaceAssetFactory
-
createAsset
public Asset createAsset(Resource resource)
Description copied from interface:AssetFactory
Creates an instance of an asset.- Specified by:
createAsset
in interfaceAssetFactory
- Parameters:
resource
- a resource within this factories domain (derived from the root resource)- Returns:
- an Asset for the resource
-
-