Class VespaXMLDocumentReader

All Implemented Interfaces:
DocumentReader, FieldReader, com.yahoo.vespa.objects.Deserializer

public class VespaXMLDocumentReader extends VespaXMLFieldReader implements DocumentReader
XML parser that reads Vespa documents from an XML stream.
Author:
thomasg
  • Constructor Details

  • Method Details

    • read

      public void read(Document document)
      Reads one document from the stream. Function assumes that the current element in the stream is the start tag for the document.
      Specified by:
      read in interface DocumentReader
      Parameters:
      document - the document to be read