Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.apache.tapestry5.ioc.Resource

Packages that use Resource
org.apache.tapestry5 | Root package for Tapestry, containing common interfaces and data types used throughout the framework.
org.apache.tapestry5.internal.dynamic | [INTERNAL USE ONLY] support classes for the `Dynamic` component; API subject to change
org.apache.tapestry5.internal.jpa | [INTERNAL USE ONLY] support classes for the JPA module; API subject to change
org.apache.tapestry5.internal.model | [INTERNAL USE ONLY] support classes for component models; API subject to change
org.apache.tapestry5.internal.pageload | [INTERNAL USE ONLY] support classes for assembling and loading pages; API subject to change
org.apache.tapestry5.internal.parser | [INTERNAL USE ONLY] support classes for component template rendering; API subject to change
org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.services.assets | [INTERNAL USE ONLY] asset support services; API subject to change
org.apache.tapestry5.internal.services.messages | [INTERNAL USE ONLY] support implementations for component catalogs; API subject to change
org.apache.tapestry5.internal.services.templates | [INTERNAL USE ONLY] component template support classes; API subject to change
org.apache.tapestry5.internal.structure | [INTERNAL USE ONLY] page structure implementation details; API subject to change.
org.apache.tapestry5.ioc | A code-centric, high-performance, simple Inversion of Control container
org.apache.tapestry5.ioc.internal.services | [INTERNAL USE ONLY] Tapestry IOC service implementation classes; API subject to change.
org.apache.tapestry5.ioc.internal.util | [INTERNAL USE ONLY] utility classes for Tapestry IOC services; API subject to change
org.apache.tapestry5.ioc.test | Classes supporting testing of Tapestry IOC services
org.apache.tapestry5.kaptcha.services | Services supporting the Kaptcha (CAPTCHA) component
org.apache.tapestry5.model | Interfaces for various types of component and parameter models used by Tapestry
org.apache.tapestry5.services | Core services
org.apache.tapestry5.services.assets | Various services for assets (e.g., images, JavaScript & CSS files)
org.apache.tapestry5.services.dynamic | Services supporting the `Dynamic` component.
org.apache.tapestry5.services.messages | Services supporting component and application message catalogs.
org.apache.tapestry5.services.pageload | Services for locating and loading pages and component resources.
org.apache.tapestry5.services.templates | Template services
org.apache.tapestry5.test | Support for testing Tapestry pages

Uses of Resource in org.apache.tapestry5

Methods in org.apache.tapestry5 that return Resource
`Resource` | `ComponentResources.getBaseResource()` Returns the base resource for the component, which will represent the class's location within the classpath (this is used to resolve relative assets).
`Resource` | `Asset.getResource()` Returns the underlying Resource for the Asset.

Uses of Resource in org.apache.tapestry5.internal.dynamic

Methods in org.apache.tapestry5.internal.dynamic with parameters of type Resource
`DynamicTemplate` | `DynamicTemplateParserImpl.parseTemplate(Resource resource)`

Constructors in org.apache.tapestry5.internal.dynamic with parameters of type Resource
`DynamicTemplateSaxParser(Resource resource, BindingSource bindingSource, java.util.Map<java.lang.String,java.net.URL> publicIdToURL)`

Uses of Resource in org.apache.tapestry5.internal.jpa

Constructors in org.apache.tapestry5.internal.jpa with parameters of type Resource
`EntityManagerSourceImpl(org.slf4j.Logger logger, Resource persistenceDescriptor, PersistenceUnitConfigurer packageNamePersistenceUnitConfigurer, java.util.Map<java.lang.String,PersistenceUnitConfigurer> configuration)`

Uses of Resource in org.apache.tapestry5.internal.model

Methods in org.apache.tapestry5.internal.model that return Resource
`Resource` | `MutableComponentModelImpl.getBaseResource()`

Constructors in org.apache.tapestry5.internal.model with parameters of type Resource
`MutableComponentModelImpl(java.lang.String componentClassName, org.slf4j.Logger logger, Resource baseResource, ComponentModel parentModel, boolean pageClass)`

Uses of Resource in org.apache.tapestry5.internal.pageload

Methods in org.apache.tapestry5.internal.pageload that return Resource
`Resource` | `DefaultComponentResourceLocator.locateTemplate(ComponentModel model, ComponentResourceSelector selector)`

Methods in org.apache.tapestry5.internal.pageload that return types with arguments of type Resource
`java.util.List<Resource>` | `DefaultComponentResourceLocator.locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)`

