public class XSLTFunctions
extends java.lang.Object
| Constructor and Description |
|---|
XSLTFunctions() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
encodeQuotes(java.lang.String text)
Encodes invalid HTML characters.
|
org.w3c.dom.Document |
parseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root,
java.lang.String repoPath) |
java.util.Map |
parseXMLDocuments(java.lang.String typeName,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.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 org.w3c.dom.Document parseXMLDocument(org.alfresco.service.cmr.repository.NodeRef root,
java.lang.String repoPath)
throws java.io.IOException,
org.xml.sax.SAXException,
FileNotFoundException
java.io.IOExceptionorg.xml.sax.SAXExceptionFileNotFoundExceptionpublic java.util.Map parseXMLDocuments(java.lang.String typeName,
org.alfresco.service.cmr.repository.NodeRef rootNode,
java.lang.String repoPath)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOExceptionorg.xml.sax.SAXExceptionpublic java.lang.String encodeQuotes(java.lang.String text)
throws java.io.IOException,
org.xml.sax.SAXException
text - to encodejava.io.IOExceptionorg.xml.sax.SAXExceptionfor pattern.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 - 2010 Alfresco Software, Inc. All Rights Reserved.