public interface AssetFactory
AssetSource
to create new Asset
s as needed.AssetSource
Modifier and Type | Method and 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.
|
Resource getRootResource()
Asset createAsset(Resource resource)
Asset2
.resource
- a resource within this factories domain (derived from the root
resource)Copyright © 2003-2012 The Apache Software Foundation.