public class XSLTRenderingEngine extends BaseTemplateRenderingEngine
AbstractRenderingEngine.RenderingContext
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
PARAM_MODEL, PARAM_TEMPLATE, PARAM_TEMPLATE_NODE, PARAM_TEMPLATE_PATH
actionTrackingService, CONTENT_READER_NOT_FOUND_MESSAGE, contentService, DEFAULT_RUN_AS_NAME, mimetypeMap, nodeService, PARAM_ENCODING, PARAM_MIME_TYPE, PARAM_PLACEHOLDER_RESOURCE_PATH, PARAM_RUN_AS, PARAM_SOURCE_CONTENT_PROPERTY, PARAM_TARGET_CONTENT_PROPERTY, PARAM_UPDATE_RENDITIONS_ON_ANY_PROPERTY_CHANGE
actionDefinition, applicableTypes, publicAction
adhocPropertiesAllowed, DISPLAY_LABEL, runtimeActionService
name
PARAM_RESULT
Constructor and Description |
---|
XSLTRenderingEngine() |
Modifier and Type | Method and Description |
---|---|
protected Object |
buildModel(AbstractRenderingEngine.RenderingContext context)
Create the model that will be passed to the template service for rendering
with the appropriate template.
|
protected String |
getTemplateType()
Get the type of template that is to be used.
|
void |
setFileFolderService(FileFolderService fileFolderService) |
void |
setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver) |
void |
setXsltFunctions(XSLTFunctions xsltFunctions) |
getParamDisplayLabel, getParameterDefinitions, getSearchService, getTemplateNode, getTemplateService, render, setSearchService, setTemplateService
addParameterDefinitions, checkActionIsRenditionDefinition, checkParameterValues, checkSourceNodeExists, createActionDefinition, executeImpl, executeImpl, executeRenditionImpl, getCheckedParam, getDefaultRenditionContentProp, getDefaultRenditionNodeType, getExecutionSummary, getParamWithDefault, getRenditionContentProperty, getTargetEncoding, getTargetMimeType, notifyCallbackOfException, notifyCallbackOfResult, resolveRenditionLocation, setActionTrackingService, setBehaviourFilter, setContentService, setDefaultRenditionContentProp, setDefaultRenditionNodeType, setMimetypeMap, setNodeService, setRenditionLocationResolver, setRenditionService, switchToFinalRenditionNode, tagSourceNodeAsRenditioned, throwWrappedException
execute, getActionDefinition, getIgnoreLock, getQueueName, getTrackStatus, init, isApplicableType, onLogException, setApplicableTypes, setBaseNodeService, setDictionaryService, setIgnoreLock, setLockService, setMlAwareNodeService, setPublicAction, setQueueName, setTrackStatus
checkMandatoryProperties, getAdhocPropertiesAllowed, getDescriptionKey, getLocalizedParameterDefinitions, getParamDisplayLabel, getParameterDefintions, getTitleKey, setAdhocPropertiesAllowed, setLocales, setRuntimeActionService, toString
setBeanName
public static final String NAME
protected Object buildModel(AbstractRenderingEngine.RenderingContext context)
BaseTemplateRenderingEngine
buildModel
in class BaseTemplateRenderingEngine
context
- The context of the rendering requestprotected String getTemplateType()
BaseTemplateRenderingEngine
getTemplateType
in class BaseTemplateRenderingEngine
public void setXsltFunctions(XSLTFunctions xsltFunctions)
xsltFunctions
- the xsltFunctions to setpublic void setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
namespacePrefixResolver
- the namespacePrefixResolver to setpublic void setFileFolderService(FileFolderService fileFolderService)
fileFolderService
- the fileFolderService to setCopyright © 2005–2017 Alfresco Software. All rights reserved.