| Package | Description | 
|---|---|
| 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  Dynamiccomponent; 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.javascript | [INTERNAL USE ONLY] JavaScript support implementations; 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.internal.util | [INTERNAL USE ONLY] various utility classes; 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.modules | |
| org.apache.tapestry5.model | Interfaces for various types of component and parameter models used by Tapestry | 
| org.apache.tapestry5.modules | |
| org.apache.tapestry5.services | Core services | 
| org.apache.tapestry5.services.assets | Various services for assets (e.g., images, JavaScript and CSS files) | 
| org.apache.tapestry5.services.dynamic | Services supporting the  Dynamiccomponent. | 
| 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 services | 
| org.apache.tapestry5.test | Support for testing Tapestry pages | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicTemplate | DynamicTemplateParserImpl. parseTemplate(Resource resource) | 
| Constructor and Description | 
|---|
| DynamicTemplateSaxParser(Resource resource,
                        BindingSource bindingSource,
                        Map<String,URL> publicIdToURL) | 
| Constructor and Description | 
|---|
| EntityManagerSourceImpl(org.slf4j.Logger logger,
                       Resource persistenceDescriptor,
                       PersistenceUnitConfigurer packageNamePersistenceUnitConfigurer,
                       Map<String,PersistenceUnitConfigurer> configuration) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | MutableComponentModelImpl. getBaseResource() | 
| Constructor and Description | 
|---|
| MutableComponentModelImpl(String componentClassName,
                         org.slf4j.Logger logger,
                         Resource baseResource,
                         ComponentModel parentModel,
                         boolean pageClass,
                         String libraryName) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | DefaultComponentResourceLocator. locateTemplate(ComponentModel model,
              ComponentResourceSelector selector) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Resource> | DefaultComponentResourceLocator. locateMessageCatalog(Resource baseResource,
                    ComponentResourceSelector selector) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Resource> | DefaultComponentResourceLocator. locateMessageCatalog(Resource baseResource,
                    ComponentResourceSelector selector) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ComponentTemplate. getResource()Returns the resource that was parsed to form the template. | 
| Resource | ComponentTemplateImpl. getResource() | 
| Constructor and Description | 
|---|
| ComponentTemplateImpl(Resource resource,
                     List<TemplateToken> tokens,
                     Map<String,Location> componentIds,
                     boolean extension,
                     boolean strictMixinParameters,
                     Map<String,List<TemplateToken>> overrides) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ContextResourceA resource stored with in the web application context. | 
| class  | UrlResource | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | UrlResource. forLocale(Locale locale) | 
| Resource | MessagesBundle. getBaseResource()Returns the base resource for this bundle of properties files. | 
| Resource | UrlAsset. getResource() | 
| Resource | ExternalUrlAssetFactory. getRootResource() | 
| Resource | AbstractAssetFactory. getRootResource()Returns the root  ContextResource. | 
| protected Resource | ContextResource. newResource(String path) | 
| Resource | AssetSourceImpl. resourceForPath(String path) | 
| Modifier and Type | Method and Description | 
|---|---|
| Asset | ClasspathAssetFactory. createAsset(Resource resource) | 
| Asset | ExternalUrlAssetFactory. createAsset(Resource resource) | 
| Asset | ContextAssetFactory. createAsset(Resource resource) | 
| protected Asset | AbstractAssetFactory. createAsset(Resource resource,
           String folder,
           String resourcePath) | 
| AssetAlias | ClasspathAssetAliasManagerImpl. extractAssetAlias(Resource resource) | 
| Asset | AssetSourceImpl. getAsset(Resource baseResource,
        String path,
        Locale locale) | 
| String | ResourceDigestManager. getDigest(Resource resource)Deprecated.  Returns the digest for the given path. | 
| String | ResourceDigestManagerImpl. getDigest(Resource resource) | 
| ComponentTemplate | TemplateParserImpl. parseTemplate(Resource templateResource) | 
| ComponentTemplate | TemplateParser. parseTemplate(Resource templateResource)Parses the given resource into a component template. | 
| boolean | ResourceDigestManager. 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. | 
| boolean | ResourceDigestManagerImpl. requiresDigest(Resource resource) | 
| boolean | ResourceStreamerImpl. streamResource(Resource resource,
              StreamableResource streamable,
              String providedChecksum,
              Set<ResourceStreamer.Options> options) | 
| boolean | ResourceStreamerImpl. streamResource(Resource resource,
              String providedChecksum,
              Set<ResourceStreamer.Options> options) | 
