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
|
Modifier and Type | Interface and Description |
---|---|
interface |
Asset2
Extension to
Asset that adds a method to determine if the asset is invariant or not. |
Modifier and Type | Field and Description |
---|---|
static Mapper<Asset,StylesheetLink> |
TapestryInternalUtils.assetToStylesheetLink
Common mapper, used primarily with
Flow.map(org.apache.tapestry5.func.Mapper) |
Modifier and Type | Method and Description |
---|---|
static Asset2 |
TapestryInternalUtils.toAsset2(Asset asset)
Converts an Asset to an Asset2 if necessary.
|
Constructor and Description |
---|
AssetBinding(Location location,
String description,
Asset asset) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAsset
Base class for assets.
|
class |
UrlAsset |
Modifier and Type | Method and Description |
---|---|
Asset |
ContextAssetFactory.createAsset(Resource resource) |
Asset |
ExternalUrlAssetFactory.createAsset(Resource resource) |
Asset |
ClasspathAssetFactory.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) |
Modifier and Type | Method and Description |
---|---|
JavaScriptSupport |
JavaScriptSupportImpl.importJavaScriptLibrary(Asset asset) |
JavaScriptSupport |
JavaScriptSupportImpl.importStylesheet(Asset stylesheet) |
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.
|
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.
|
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 . |
Constructor and Description |
---|
StylesheetLink(Asset asset) |
StylesheetLink(Asset asset,
StylesheetOptions options) |
Modifier and Type | Method and Description |
---|---|
protected Asset |
TapestryTestCase.mockAsset() |
protected Asset |
TapestryTestCase.mockAsset(String assetURL) |
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.