Interface XMLStreamProcessor

    • Method Detail

      • setBytesTotal

        void setBytesTotal​(long bytesTotal)
        StreamingXMLReader will set the total number of bytes in the file before it begins parsing the file.

        You can use this along with the byte offsets provided in the XMLByteLocation objects to keep track of the parsing progress.

        Parameters:
        bytesTotal - Total bytes in the file being processed