public class JSSourceMapResourceHandler extends AbstractSourceMapResourceHandler
| Modifier and Type | Field and Description |
|---|---|
private static Pattern |
__LOCALE_PATTERN |
protected MinimizeJSManager |
_jSMinimizeManager
JS minimize manager
|
_hashCache, _sourceMapCache_cocoonContext, _context, _resolver, _supportedSuffixesMAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
JSSourceMapResourceHandler() |
| Modifier and Type | Method and Description |
|---|---|
private Source |
_generateJSSourceMap(Map objectModel,
String localizedLocation) |
protected Source |
_getAlternateSource(String location,
Map objectModel)
Find the source at an alternative location
|
private String |
_getLocalizedLocation(String location) |
void |
service(ServiceManager manager) |
_getExistingSource, generateResource, getMimeType, getPriority, setupconfigure, contextualize, getKey, getLastModified, getSize, getValidity, isSupportedgetLogger, setLoggerprivate static final Pattern __LOCALE_PATTERN
protected MinimizeJSManager _jSMinimizeManager
public JSSourceMapResourceHandler()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class AbstractSourceMapResourceHandlerServiceExceptionprotected Source _getAlternateSource(String location, Map objectModel) throws ProcessingException, IOException
AbstractSourceMapResourceHandler_getAlternateSource in class AbstractSourceMapResourceHandlerlocation - The original locationobjectModel - The object modelProcessingException - If an error occurredIOException - If an error occurredprivate String _getLocalizedLocation(String location)
private Source _generateJSSourceMap(Map objectModel, String localizedLocation) throws ProcessingException, IOException
ProcessingExceptionIOException