| boolean | ResourceStreamer. streamResource(Resource resource,
              String providedChecksum,
              Set<ResourceStreamer.Options> options)Streams the content of the resource to the client (or sends
 an alternative response such as  HttpServletResponse.SC_NOT_MODIFIED). | 
| Constructor and Description | 
|---|
| AbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer,
                    ResourceChangeTracker resourceChangeTracker,
                    StreamableResourceSource streamableResourceSource,
                    AssetPathConstructor assetPathConstructor,
                    Resource rootResource) | 
| SaxTemplateParser(Resource resource,
                 Map<String,URL> publicIdToURL) | 
| UrlAsset(String url,
        Resource resource) | 
| XMLTokenStream(Resource resource,
              Map<String,URL> publicIdToURL) | 
| Constructor and Description | 
|---|
| ComponentMessagesSourceImpl(boolean productionMode,
                           List<Resource> appCatalogResources,
                           PropertiesFileParser parser,
                           ComponentResourceLocator resourceLocator,
                           ClasspathURLConverter classpathURLConverter,
                           ComponentRequestSelectorAnalyzer componentRequestSelectorAnalyzer,
                           ThreadLocale threadLocale) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ResourceChangeTrackerImpl. addDependency(Resource dependency) | 
| String | AssetChecksumGeneratorImpl. generateChecksum(Resource resource) | 
| String | ContentTypeAnalyzerImpl. getContentType(Resource resource) | 
| StreamableResource | UTF8ForTextAssets. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | StreamableResourceSourceImpl. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | SRSCompressingInterceptor. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | SRSCachingInterceptor. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | JavaScriptStackMinimizeDisabler. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | CSSURLRewriter. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | SRSMinimizingInterceptor. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| StreamableResource | DelegatingSRS. getStreamableResource(Resource baseResource,
                     StreamableResourceProcessing processing,
                     ResourceDependencies dependencies) | 
| boolean | ChecksumPath. stream(Resource resource)If the resource exists and the checksum is correct, stream it to the client and return true. | 
| 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) | 
| Constructor and Description | 
|---|
| ContextAssetRequestHandler(ResourceStreamer resourceStreamer,
                          Resource rootContextResource) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ModuleManagerImpl. findResourceForModule(String moduleName) | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaScriptStack | JavaScriptStackSourceImpl. findStackForJavaScriptLibrary(Resource resource) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ClientLocalizationMessageResourceProvides 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). | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ClientLocalizationMessageResource. forLocale(Locale locale) | 
| Resource | ClientLocalizationMessageResource. withExtension(String extension) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,String> | PropertiesFileParserImpl. parsePropertiesFile(Resource resource) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | PageTemplateLocator. locateTemplate(ComponentModel model,
              Locale locale) | 
| Resource | DefaultTemplateLocator. locateTemplate(ComponentModel model,
              Locale locale) | 
| Constructor and Description | 
|---|
| PageTemplateLocator(Resource contextRoot,
                   ComponentClassResolver resolver,
                   String applicationFolder) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | InternalComponentResourcesImpl. getBaseResource() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | MessageCatalogResource | 
| class  | VirtualResourceBase class for virtual resources: resources that are not simply mapped to stored files, but are assembled, as necessary,
 on the fly. | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | VirtualResource. forFile(String relativePath) | 
| Resource | VirtualResource. forLocale(Locale locale) | 
| Resource | VirtualResource. withExtension(String extension) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | Resource. forFile(String relativePath)Returns a Resource based on a relative path, relative to the folder containing the resource. | 
| Resource | Resource. forLocale(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(String extension)Returns a new Resource with the extension changed (or, if the resource does not have an extension, the extension
 is added). | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | StringLocation. getResource()Returns null; we don't know where the file really is (it's probably a class on the class path). | 
| Constructor and Description | 
|---|
| ResourceSymbolProvider(Resource resource) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractResourceAbstract implementation of  Resource. | 
| class  | ClasspathResourceImplementation of  Resourcefor files on the classpath (as defined by aClassLoader). | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | AbstractResource. forFile(String relativePath) | 
| Resource | AbstractResource. forLocale(Locale locale) | 
| Resource | LocationImpl. getResource() | 
| protected abstract Resource | AbstractResource. newResource(String path)Factory method provided by subclasses. | 
| protected Resource | ClasspathResource. newResource(String path) | 
| Resource | AbstractResource. withExtension(String extension) | 
| Constructor and Description | 
|---|
| LocationImpl(Resource resource) | 
| LocationImpl(Resource resource,
            int line) | 
| LocationImpl(Resource resource,
            int line,
            int column) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Resource | IOCTestCase. mockResource()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | IOCTestCase. train_forFile(Resource resource,
             String relativePath,
             Resource file)Deprecated.  | 
