## Uses of Interface
org.apache.tapestry5.Asset

- Packages that use Asset
  Package | Description
  --- | ---
  org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
  org.apache.tapestry5.internal | [INTERNAL USE ONLY] internal support classes; API subject to change.
  org.apache.tapestry5.internal.bindings | [INTERNAL USE ONLY] support classes for binding; API subject to change
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.services.ajax | [INTERNAL USE ONLY] AJAX support services; API subject to change
  org.apache.tapestry5.services | Core services
  org.apache.tapestry5.services.javascript | Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.
  org.apache.tapestry5.test | Support for testing Tapestry pages

- - ### Uses of Asset in org.apache.tapestry5

    Subinterfaces of Asset in org.apache.tapestry5
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Asset2` Extension to `Asset` that adds a method to determine if the asset is invariant or not.

  - ### Uses of Asset in org.apache.tapestry5.internal

    Fields in org.apache.tapestry5.internal with type parameters of type Asset
    Modifier and Type | Field and Description
    --- | ---
    `static Mapper<Asset,StylesheetLink>` | TapestryInternalUtils.`assetToStylesheetLink` Common mapper, used primarily with `Flow.map(org.apache.tapestry5.func.Mapper)`

    Methods in org.apache.tapestry5.internal with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `static Asset2` | TapestryInternalUtils.`toAsset2(Asset asset)` Converts an Asset to an Asset2 if necessary.

  - ### Uses of Asset in org.apache.tapestry5.internal.bindings

    Constructors in org.apache.tapestry5.internal.bindings with parameters of type Asset
    Constructor and Description
    `AssetBinding(Location location, String description, Asset asset)`

  - ### Uses of Asset in org.apache.tapestry5.internal.services

    Classes in org.apache.tapestry5.internal.services that implement Asset
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractAsset` Base class for assets.
    `class` | `UrlAsset`

    Methods in org.apache.tapestry5.internal.services that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `Asset` | ContextAssetFactory.`createAsset(Resource resource)`
    `Asset` | ClasspathAssetFactory.`createAsset(Resource resource)`
    `Asset` | ExternalUrlAssetFactory.`createAsset(Resource resource)`
    `protected Asset` | AbstractAssetFactory.`createAsset(Resource resource, String folder, String resourcePath)`
    `Asset` | AssetSourceImpl.`getAsset(Resource baseResource, String path, Locale locale)`
    `Asset` | AssetSourceImpl.`getClasspathAsset(String path)`
    `Asset` | AssetSourceImpl.`getClasspathAsset(String path, Locale locale)`
    `Asset` | AssetSourceImpl.`getComponentAsset(ComponentResources resources, String path, String libraryName)`
    `Asset` | AssetSourceImpl.`getContextAsset(String path, Locale locale)`
    `Asset` | AssetSourceImpl.`getExpandedAsset(String path)`
    `Asset` | AssetSourceImpl.`getUnlocalizedAsset(String path)`

  - ### Uses of Asset in org.apache.tapestry5.internal.services.ajax

    Methods in org.apache.tapestry5.internal.services.ajax with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `JavaScriptSupport` | JavaScriptSupportImpl.`importJavaScriptLibrary(Asset asset)`
    `JavaScriptSupport` | JavaScriptSupportImpl.`importStylesheet(Asset stylesheet)`

  - ### Uses of Asset in org.apache.tapestry5.services

    Methods in org.apache.tapestry5.services that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `Asset` | AssetFactory.`createAsset(Resource resource)` Creates an instance of an asset.
    `Asset` | AssetSource.`getAsset(Resource baseResource, String path, Locale locale)` Finds the asset.
    `Asset` | AssetSource.`getClasspathAsset(String path)` Obtains a classpath asset in the current locale (as defined by the `ThreadLocale` service).
    `Asset` | AssetSource.`getClasspathAsset(String path, Locale locale)` Convenience for finding assets on the classpath.
    `Asset` | AssetSource.`getComponentAsset(ComponentResources resources, String path, String libraryName)` Gets an asset that is used with, or injected into, a component, that will be exposed to the client.
    `Asset` | AssetSource.`getContextAsset(String path, Locale locale)` Convenience for finding assets in the context.
    `Asset` | AssetSource.`getExpandedAsset(String path)` As with `AssetSource.getUnlocalizedAsset(String)`, but symbols in the path are expanded}.
    `Asset` | AssetSource.`getUnlocalizedAsset(String path)` Find an asset but does not attempt to localize it.

  - ### Uses of Asset in org.apache.tapestry5.services.javascript

    Methods in org.apache.tapestry5.services.javascript that return types with arguments of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `List<Asset>` | ExtensibleJavaScriptStack.`getJavaScriptLibraries()`
    `List<Asset>` | JavaScriptStack.`getJavaScriptLibraries()` Returns a list of localized assets for JavaScript libraries that form the stack.

    Methods in org.apache.tapestry5.services.javascript with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `JavaScriptSupport` | JavaScriptSupport.`importJavaScriptLibrary(Asset asset)` Imports a JavaScript library as part of the rendered page.
    `JavaScriptSupport` | JavaScriptSupport.`importStylesheet(Asset stylesheet)` A convenience method that wraps the Asset as a `StylesheetLink`.

    Constructors in org.apache.tapestry5.services.javascript with parameters of type Asset
    Constructor and Description
    `StylesheetLink(Asset asset)`
    `StylesheetLink(Asset asset, StylesheetOptions options)`

  - ### Uses of Asset in org.apache.tapestry5.test

    Methods in org.apache.tapestry5.test that return Asset
    Modifier and Type | Method and Description
    --- | ---
    `protected Asset` | TapestryTestCase.`mockAsset()`
    `protected Asset` | TapestryTestCase.`mockAsset(String assetURL)`

    Methods in org.apache.tapestry5.test with parameters of type Asset
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TapestryTestCase.`train_createAsset(AssetFactory factory, Resource resource, Asset asset)`
    `protected void` | TapestryTestCase.`train_getAsset(AssetSource source, Resource root, String path, Locale locale, Asset asset)`
    `protected void` | TapestryTestCase.`train_getClasspathAsset(AssetSource source, String path, Asset asset)`
    `protected void` | TapestryTestCase.`train_getClasspathAsset(AssetSource source, String path, Locale locale, Asset asset)`
    `protected void` | TapestryTestCase.`train_toClientURL(Asset asset, String URL)` Deprecated. Deprecated in 5.4 with no replacement.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.