cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Brant" <>
Subject Change request to AbstractXMLProducer.setConsumer
Date Fri, 09 Jan 2004 15:24:24 GMT
Hi all --

The current code to AbstractXMLProducer.setConsumer is shown below.  Note
that the Javadoc does not agree with the actual implementation.  Could it be
changed to do so?  (For my specific case, I override setContentHandler to put a
ContentHandler in between myself and the final destination and with the code
the way it is now, I also have to override setConsumer to provide the
implementation described in the Javadoc).



     * Set the <code>XMLConsumer</code> that will receive XML data.
     * <br>
     * This method will simply call <code>setContentHandler(consumer)</code>
     * and <code>setLexicalHandler(consumer)</code>.
    public void setConsumer(XMLConsumer consumer) {
        this.xmlConsumer = consumer;
        this.contentHandler = consumer;
        this.lexicalHandler = consumer;

+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message