Class ViewParser

java.lang.Object
org.alfresco.repo.importer.view.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 Details

    • ViewParser

      public ViewParser()
      Construct
  • Method Details

    • setNamespaceService

      public void setNamespaceService(NamespaceService namespaceService)
      Parameters:
      namespaceService - the namespace service
    • setNodeService

      public void setNodeService(NodeService nodeService)
      Parameters:
      nodeService - the node service
    • setDictionaryService

      public void setDictionaryService(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