Class VespaXMLDocumentReader

    • Constructor Detail

      • VespaXMLDocumentReader

        public VespaXMLDocumentReader​(XMLStreamReader reader,
                                      DocumentTypeManager docTypeManager)
        Creates a reader that reads using the given reader. This is useful if the document is part of a greater XML stream.
    • Method Detail

      • 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