@Override
    public void endProcessing() {
        try {
            try {
                if (stagingValueOutputStream != null) {
                    LOGGER.debug("closing stagingValueOutputStream");
                    stagingValueOutputStream.close();
                }
            } finally {
                try {
                    writer.close();
                } finally {
                    super.endProcessing();
                }
            }
        } catch (final IOException e) {
            throw new UncheckedIOException(e);
        }
    }
This XML filter captures XML content that defines key, value maps to be
stored as state data. The key, value map content is likely to have been
produced as the result of an XSL transformation of some reference data.
<p>
This filter will typically fire
stroom-state/stroom-planb-impl/src/main/java/stroom/planb/impl/pipeline/PlanBFilter.java