@Override
    public void endElement(String arg0, String arg1, String arg2)
            throws SAXException {
        if (omitRoot && level == 1) {
            return;
        }
        level--;
        try {
            w.write("contentHandler.endElement(");
            w.write(stringLiteral(arg0));
            w.write(", ");
            w.write(stringLiteral(arg1));
            w.write(", ");
            w.write(stringLiteral(arg2));
            w.write(");\n");
        } catch (IOException e) {
            throw new SAXException(e);
        }
    }
@see org.xml.sax.ContentHandler#endElement(java.lang.String,
     java.lang.String, java.lang.String)
src/nu/validator/xml/SaxCompiler.java