## 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, java.lang.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` | ExternalUrlAssetFactory.`createAsset(Resource resource)`
    `Asset` | ClasspathAssetFactory.`createAsset(Resource resource)`
    `Asset` | ContextAssetFactory.`createAsset(Resource resource)`
    `protected Asset` | AbstractAssetFactory.`createAsset(Resource resource, java.lang.String folder, java.lang.String resourcePath)`
    `Asset` | AssetSourceImpl.`getAsset(Resource baseResource, java.lang.String path, java.util.Locale locale)`
    `Asset` | AssetSourceImpl.`getClasspathAsset(java.lang.String path)`
    `Asset` | AssetSourceImpl.`getClasspathAsset(java.lang.String path, java.util.Locale locale)`
    `Asset` | AssetSourceImpl.`getComponentAsset(ComponentResources resources, java.lang.String path, java.lang.String libraryName)`
    `Asset` | AssetSourceImpl.`getContextAsset(java.lang.String path, java.util.Locale locale)`
    `Asset` | AssetSourceImpl.`getExpandedAsset(java.lang.String path)`
    `Asset` | AssetSourceImpl.`getUnlocalizedAsset(java.lang.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, java.lang.String path, java.util.Locale locale)` Finds the asset.
    `Asset` | AssetSource.`getClasspathAsset(java.lang.String path)` Obtains a classpath asset in the current locale (as defined by the `ThreadLocale` service).
    `Asset` | AssetSource.`getClasspathAsset(java.lang.String path, java.util.Locale locale)` Convenience for finding assets on the classpath.
    `Asset` | AssetSource.`getComponentAsset(ComponentResources resources, java.lang.String path, java.lang.String libraryName)` Gets an asset that is used with, or injected into, a component, that will be exposed to the client.
    `Asset` | AssetSource.`getContextAsset(java.lang.String path, java.util.Locale locale)` Convenience for finding assets in the context.
    `Asset` | AssetSource.`getExpandedAsset(java.lang.String path)` As with `AssetSource.getUnlocalizedAsset(String)`, but symbols in the path are expanded}.
    `Asset` | AssetSource.`getUnlocalizedAsset(java.lang.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
    --- | ---
    `java.util.List<Asset>` | ExtensibleJavaScriptStack.`getJavaScriptLibraries()`
    `java.util.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(java.lang.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, java.lang.String path, java.util.Locale locale, Asset asset)`
    `protected void` | TapestryTestCase.`train_getClasspathAsset(AssetSource source, java.lang.String path, Asset asset)`
    `protected void` | TapestryTestCase.`train_getClasspathAsset(AssetSource source, java.lang.String path, java.util.Locale locale, Asset asset)`
    `protected void` | TapestryTestCase.`train_toClientURL(Asset asset, java.lang.String URL)` Deprecated. Deprecated in 5.4 with no replacement.

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