public class ScriptResolverImpl extends Object implements ScriptResolver
ScriptResolver.| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
contentTypePattern |
protected String |
contentTypeXPathQuery |
protected String |
scriptsXPathQuery |
protected String |
scriptUrlFormat |
protected org.craftercms.core.service.ContentStoreService |
storeService |
| Constructor and Description |
|---|
ScriptResolverImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getScriptUrlForContentType(String contentType) |
List<String> |
getScriptUrls(SiteItem item) |
void |
setContentTypePattern(String contentTypePattern) |
void |
setContentTypeXPathQuery(String contentTypeXPathQuery) |
void |
setScriptsXPathQuery(String scriptsXPathQuery) |
void |
setScriptUrlFormat(String scriptUrlFormat) |
void |
setStoreService(org.craftercms.core.service.ContentStoreService storeService) |
protected org.craftercms.core.service.ContentStoreService storeService
protected String contentTypeXPathQuery
protected Pattern contentTypePattern
protected String scriptUrlFormat
protected String scriptsXPathQuery
public void setStoreService(org.craftercms.core.service.ContentStoreService storeService)
public void setContentTypeXPathQuery(String contentTypeXPathQuery)
public void setContentTypePattern(String contentTypePattern)
public void setScriptUrlFormat(String scriptUrlFormat)
public void setScriptsXPathQuery(String scriptsXPathQuery)
public List<String> getScriptUrls(SiteItem item)
getScriptUrls in interface ScriptResolverCopyright © 2014 CrafterCMS. All Rights Reserved.