Interface StreamWriterMountPointExtension

    • Method Detail

      • startMountPoint

        NormalizedNodeStreamWriter startMountPoint​(MountPointIdentifier mountId,
                                                   MountPointContext mountCtx)
                                            throws IOException
        Start a new mount point with a specific mount point context. The returned writer will be used to emit the content of the mount point, without touching the writer to which this extension is attached to. Once that is done, the returned writer will be NormalizedNodeStreamWriter.close()d, at which point the parent writer will be used again to emit the rest of the tree.
        Parameters:
        mountId - Mount point identifier
        mountCtx - Mount point context
        Returns:
        A new NormalizedNodeStreamWriter
        Throws:
        IOException - if an error occurs