Uses of Class
org.mozilla.javascript.commonjs.module.provider.ModuleSource
Package
Description
Provides default implementations for module providers.
-
Uses of ModuleSource in org.mozilla.javascript.commonjs.module.provider
Modifier and TypeFieldDescriptionstatic final ModuleSource
ModuleSourceProvider.NOT_MODIFIED
A special return value forModuleSourceProvider.loadSource(String, Scriptable, Object)
andModuleSourceProvider.loadSource(URI, URI, Object)
that signifies that the cached representation is still valid according to the passed validator.Modifier and TypeMethodDescriptionprotected ModuleSource
UrlModuleSourceProvider.loadFromActualUri
(URI uri, URI base, Object validator) protected ModuleSource
ModuleSourceProviderBase.loadFromFallbackLocations
(String moduleId, Object validator) Override to obtain a module source from fallback locations.protected ModuleSource
UrlModuleSourceProvider.loadFromFallbackLocations
(String moduleId, Object validator) protected ModuleSource
ModuleSourceProviderBase.loadFromPrivilegedLocations
(String moduleId, Object validator) Override to obtain a module source from privileged locations.protected ModuleSource
UrlModuleSourceProvider.loadFromPrivilegedLocations
(String moduleId, Object validator) protected abstract ModuleSource
ModuleSourceProviderBase.loadFromUri
(URI uri, URI base, Object validator) Override in a subclass to load a module script from a logical URI.protected ModuleSource
UrlModuleSourceProvider.loadFromUri
(URI uri, URI base, Object validator) ModuleSourceProvider.loadSource
(String moduleId, Scriptable paths, Object validator) Returns the script source of the requested module.ModuleSourceProvider.loadSource
(URI uri, URI baseUri, Object validator) Returns the script source of the requested module from the given URI.ModuleSourceProviderBase.loadSource
(String moduleId, Scriptable paths, Object validator) ModuleSourceProviderBase.loadSource
(URI uri, URI base, Object validator)