@Override
    public void endDocument() throws SAXException {
        super.endDocument();
        writeln(END_DOCUMENT);
    }
@throws org.xml.sax.SAXException any SAX exception, possibly wrapping another exception
@see #startDocument
stroom-pipeline/src/main/java/stroom/pipeline/filter/TestSAXEventFilter.java