Class ExternalUrlAssetFactory
java.lang.Object
org.apache.tapestry5.internal.services.ExternalUrlAssetFactory
- All Implemented Interfaces:
AssetFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAsset
(Resource resource) Creates an instance of an asset.Returns the Resource representing the root folder of the domain this factory is responsible for.
-
Constructor Details
-
ExternalUrlAssetFactory
-
-
Method Details
-
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
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
-