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(NodeRef root,
String repoPath) |
Map<String,Document> |
parseXMLDocuments(String typeName,
NodeRef rootNode,
String repoPath) |
void |
setContentService(ContentService contentService) |
void |
setDictionaryService(DictionaryService dictionaryService) |
void |
setFileService(FileFolderService fileService) |
void |
setNamespaceService(NamespaceService namespaceService) |
void |
setNodeService(NodeService nodeService) |
public Document parseXMLDocument(NodeRef root, String repoPath) throws IOException, SAXException, FileNotFoundException
public Map<String,Document> parseXMLDocuments(String typeName, NodeRef rootNode, String repoPath) throws IOException, SAXException
IOExceptionSAXExceptionpublic String encodeQuotes(String text) throws IOException, SAXException
text - to encodeIOExceptionSAXExceptionpublic void setFileService(FileFolderService fileService)
fileService - the fileService to setpublic void setContentService(ContentService contentService)
contentService - the contentService to setpublic void setNodeService(NodeService nodeService)
nodeService - the nodeService to setpublic void setNamespaceService(NamespaceService namespaceService)
namespaceService - the namespaceService to setpublic void setDictionaryService(DictionaryService dictionaryService)
dictionaryService - the dictionaryService to setCopyright © 2005–2020 Alfresco Software. All rights reserved.