public class OutputCSSDirective extends AbstractDependencyExtensibilityDirective
This directive is used for outputting the CSS dependencies that have been requested by other directives onto the
output stream. This directive relies on a DeferredContentTargetModelElement approach to add a place holder into the
ExtensibilityModel which can then be located and added to by subsequently processed directives.
AbstractDependencyExtensibilityDirective.ProcessedDependency| Modifier and Type | Field and Description |
|---|---|
static String |
OUTPUT_CSS_DEPENDENCIES_DIRECTIVE_NAME |
static String |
OUTPUT_DEPENDENCY_DIRECTIVE_ID |
dependencyHandler| Constructor and Description |
|---|
OutputCSSDirective(String directiveName,
org.springframework.extensions.surf.extensibility.ExtensibilityModel model) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body) |
void |
setDependencyAggregator(DependencyAggregator dependencyAggregator) |
getModelObject, getRequestContext, getResourceControllerMapping, getToInsert, getUpdatedSrc, getWebFrameworkConfig, processDependency, setDependencyHandler, setModelObject, setRequestContext, setWebFrameworkConfigafter, before, createExtensibilityDirectiveData, getId, getModel, merge, remove, replacepublic static final String OUTPUT_DEPENDENCY_DIRECTIVE_ID
public static final String OUTPUT_CSS_DEPENDENCIES_DIRECTIVE_NAME
public OutputCSSDirective(String directiveName, org.springframework.extensions.surf.extensibility.ExtensibilityModel model)
public void setDependencyAggregator(DependencyAggregator dependencyAggregator)
setDependencyAggregator in class AbstractDependencyExtensibilityDirectivepublic void execute(freemarker.core.Environment env,
Map params,
freemarker.template.TemplateModel[] loopVars,
freemarker.template.TemplateDirectiveBody body)
throws freemarker.template.TemplateException,
IOException
execute in interface freemarker.template.TemplateDirectiveModelexecute in class org.springframework.extensions.surf.extensibility.impl.AbstractExtensibilityDirectivefreemarker.template.TemplateExceptionIOExceptionCopyright © 2005–2016 Alfresco Software. All rights reserved.