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, _supportedSuffixes
MAX_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, setup
configure, contextualize, getKey, getLastModified, getSize, getValidity, isSupported
getLogger, setLogger
private static final Pattern __LOCALE_PATTERN
protected MinimizeJSManager _jSMinimizeManager
public JSSourceMapResourceHandler()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class AbstractSourceMapResourceHandler
ServiceException
protected Source _getAlternateSource(String location, Map objectModel) throws ProcessingException, IOException
AbstractSourceMapResourceHandler
_getAlternateSource
in class AbstractSourceMapResourceHandler
location
- 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
ProcessingException
IOException