Methods in org.apache.tapestry5.internal.pageload with parameters of type Resource
`java.util.List<Resource>` | `DefaultComponentResourceLocator.locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)`

Uses of Resource in org.apache.tapestry5.internal.parser

Methods in org.apache.tapestry5.internal.parser that return Resource
`Resource` | `ComponentTemplate.getResource()` Returns the resource that was parsed to form the template.
`Resource` | `ComponentTemplateImpl.getResource()`

Constructors in org.apache.tapestry5.internal.parser with parameters of type Resource
`ComponentTemplateImpl(Resource resource, java.util.List<TemplateToken> tokens, java.util.Map<java.lang.String,Location> componentIds, boolean extension, java.util.Map<java.lang.String,java.util.List<TemplateToken>> overrides)`

Uses of Resource in org.apache.tapestry5.internal.services

Classes in org.apache.tapestry5.internal.services that implement Resource
`class` | `ContextResource` A resource stored with in the web application context.

Methods in org.apache.tapestry5.internal.services that return Resource
`Resource` | `AssetResourceLocator.findClasspathResourceForPath(java.lang.String path)` For a complete classpath path, returns the Resource for the path.
`Resource` | `AssetResourceLocatorImpl.findClasspathResourceForPath(java.lang.String path)`
`Resource` | `MessagesBundle.getBaseResource()` Returns the base resource for this bundle of properties files.
`Resource` | `ClasspathAssetFactory.getRootResource()`
`Resource` | `ContextAssetFactory.getRootResource()` Returns the root `ContextResource`.
`protected Resource` | `ContextResource.newResource(java.lang.String path)`
`Resource` | `AssetSourceImpl.resourceForPath(java.lang.String path)`

Methods in org.apache.tapestry5.internal.services with parameters of type Resource
`static java.lang.String` | `ServicesMessages.assetDoesNotExist(Resource resource)`
`Asset` | `ClasspathAssetFactory.createAsset(Resource resource)`
`Asset` | `ContextAssetFactory.createAsset(Resource resource)`
`static java.lang.String` | `ServicesMessages.failureReadingMessages(Resource url, java.lang.Throwable cause)`
`Asset` | `AssetSourceImpl.getAsset(Resource baseResource, java.lang.String path, java.util.Locale locale)`
`java.lang.String` | `ResourceDigestManager.getDigest(Resource resource)` Returns the digest for the given path.
`java.lang.String` | `ResourceDigestManagerImpl.getDigest(Resource resource)`
`long` | `ResourceDigestManagerImpl.getTimeModified(Resource resource)`
`static java.lang.String` | `ServicesMessages.missingTemplateResource(Resource resource)`
`ComponentTemplate` | `TemplateParser.parseTemplate(Resource templateResource)` Parses the given resource into a component template.
`ComponentTemplate` | `TemplateParserImpl.parseTemplate(Resource templateResource)`
`boolean` | `ResourceDigestManager.requiresDigest(Resource resource)` Returns true if the path requires that the client URL for the resource include a digest to validate that the client is authorized to access the resource.
`boolean` | `ResourceDigestManagerImpl.requiresDigest(Resource resource)`
`void` | `ResourceStreamer.streamResource(Resource resource)` Streams the content of the resource to the client (or sends an alternative response such as `HttpServletResponse.SC_NOT_MODIFIED`).
`void` | `ResourceStreamerImpl.streamResource(Resource resource)`
`static java.lang.String` | `ServicesMessages.wrongAssetDigest(Resource resource)`

Constructors in org.apache.tapestry5.internal.services with parameters of type Resource
`SaxTemplateParser(Resource resource, java.util.Map<java.lang.String,java.net.URL> publicIdToURL)`
`XMLTokenStream(Resource resource, java.util.Map<java.lang.String,java.net.URL> publicIdToURL)`

Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type Resource
`ComponentMessagesSourceImpl(boolean productionMode, java.util.List<Resource> appCatalogResources, PropertiesFileParser parser, ComponentResourceLocator resourceLocator, ClasspathURLConverter classpathURLConverter)`

Uses of Resource in org.apache.tapestry5.internal.services.assets

Methods in org.apache.tapestry5.internal.services.assets with parameters of type Resource
`void` | `ResourceChangeTrackerImpl.addDependency(Resource dependency)`
`java.lang.String` | `ContentTypeAnalyzerImpl.getContentType(Resource resource)`
`StreamableResource` | `SRSCachingInterceptor.getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
`StreamableResource` | `SRSCompressingInterceptor.getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
`StreamableResource` | `SRSMinimizingInterceptor.getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
`StreamableResource` | `StreamableResourceSourceImpl.getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
`long` | `ResourceChangeTracker.trackResource(Resource resource)` Start tracking the resource (or return the last modified time of an already tracked resource).
`long` | `ResourceChangeTrackerImpl.trackResource(Resource resource)`