| protected void | IOCTestCase. train_forLocale(Resource base,
               Locale locale,
               Resource resource)Deprecated.  | 
| protected void | IOCTestCase. train_getPath(Resource r,
             String path)Deprecated.  | 
| protected void | IOCTestCase. train_toURL(Resource resource,
           URL url)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | KaptchaModule. provideLibraryMessages(OrderedConfiguration<Resource> configuration,
                      Resource kaptchaCatalog) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | KaptchaModule. provideLibraryMessages(OrderedConfiguration<Resource> configuration,
                      Resource kaptchaCatalog) | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ComponentModel. getBaseResource()Returns the resource corresponding to the class file for this component. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | JavaScriptModule. setupBaseModules(MappedConfiguration<String,Object> configuration,
                Resource underscoreShim,
                Resource jqueryShim,
                Resource typeahead,
                Resource moment,
                Resource transition,
                Resource bootstrapUtil,
                Compatibility compatibility) | 
| static void | JavaScriptModule. setupFoundationFramework(MappedConfiguration<String,Object> configuration,
                        String provider,
                        Resource domPrototype,
                        Resource domJQuery) | 
| static void | AssetsModule. 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 by  SymbolConstants.APPLICATION_CATALOG | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | AssetsModule. 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 by  SymbolConstants.APPLICATION_CATALOG | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | AssetNotFoundException. getResource()The resource which wasn't found. | 
| Resource | AssetFactory. getRootResource()Returns the Resource representing the root folder of the domain this factory is responsible for. | 
| Resource | AssetSource. resourceForPath(String path)Finds the asset, either on the classpath or (if prefixed), within the indicated domain. | 
| Modifier and Type | Method and Description | 
|---|---|
| Asset | AssetFactory. createAsset(Resource resource)Creates an instance of an asset. | 
| AssetAlias | ClasspathAssetAliasManager. extractAssetAlias(Resource resource)Deprecated.  Takes a classpath resource and determines the proper alias for it based on the mappings contributed to the service. | 
| Asset | AssetSource. getAsset(Resource baseResource,
        String path,
        Locale locale)Finds the asset. | 
| Constructor and Description | 
|---|
| AssetNotFoundException(String message,
                      Resource resource)Constructs an exception with message and a  Resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ResourceDependencies. addDependency(Resource dependency)Marks the dependency as an additional resource. | 
| String | AssetChecksumGenerator. generateChecksum(Resource resource)Given a raw resource, generates an MD5 checksum of the resource's contents. | 
| 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. | 
| InputStream | ResourceTransformer. transform(Resource source,
         ResourceDependencies dependencies)Read the source input stream and provide a new input stream of the transformed content. | 
| Modifier and Type | Method and Description | 
|---|---|
| DynamicTemplate | DynamicTemplateParser. parseTemplate(Resource resource)Given a Resource, parse the XML file into a template. | 
| Modifier and Type | Field and Description | 
|---|---|
| Resource | JavaScriptModuleConfiguration. resourceThe resource for this shim module. | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ModuleManager. findResourceForModule(String moduleName)Given a module name (which may be a path of names separated by slashes), locates the corresponding  Resource. | 
| Modifier and Type | Method and Description | 
|---|---|
| JavaScriptStack | JavaScriptStackSource. findStackForJavaScriptLibrary(Resource resource)Attempts to find the stack containing the indicated JavaScript library. | 
| Constructor and Description | 
|---|
| AMDWrapper(Resource resource) | 
| JavaScriptModuleConfiguration(Resource resource) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,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  CaseInsensitiveMapshould be used. | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ComponentResourceLocator. locateTemplate(ComponentModel model,
              ComponentResourceSelector selector)Locates the template for a component (including pages and base classes). | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Resource> | ComponentResourceLocator. locateMessageCatalog(Resource baseResource,
                    ComponentResourceSelector selector)Locates the properties files that make up the message catalog for a specific component. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Resource> | ComponentResourceLocator. locateMessageCatalog(Resource baseResource,
                    ComponentResourceSelector selector)Locates the properties files that make up the message catalog for a specific component. | 
| Modifier and Type | Method and Description | 
|---|---|
| Resource | ComponentTemplateLocator. locateTemplate(ComponentModel model,
              Locale locale)Deprecated.  Locates the template for the given model as a  Resource. | 
| 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_getBaseResource(ComponentModel model,
                     Resource resource) | 
| void | TapestryTestCase. train_getResource(Location location,
                 Resource resource) | 
| protected void | TapestryTestCase. train_getRootResource(AssetFactory factory,
                     Resource rootResource) | 
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.