@Override
    public void endDocument() throws SAXException {
        if (contentHandler == null) {
            return;
        }
        if (currentOutlinee != null) {
            if (isHeadingOutline) {
                request.setAttribute(
                        "http://validator.nu/properties/heading-outline",
                        currentOutlinee.outline);
            } else {
                request.setAttribute(
                        "http://validator.nu/properties/document-outline",
                        currentOutlinee.outline);
            }
            setOutline(currentOutlinee.outline);
        }
        contentHandler.endDocument();
    }
@ Override public void endDocument ( ) throws SAXException { if ( contentHandler == null ) { return ; } if ( currentOutlinee != null ) { if ( isHeadingOutline ) { request . setAttribute ( "http://validator.nu/properties/heading-outline" , currentOutlinee . outline ) ; } else { request . setAttribute ( "http://validator.nu/properties/document-outline" , currentOutlinee . outline ) ; } setOutline ( currentOutlinee . outline ) ; } contentHandler . endDocument ( ) ; }
@throws SAXException
@see org.xml.sax.ContentHandler#endDocument()