Uses of Interface
org.apache.tapestry5.commons.Resource
-
Packages that use Resource Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.commons org.apache.tapestry5.commons.internal.services org.apache.tapestry5.internal.dynamic [INTERNAL USE ONLY] support classes for theDynamiccomponent; API subject to changeorg.apache.tapestry5.internal.jpa [INTERNAL USE ONLY] support classes for the JPA module; API subject to changeorg.apache.tapestry5.internal.model [INTERNAL USE ONLY] support classes for component models; API subject to changeorg.apache.tapestry5.internal.pageload [INTERNAL USE ONLY] support classes for assembling and loading pages; API subject to changeorg.apache.tapestry5.internal.parser [INTERNAL USE ONLY] support classes for component template rendering; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.assets [INTERNAL USE ONLY] asset support services; API subject to changeorg.apache.tapestry5.internal.services.javascript [INTERNAL USE ONLY] JavaScript support implementations; API subject to changeorg.apache.tapestry5.internal.services.messages [INTERNAL USE ONLY] support implementations for component catalogs; API subject to changeorg.apache.tapestry5.internal.services.templates [INTERNAL USE ONLY] component template support classes; API subject to changeorg.apache.tapestry5.internal.structure [INTERNAL USE ONLY] page structure implementation details; API subject to change.org.apache.tapestry5.internal.util [INTERNAL USE ONLY] various utility classes; API subject to change.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 changeorg.apache.tapestry5.ioc.test org.apache.tapestry5.kaptcha.modules org.apache.tapestry5.model Interfaces for various types of component and parameter models used by Tapestryorg.apache.tapestry5.modules org.apache.tapestry5.services Core servicesorg.apache.tapestry5.services.assets Various services for assets (e.g., images, JavaScript and CSS files)org.apache.tapestry5.services.dynamic Services supporting theDynamiccomponent.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.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 servicesorg.apache.tapestry5.test Support for testing Tapestry pages -
-
Uses of Resource in org.apache.tapestry5
Methods in org.apache.tapestry5 that return Resource Modifier and Type Method Description ResourceComponentResources. 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).ResourceAsset. getResource()Returns the underlying Resource for the Asset. -
Uses of Resource in org.apache.tapestry5.commons
Methods in org.apache.tapestry5.commons that return Resource Modifier and Type Method Description ResourceResource. forFile(java.lang.String relativePath)Returns a Resource based on a relative path, relative to the folder containing the resource.ResourceResource. forLocale(java.util.Locale locale)Returns a localized version of the resource.ResourceLocation. getResource()The resource from which the object tagged with a location was derived.ResourceResource. 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.commons.internal.services
Methods in org.apache.tapestry5.commons.internal.services that return Resource Modifier and Type Method Description ResourceStringLocation. getResource()Returns null; we don't know where the file really is (it's probably a class on the class path). -
Uses of Resource in org.apache.tapestry5.internal.dynamic
Methods in org.apache.tapestry5.internal.dynamic with parameters of type Resource Modifier and Type Method Description DynamicTemplateDynamicTemplateParserImpl. parseTemplate(Resource resource)Constructors in org.apache.tapestry5.internal.dynamic with parameters of type Resource Constructor Description 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 Constructor Description 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 Modifier and Type Method Description ResourceMutableComponentModelImpl. getBaseResource()Constructors in org.apache.tapestry5.internal.model with parameters of type Resource Constructor Description MutableComponentModelImpl(java.lang.String componentClassName, org.slf4j.Logger logger, Resource baseResource, ComponentModel parentModel, boolean pageClass, java.lang.String libraryName) -
Uses of Resource in org.apache.tapestry5.internal.pageload
Methods in org.apache.tapestry5.internal.pageload that return Resource Modifier and Type Method Description ResourceDefaultComponentResourceLocator. locateTemplate(ComponentModel model, ComponentResourceSelector selector)Methods in org.apache.tapestry5.internal.pageload that return types with arguments of type Resource Modifier and Type Method Description java.util.List<Resource>DefaultComponentResourceLocator. locateMessageCatalog(Resource baseResource, ComponentResourceSelector selector)Methods in org.apache.tapestry5.internal.pageload with parameters of type Resource Modifier and Type Method Description 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 Modifier and Type Method Description ResourceComponentTemplate. getResource()Returns the resource that was parsed to form the template.ResourceComponentTemplateImpl. getResource()Constructors in org.apache.tapestry5.internal.parser with parameters of type Resource Constructor Description ComponentTemplateImpl(Resource resource, java.util.List<TemplateToken> tokens, java.util.Map<java.lang.String,Location> componentIds, boolean extension, boolean strictMixinParameters, 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 Modifier and Type Class Description classContextResourceA resource stored with in the web application context.classUrlResourceMethods in org.apache.tapestry5.internal.services that return Resource Modifier and Type Method Description ResourceUrlResource. forLocale(java.util.Locale locale)ResourceMessagesBundle. getBaseResource()Returns the base resource for this bundle of properties files.ResourceMessagesTrackingInfo. getResource()ResourceUrlAsset. getResource()ResourceAbstractAssetFactory. getRootResource()Returns the rootContextResource.ResourceExternalUrlAssetFactory. getRootResource()protected ResourceContextResource. newResource(java.lang.String path)ResourceAssetSourceImpl. resourceForPath(java.lang.String path)Methods in org.apache.tapestry5.internal.services with parameters of type Resource Modifier and Type Method Description protected AssetAbstractAssetFactory. createAsset(Resource resource, java.lang.String folder, java.lang.String resourcePath)AssetClasspathAssetFactory. createAsset(Resource resource)AssetContextAssetFactory. createAsset(Resource resource)AssetExternalUrlAssetFactory. createAsset(Resource resource)AssetAliasClasspathAssetAliasManagerImpl. extractAssetAlias(Resource resource)AssetAssetSourceImpl. getAsset(Resource baseResource, java.lang.String path, java.util.Locale locale)java.lang.StringResourceDigestManager. getDigest(Resource resource)Deprecated.Returns the digest for the given path.java.lang.StringResourceDigestManagerImpl. getDigest(Resource resource)ComponentTemplateTemplateParser. parseTemplate(Resource templateResource)Parses the given resource into a component template.ComponentTemplateTemplateParserImpl. parseTemplate(Resource templateResource)booleanResourceDigestManager. requiresDigest(Resource resource)Deprecated.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.booleanResourceDigestManagerImpl. requiresDigest(Resource resource)booleanResourceStreamer. streamResource(Resource resource, java.lang.String providedChecksum, java.util.Set<ResourceStreamer.Options> options)Streams the content of the resource to the client (or sends an alternative response such asHttpServletResponse.SC_NOT_MODIFIED).booleanResourceStreamerImpl. streamResource(Resource resource, java.lang.String providedChecksum, java.util.Set<ResourceStreamer.Options> options)booleanResourceStreamerImpl. streamResource(Resource resource, StreamableResource streamable, java.lang.String providedChecksum, java.util.Set<ResourceStreamer.Options> options)Constructors in org.apache.tapestry5.internal.services with parameters of type Resource Constructor Description AbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, AssetPathConstructor assetPathConstructor, Resource rootResource)MessagesTrackingInfo(Resource resource, java.lang.Object bundleId, java.lang.String className)SaxTemplateParser(Resource resource, java.util.Map<java.lang.String,java.net.URL> publicIdToURL)UrlAsset(java.lang.String url, Resource resource)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 Constructor Description ComponentMessagesSourceImpl(boolean productionMode, boolean multipleClassLoaders, java.util.List<Resource> appCatalogResources, PropertiesFileParser parser, ComponentResourceLocator resourceLocator, ClasspathURLConverter classpathURLConverter, ComponentRequestSelectorAnalyzer componentRequestSelectorAnalyzer, ThreadLocale threadLocale, ComponentClassResolver componentClassResolver, org.slf4j.Logger logger) -
Uses of Resource in org.apache.tapestry5.internal.services.assets
Methods in org.apache.tapestry5.internal.services.assets with parameters of type Resource Modifier and Type Method Description voidResourceChangeTrackerImpl. addDependency(Resource dependency)java.lang.StringAssetChecksumGeneratorImpl. generateChecksum(Resource resource)java.lang.StringContentTypeAnalyzerImpl. getContentType(Resource resource)StreamableResourceCSSURLRewriter. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceDelegatingSRS. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceJavaScriptStackMinimizeDisabler. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceSRSCachingInterceptor. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceSRSCompressingInterceptor. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceSRSMinimizingInterceptor. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceStreamableResourceSourceImpl. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)StreamableResourceUTF8ForTextAssets. getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)booleanChecksumPath. stream(Resource resource)If the resource exists and the checksum is correct, stream it to the client and return true.longResourceChangeTracker. trackResource(Resource resource)Start tracking the resource (or return the last modified time of an already tracked resource).longResourceChangeTrackerImpl. trackResource(Resource resource)Constructors in org.apache.tapestry5.internal.services.assets with parameters of type Resource Constructor Description ContextAssetRequestHandler(ResourceStreamer resourceStreamer, Resource rootContextResource) -
Uses of Resource in org.apache.tapestry5.internal.services.javascript
Methods in org.apache.tapestry5.internal.services.javascript that return Resource Modifier and Type Method Description ResourceModuleManagerImpl. findResourceForModule(java.lang.String moduleName)Methods in org.apache.tapestry5.internal.services.javascript with parameters of type Resource Modifier and Type Method Description JavaScriptStackJavaScriptStackSourceImpl. findStackForJavaScriptLibrary(Resource resource) -
Uses of Resource in org.apache.tapestry5.internal.services.messages
Classes in org.apache.tapestry5.internal.services.messages that implement Resource Modifier and Type Class Description classClientLocalizationMessageResourceProvides a number of symbols related to client-side localization; by exposing these in the global message catalog, they are available to the client (via the "t5/core/messages" module).Methods in org.apache.tapestry5.internal.services.messages that return Resource Modifier and Type Method Description ResourceClientLocalizationMessageResource. forLocale(java.util.Locale locale)ResourceClientLocalizationMessageResource. withExtension(java.lang.String extension)Methods in org.apache.tapestry5.internal.services.messages with parameters of type Resource Modifier and Type Method Description 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 Modifier and Type Method Description ResourceDefaultTemplateLocator. locateTemplate(ComponentModel model, java.util.Locale locale)ResourcePageTemplateLocator. locateTemplate(ComponentModel model, java.util.Locale locale)Constructors in org.apache.tapestry5.internal.services.templates with parameters of type Resource Constructor Description 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 Modifier and Type Method Description ResourceInternalComponentResourcesImpl. getBaseResource() -
Uses of Resource in org.apache.tapestry5.internal.util
Classes in org.apache.tapestry5.internal.util that implement Resource Modifier and Type Class Description classMessageCatalogResourceclassVirtualResourceBase class for virtual resources: resources that are not simply mapped to stored files, but are assembled, as necessary, on the fly.Methods in org.apache.tapestry5.internal.util that return Resource Modifier and Type Method Description ResourceVirtualResource. forFile(java.lang.String relativePath)ResourceVirtualResource. forLocale(java.util.Locale locale)ResourceVirtualResource. withExtension(java.lang.String extension) -
Uses of Resource in org.apache.tapestry5.ioc.internal.services
Constructors in org.apache.tapestry5.ioc.internal.services with parameters of type Resource Constructor Description ResourceSymbolProvider(Resource resource) -
Uses of Resource in org.apache.tapestry5.ioc.internal.util
Classes in org.apache.tapestry5.ioc.internal.util that implement Resource Modifier and Type Class Description classAbstractResourceAbstract implementation ofResource.classClasspathResourceImplementation ofResourcefor files on the classpath (as defined by aClassLoader).Methods in org.apache.tapestry5.ioc.internal.util that return Resource Modifier and Type Method Description ResourceAbstractResource. forFile(java.lang.String relativePath)ResourceAbstractResource. forLocale(java.util.Locale locale)ResourceLocationImpl. getResource()protected abstract ResourceAbstractResource. newResource(java.lang.String path)Factory method provided by subclasses.protected ResourceClasspathResource. newResource(java.lang.String path)ResourceAbstractResource. withExtension(java.lang.String extension)Constructors in org.apache.tapestry5.ioc.internal.util with parameters of type Resource Constructor Description 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 Modifier and Type Method Description protected ResourceIOCTestCase. mockResource()Deprecated.Methods in org.apache.tapestry5.ioc.test with parameters of type Resource Modifier and Type Method Description protected voidIOCTestCase. train_forFile(Resource resource, java.lang.String relativePath, Resource file)Deprecated.protected voidIOCTestCase. train_forLocale(Resource base, java.util.Locale locale, Resource resource)Deprecated.protected voidIOCTestCase. train_getPath(Resource r, java.lang.String path)Deprecated.protected voidIOCTestCase. train_toURL(Resource resource, java.net.URL url)Deprecated. -
Uses of Resource in org.apache.tapestry5.kaptcha.modules
Methods in org.apache.tapestry5.kaptcha.modules with parameters of type Resource Modifier and Type Method Description static voidKaptchaModule. provideLibraryMessages(OrderedConfiguration<Resource> configuration, Resource kaptchaCatalog)Method parameters in org.apache.tapestry5.kaptcha.modules with type arguments of type Resource Modifier and Type Method Description static voidKaptchaModule. provideLibraryMessages(OrderedConfiguration<Resource> configuration, Resource kaptchaCatalog) -
Uses of Resource in org.apache.tapestry5.model
Methods in org.apache.tapestry5.model that return Resource Modifier and Type Method Description ResourceComponentModel. getBaseResource()Returns the resource corresponding to the class file for this component. -
Uses of Resource in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules with parameters of type Resource Modifier and Type Method Description static voidJavaScriptModule. setupBaseModules(MappedConfiguration<java.lang.String,java.lang.Object> configuration, Resource underscoreShim, Resource jqueryShim, Resource typeahead, Resource moment, Resource transition, Resource bootstrapUtil, Compatibility compatibility)static voidJavaScriptModule. setupFoundationFramework(MappedConfiguration<java.lang.String,java.lang.Object> configuration, java.lang.String provider, Resource domPrototype, Resource domJQuery)static voidAssetsModule. setupGlobalMessageCatalog(AssetSource assetSource, Resource applicationCatalog, OrderedConfiguration<Resource> configuration)Contributes: ClientLocalization A virtual resource of formatting symbols for decimal numbers Core Built in messages used by Tapestry's default validators and components AppCatalog The Resource defined bySymbolConstants.APPLICATION_CATALOGMethod parameters in org.apache.tapestry5.modules with type arguments of type Resource Modifier and Type Method Description static voidAssetsModule. setupGlobalMessageCatalog(AssetSource assetSource, Resource applicationCatalog, OrderedConfiguration<Resource> configuration)Contributes: ClientLocalization A virtual resource of formatting symbols for decimal numbers Core Built in messages used by Tapestry's default validators and components AppCatalog The Resource defined bySymbolConstants.APPLICATION_CATALOG -
Uses of Resource in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return Resource Modifier and Type Method Description ResourceAssetNotFoundException. getResource()The resource which wasn't found.ResourceAssetFactory. getRootResource()Returns the Resource representing the root folder of the domain this factory is responsible for.ResourceAssetSource. 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 Modifier and Type Method Description AssetAssetFactory. createAsset(Resource resource)Creates an instance of an asset.AssetAliasClasspathAssetAliasManager. extractAssetAlias(Resource resource)Deprecated.Takes a classpath resource and determines the proper alias for it based on the mappings contributed to the service.AssetAssetSource. getAsset(Resource baseResource, java.lang.String path, java.util.Locale locale)Finds the asset.Constructors in org.apache.tapestry5.services with parameters of type Resource Constructor Description AssetNotFoundException(java.lang.String message, Resource resource)Constructs an exception with message and aResource. -
Uses of Resource in org.apache.tapestry5.services.assets
Methods in org.apache.tapestry5.services.assets with parameters of type Resource Modifier and Type Method Description voidResourceDependencies. addDependency(Resource dependency)Marks the dependency as an additional resource.java.lang.StringAssetChecksumGenerator. generateChecksum(Resource resource)Given a raw resource, generates an MD5 checksum of the resource's contents.java.lang.StringContentTypeAnalyzer. getContentType(Resource resource)Analyze the resource to determine its content type.StreamableResourceStreamableResourceSource. 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.InputStreamResourceTransformer. 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 Modifier and Type Method Description DynamicTemplateDynamicTemplateParser. parseTemplate(Resource resource)Given a Resource, parse the XML file into a template. -
Uses of Resource in org.apache.tapestry5.services.javascript
Fields in org.apache.tapestry5.services.javascript declared as Resource Modifier and Type Field Description ResourceJavaScriptModuleConfiguration. resourceThe resource for this shim module.Methods in org.apache.tapestry5.services.javascript that return Resource Modifier and Type Method Description ResourceModuleManager. findResourceForModule(java.lang.String moduleName)Given a module name (which may be a path of names separated by slashes), locates the correspondingResource.Methods in org.apache.tapestry5.services.javascript with parameters of type Resource Modifier and Type Method Description JavaScriptStackJavaScriptStackSource. findStackForJavaScriptLibrary(Resource resource)Attempts to find the stack containing the indicated JavaScript library.Constructors in org.apache.tapestry5.services.javascript with parameters of type Resource Constructor Description AMDWrapper(Resource resource)JavaScriptModuleConfiguration(Resource resource) -
Uses of Resource in org.apache.tapestry5.services.messages
Methods in org.apache.tapestry5.services.messages with parameters of type Resource Modifier and Type Method Description 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 (asCaseInsensitiveMapshould be used. -
Uses of Resource in org.apache.tapestry5.services.pageload
Methods in org.apache.tapestry5.services.pageload that return Resource Modifier and Type Method Description ResourceComponentResourceLocator. 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 Modifier and Type Method Description 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 Modifier and Type Method Description 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 Modifier and Type Method Description ResourceComponentTemplateLocator. locateTemplate(ComponentModel model, java.util.Locale locale)Deprecated.Locates the template for the given model as aResource. -
Uses of Resource in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test with parameters of type Resource Modifier and Type Method Description protected voidTapestryTestCase. train_createAsset(AssetFactory factory, Resource resource, Asset asset)protected voidTapestryTestCase. train_getAsset(AssetSource source, Resource root, java.lang.String path, java.util.Locale locale, Asset asset)protected voidTapestryTestCase. train_getBaseResource(ComponentModel model, Resource resource)voidTapestryTestCase. train_getResource(Location location, Resource resource)protected voidTapestryTestCase. train_getRootResource(AssetFactory factory, Resource rootResource)
-