Class ViewParser

  • All Implemented Interfaces:
    Parser

    public class ViewParser
    extends Object
    implements Parser
    Importer for parsing and importing nodes given the Repository View schema.
    Author:
    David Caruana
    • Constructor Detail

      • ViewParser

        public ViewParser()
        Construct
    • Method Detail

      • 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​(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
        Parameters:
        viewReader - Reader
        importer - Importer