|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.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(String componentClassName,
org.slf4j.Logger logger,
Resource baseResource,
ComponentModel parentModel)
|
|
| Uses of Resource in org.apache.tapestry5.internal.parser |
|---|
| Methods in org.apache.tapestry5.internal.parser that return Resource | |
|---|---|
Resource |
ComponentTemplateImpl.getResource()
|
Resource |
ComponentTemplate.getResource()
Returns the resource that was parsed to form the template. |
| Constructors in org.apache.tapestry5.internal.parser with parameters of type Resource | |
|---|---|
ComponentTemplateImpl(Resource resource,
List<TemplateToken> tokens,
Map<String,Location> componentIds,
boolean extension,
Map<String,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 |
PageTemplateLocatorImpl.findPageTemplateResource(ComponentModel model,
Locale locale)
|
Resource |
PageTemplateLocator.findPageTemplateResource(ComponentModel model,
Locale locale)
Given model, determines if the model is for a page (rather than a component) and if so, sees if there is a localized template for the page in the web application context. |
Resource |
AssetResourceLocatorImpl.findResourceForPath(String path)
|
Resource |
AssetResourceLocator.findResourceForPath(String path)
Analyzes the path and identifies the underying Asset Resource for that path. |
Resource |
MessagesBundle.getBaseResource()
Returns the base resource for this bundle of properties files. |
Resource |
ContextAssetFactory.getRootResource()
Returns the root ContextResource. |
Resource |
ClasspathAssetFactory.getRootResource()
|
protected Resource |
ContextResource.newResource(String path)
|
Resource |
AssetSourceImpl.resourceForPath(String path)
|
| Methods in org.apache.tapestry5.internal.services with parameters of type Resource | |
|---|---|
Asset |
ContextAssetFactory.createAsset(Resource resource)
|
Asset |
ClasspathAssetFactory.createAsset(Resource resource)
|
Asset |
AssetSourceImpl.getAsset(Resource baseResource,
String path,
Locale locale)
|
String |
ResourceStreamerImpl.getContentType(Resource resource)
|
String |
ResourceStreamer.getContentType(Resource resource)
Analyzes the resource to determine what its content type is, possibly using the service's configuration. |
String |
ResourceCacheImpl.getDigest(Resource resource)
|
String |
ResourceCache.getDigest(Resource resource)
Returns the digest for the given path. |
StreamableResource |
ResourceCacheImpl.getStreamableResource(Resource resource)
|
StreamableResource |
ResourceCache.getStreamableResource(Resource resource)
Returns the contents of the resource |
long |
ResourceCacheImpl.getTimeModified(Resource resource)
|
long |
ResourceCache.getTimeModified(Resource resource)
Returns the time modified for the resource. |
ComponentTemplate |
TemplateParserImpl.parseTemplate(Resource templateResource)
|
ComponentTemplate |
TemplateParser.parseTemplate(Resource templateResource)
Parses the given resource into a component template. |
boolean |
ResourceCacheImpl.requiresDigest(Resource resource)
|
boolean |
ResourceCache.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. |
void |
ResourceStreamerImpl.streamResource(Resource resource)
|
void |
ResourceStreamer.streamResource(Resource resource)
Streams the content of the resource to the client. |
| Constructors in org.apache.tapestry5.internal.services with parameters of type Resource | |
|---|---|
ComponentMessagesSourceImpl(Resource appCatalogResource,
ClasspathURLConverter classpathURLConverter)
|
|
PageTemplateLocatorImpl(Resource contextRoot,
ComponentClassResolver resolver)
|
|
StaxTemplateParser(Resource resource,
org.codehaus.stax2.XMLInputFactory2 inputFactory)
|
|
ValidationMessagesSourceImpl(List<String> bundles,
Resource classpathRoot,
ClasspathURLConverter classpathURLConverter)
|
|
| 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(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). |
| 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(String relativePath)
|
Resource |
AbstractResource.forLocale(Locale locale)
|
Resource |
LocationImpl.getResource()
|
protected Resource |
ClasspathResource.newResource(String path)
|
protected abstract Resource |
AbstractResource.newResource(String path)
Factory method provided by subclasses. |
Resource |
AbstractResource.withExtension(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,
String relativePath,
Resource file)
|
protected void |
IOCTestCase.train_forLocale(Resource base,
Locale locale,
Resource resource)
|
protected void |
IOCTestCase.train_getPath(Resource r,
String path)
|
protected void |
IOCTestCase.train_toURL(Resource resource,
URL url)
|
| 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(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 | |
|---|---|
Asset |
AssetFactory.createAsset(Resource resource)
Creates an instance of an asset. |
Asset |
AssetSource.getAsset(Resource baseResource,
String path,
Locale locale)
Finds the asset. |
| 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,
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)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||