public class XSLTFunctions extends Object
Constructor and Description |
---|
XSLTFunctions() |
Modifier and Type | Method and Description |
---|---|
String |
encodeQuotes(String text)
Encodes invalid HTML characters.
|
Document |
parseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root,
String repoPath) |
Map<String,Document> |
parseXMLDocuments(String typeName,
org.alfresco.service.cmr.repository.NodeRef rootNode,
String repoPath) |
void |
setContentService(ContentService contentService) |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService) |
void |
setFileService(FileFolderService fileService) |
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService) |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService) |
public Document parseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root, String repoPath) throws IOException, SAXException, FileNotFoundException
public Map<String,Document> parseXMLDocuments(String typeName, org.alfresco.service.cmr.repository.NodeRef rootNode, String repoPath) throws IOException, SAXException
IOException
SAXException
public String encodeQuotes(String text) throws IOException, SAXException
text
- to encodeIOException
SAXException
public void setFileService(FileFolderService fileService)
fileService
- the fileService to setpublic void setContentService(ContentService contentService)
contentService
- the contentService to setpublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the nodeService to setpublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- the namespaceService to setpublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- the dictionaryService to setCopyright © 2005–2017 Alfresco Software. All rights reserved.