private void updateWiretap() {
        if (contentHandler != null) {
            if (wiretapContentHander != null) {
                wrappedReader.setContentHandler(new CombineContentHandler(
                        wiretapContentHander, contentHandler));
            } else {
                wrappedReader.setContentHandler(contentHandler);
            }
        } else {
            wrappedReader.setContentHandler(wiretapContentHander);
        }

        try {
            if (lexicalHandler != null) {
                if (wiretapLexicalHandler != null) {
                    wrappedReader.setProperty(
                            "http://xml.org/sax/properties/lexical-handler",
                            new CombineLexicalHandler(wiretapLexicalHandler,
                                    lexicalHandler));
                } else {
                    wrappedReader.setProperty(
                            "http://xml.org/sax/properties/lexical-handler",
                            lexicalHandler);
                }
            } else {
                wrappedReader.setProperty(
                        "http://xml.org/sax/properties/lexical-handler",
                        wiretapLexicalHandler);
            }
        } catch (SAXNotRecognizedException | SAXNotSupportedException e) {
        }
    }
@param name
@param value
@throws SAXNotRecognizedException
@throws SAXNotSupportedException
@see org.xml.sax.XMLReader#setProperty(java.lang.String,
     java.lang.Object)
src/nu/validator/xml/WiretapXMLReaderWrapper.java