org.alfresco.repo.importer.view
Class ViewParser
java.lang.Object
org.alfresco.repo.importer.view.ViewParser
- All Implemented Interfaces:
- Parser
public class ViewParser
- extends java.lang.Object
- implements Parser
Importer for parsing and importing nodes given the Repository View schema.
Method Summary |
void |
parse(java.io.Reader viewReader,
Importer importer)
Parse nodes from specified input stream and import via the provided importer |
void |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
|
void |
setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewParser
public ViewParser()
- Construct
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
- Parameters:
namespaceService
- the namespace service
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Parameters:
nodeService
- the node service
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
- Parameters:
dictionaryService
- the dictionary service
parse
public void parse(java.io.Reader viewReader,
Importer importer)
- Description copied from interface:
Parser
- Parse nodes from specified input stream and import via the provided importer
- Specified by:
parse
in interface Parser
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.