Package org.apache.tapestry5.internal.services

# Class ExternalUrlAssetFactory

java.lang.Object
org.apache.tapestry5.internal.services.ExternalUrlAssetFactory

All Implemented Interfaces:
  `AssetFactory`

public class ExternalUrlAssetFactory extends Object implements AssetFactory

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExternalUrlAssetFactory(String protocol)`

- ## Method Summary

  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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExternalUrlAssetFactory

    public ExternalUrlAssetFactory(String protocol)

- ## Method Details

  - ### 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 interface `AssetFactory`

  - ### createAsset

    public Asset createAsset(Resource resource)
    Description copied from interface: `AssetFactory`
    Creates an instance of an asset.
    Specified by:
      `createAsset` in interface `AssetFactory`
    Parameters:
      `resource` - a resource within this factories domain (derived from the root resource)
    Returns:
      an Asset for the resource