Constructors in org.apache.tapestry5.internal.services.assets with parameters of type Resource
`ContextAssetRequestHandler(ResourceStreamer resourceStreamer, Resource rootContextResource)`

Uses of Resource in org.apache.tapestry5.internal.services.messages

Methods in org.apache.tapestry5.internal.services.messages with parameters of type Resource
`java.util.Map<java.lang.String,java.lang.String>` | `PropertiesFileParserImpl.parsePropertiesFile(Resource resource)`

Uses of Resource in org.apache.tapestry5.internal.services.templates

Methods in org.apache.tapestry5.internal.services.templates that return Resource
`Resource` | `DefaultTemplateLocator.locateTemplate(ComponentModel model, java.util.Locale locale)`
`Resource` | `PageTemplateLocator.locateTemplate(ComponentModel model, java.util.Locale locale)`

Constructors in org.apache.tapestry5.internal.services.templates with parameters of type Resource
`PageTemplateLocator(Resource contextRoot, ComponentClassResolver resolver, java.lang.String applicationFolder)`

Uses of Resource in org.apache.tapestry5.internal.structure

Methods in org.apache.tapestry5.internal.structure that return Resource
`Resource` | `InternalComponentResourcesImpl.getBaseResource()`

Uses of Resource in org.apache.tapestry5.ioc

Methods in org.apache.tapestry5.ioc that return Resource
`Resource` | `Resource.forFile(java.lang.String relativePath)` Returns a Resource based on a relative path, relative to the folder containing the resource.
`Resource` | `Resource.forLocale(java.util.Locale locale)` Returns a localized version of the resource.
`Resource` | `Location.getResource()` The resource from which the object tagged with a location was derived.
`Resource` | `Resource.withExtension(java.lang.String extension)` Returns a new Resource with the extension changed (or, if the resource does not have an extension, the extension is added).

Uses of Resource in org.apache.tapestry5.ioc.internal.services

Methods in org.apache.tapestry5.ioc.internal.services that return Resource
`Resource` | `StringLocation.getResource()` Returns null; we don't know where the file really is (it's probably a class on the class path).

Constructors in org.apache.tapestry5.ioc.internal.services with parameters of type Resource
`ResourceSymbolProvider(Resource resource)`

Uses of Resource in org.apache.tapestry5.ioc.internal.util

Classes in org.apache.tapestry5.ioc.internal.util that implement Resource
`class` | `AbstractResource` Abstract implementation of `Resource`.
`class` | `ClasspathResource` Implementation of `Resource` for files on the classpath (as defined by a `ClassLoader`).

Methods in org.apache.tapestry5.ioc.internal.util that return Resource
`Resource` | `AbstractResource.forFile(java.lang.String relativePath)`
`Resource` | `AbstractResource.forLocale(java.util.Locale locale)`
`Resource` | `LocationImpl.getResource()`
`protected abstract Resource` | `AbstractResource.newResource(java.lang.String path)` Factory method provided by subclasses.
`protected Resource` | `ClasspathResource.newResource(java.lang.String path)`
`Resource` | `AbstractResource.withExtension(java.lang.String extension)`

Constructors in org.apache.tapestry5.ioc.internal.util with parameters of type Resource
`LocationImpl(Resource resource)`
`LocationImpl(Resource resource, int line)`
`LocationImpl(Resource resource, int line, int column)`

Uses of Resource in org.apache.tapestry5.ioc.test

Methods in org.apache.tapestry5.ioc.test that return Resource
`protected Resource` | `IOCTestCase.mockResource()`

Methods in org.apache.tapestry5.ioc.test with parameters of type Resource
`protected void` | `IOCTestCase.train_forFile(Resource resource, java.lang.String relativePath, Resource file)`
`protected void` | `IOCTestCase.train_forLocale(Resource base, java.util.Locale locale, Resource resource)`
`protected void` | `IOCTestCase.train_getPath(Resource r, java.lang.String path)`
`protected void` | `IOCTestCase.train_toURL(Resource resource, java.net.URL url)`

Uses of Resource in org.apache.tapestry5.kaptcha.services

