Class XSLTFunctions
- java.lang.Object
-
- org.alfresco.repo.rendition.executer.XSLTFunctions
-
@Deprecated public class XSLTFunctions extends java.lang.ObjectDeprecated.The RenditionService is being replace by the simpler async RenditionService2.- Since:
- 3.3
- Author:
- Brian Remmington
-
-
Constructor Summary
Constructors Constructor Description XSLTFunctions()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringencodeQuotes(java.lang.String text)Deprecated.Encodes invalid HTML characters.org.w3c.dom.DocumentparseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root, java.lang.String repoPath)Deprecated.java.util.Map<java.lang.String,org.w3c.dom.Document>parseXMLDocuments(java.lang.String typeName, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String repoPath)Deprecated.voidsetContentService(ContentService contentService)Deprecated.voidsetDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)Deprecated.voidsetFileService(FileFolderService fileService)Deprecated.voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)Deprecated.voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.
-
-
-
Method Detail
-
parseXMLDocument
public org.w3c.dom.Document parseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root, java.lang.String repoPath) throws java.io.IOException, org.xml.sax.SAXException, FileNotFoundExceptionDeprecated.- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionFileNotFoundException
-
parseXMLDocuments
public java.util.Map<java.lang.String,org.w3c.dom.Document> parseXMLDocuments(java.lang.String typeName, org.alfresco.service.cmr.repository.NodeRef rootNode, java.lang.String repoPath) throws java.io.IOException, org.xml.sax.SAXExceptionDeprecated.- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
encodeQuotes
public java.lang.String encodeQuotes(java.lang.String text) throws java.io.IOException, org.xml.sax.SAXExceptionDeprecated.Encodes invalid HTML characters. (Fix for ETWOTWO-504 issue) This code was adopted from WebDAVHelper.encodeHTML() method with some restrictions.- Parameters:
text- to encode- Returns:
- encoded text
- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
setFileService
public void setFileService(FileFolderService fileService)
Deprecated.- Parameters:
fileService- the fileService to set
-
setContentService
public void setContentService(ContentService contentService)
Deprecated.- Parameters:
contentService- the contentService to set
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.- Parameters:
nodeService- the nodeService to set
-
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
Deprecated.- Parameters:
namespaceService- the namespaceService to set
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Deprecated.- Parameters:
dictionaryService- the dictionaryService to set
-
-