Module openj9.dtfj

Class XMLInputStream

  • All Implemented Interfaces:
    ResourceReleaser, Closeable, AutoCloseable

    public class XMLInputStream
    extends InputStream
    implements ResourceReleaser
    CMVC 154851 : class created This is a SAX 'lite' input stream whose primary purpose is to clean up xml being allowing to be read by the SAX parser in DTFJ. It currently performs the following 1. Automatically closes any missing tags which can be as a result of jextract not properly closing tags when invalid data is encountered.
    • Constructor Detail

      • XMLInputStream

        public XMLInputStream​(InputStream in)
        Construct a new XML input stream
        Parameters:
        in - The underlying input stream to wrap