Methods in org.apache.tapestry5.kaptcha.services with parameters of type Resource
`static void` | `KaptchaModule.provideLibraryMessages(OrderedConfiguration<Resource> configuration, Resource coreCatalog)`

Method parameters in org.apache.tapestry5.kaptcha.services with type arguments of type Resource
`static void` | `KaptchaModule.provideLibraryMessages(OrderedConfiguration<Resource> configuration, Resource coreCatalog)`

Uses of Resource in org.apache.tapestry5.model

Methods in org.apache.tapestry5.model that return Resource
`Resource` | `ComponentModel.getBaseResource()` Returns the resource corresponding to the class file for this component.

Uses of Resource in org.apache.tapestry5.services

Methods in org.apache.tapestry5.services that return Resource
`Resource` | `AssetFactory.getRootResource()` Returns the Resource representing the root folder of the domain this factory is responsible for.
`Resource` | `AssetSource.resourceForPath(java.lang.String path)` Finds the asset, either on the classpath or (if prefixed), within the indicated domain.

Methods in org.apache.tapestry5.services with parameters of type Resource
`static void` | `TapestryModule.contributeComponentMessagesSource(AssetSource assetSource, Resource applicationCatalog, OrderedConfiguration<Resource> configuration)` Contributes: AppCatalog The Resource defined by `SymbolConstants.APPLICATION_CATALOG` ValidationMessages Messages used by validators (before:AppCatalog)
`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.

Method parameters in org.apache.tapestry5.services with type arguments of type Resource
`static void` | `TapestryModule.contributeComponentMessagesSource(AssetSource assetSource, Resource applicationCatalog, OrderedConfiguration<Resource> configuration)` Contributes: AppCatalog The Resource defined by `SymbolConstants.APPLICATION_CATALOG` ValidationMessages Messages used by validators (before:AppCatalog)

Uses of Resource in org.apache.tapestry5.services.assets

Methods in org.apache.tapestry5.services.assets with parameters of type Resource
`void` | `ResourceDependencies.addDependency(Resource dependency)` Marks the dependency as an additional resource.
`java.lang.String` | `ContentTypeAnalyzer.getContentType(Resource resource)` Analyze the resource to determine its content type.
`StreamableResource` | `StreamableResourceSource.getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)` Converts a Resource (which must be non-null and exist) into a streamable resource, along with some additional optional behaviors.
`java.io.InputStream` | `ResourceTransformer.transform(Resource source, ResourceDependencies dependencies)` Read the source input stream and provide a new input stream of the transformed content.

Uses of Resource in org.apache.tapestry5.services.dynamic

Methods in org.apache.tapestry5.services.dynamic with parameters of type Resource
`DynamicTemplate` | `DynamicTemplateParser.parseTemplate(Resource resource)` Given a Resource, parse the XML file into a template.

Uses of Resource in org.apache.tapestry5.services.messages

Methods in org.apache.tapestry5.services.messages with parameters of type Resource
`java.util.Map<java.lang.String,java.lang.String>` | `PropertiesFileParser.parsePropertiesFile(Resource resource)` Read the contents of the file (which is expected to exist) and return it as a Map of string keys and values (as `CaseInsensitiveMap` should be used.

Uses of Resource in org.apache.tapestry5.services.pageload

Methods in org.apache.tapestry5.services.pageload that return Resource
`Resource` | `ComponentResourceLocator.locateTemplate(ComponentModel model, ComponentResourceSelector selector)` Locates the template for a component (including pages and base classes).

Methods in org.apache.tapestry5.services.pageload that return types with arguments of type Resource
`java.util.List<Resource>` | `ComponentResourceLocator.locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)` Locates the properties files that make up the message catalog for a specific component.

Methods in org.apache.tapestry5.services.pageload with parameters of type Resource
`java.util.List<Resource>` | `ComponentResourceLocator.locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)` Locates the properties files that make up the message catalog for a specific component.

Uses of Resource in org.apache.tapestry5.services.templates

Methods in org.apache.tapestry5.services.templates that return Resource
`Resource` | `ComponentTemplateLocator.locateTemplate(ComponentModel model, java.util.Locale locale)` Deprecated. Locates the template for the given model as a `Resource`.

Uses of Resource in org.apache.tapestry5.test

Methods in org.apache.tapestry5.test with parameters of type Resource
`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_getBaseResource(ComponentModel model, Resource resource)`
`void` | `TapestryTestCase.train_getResource(Location location, Resource resource)`
`protected void` | `TapestryTestCase.train_getRootResource(AssetFactory factory, Resource rootResource)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2003-2012 The Apache Software Foundation.