Re: adapter to DocumentHandler -> ContentHandler

2002-06-26 Thread giacomo

On Wed, 26 Jun 2002, Argyn Kuketayev wrote:

> I want to write a serializer for one 3rd party component. It uses old SAX
> parser. I wanted to subclass AbstractXMLPipe, but it wants ContentHandler,
> while I can get only DocumentHandler.
>
> The question is: does anybody know about wrapper/adapter for DocumentHandler
> to make it look like a ContentHandler?

Have a look at org.apache.cocoon.xml.DocumentHandlerAdapter.

Giacomo


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




adapter to DocumentHandler -> ContentHandler

2002-06-26 Thread Argyn Kuketayev

I want to write a serializer for one 3rd party component. It uses old SAX
parser. I wanted to subclass AbstractXMLPipe, but it wants ContentHandler,
while I can get only DocumentHandler.

The question is: does anybody know about wrapper/adapter for DocumentHandler
to make it look like a ContentHandler?

thanks,
Argyn

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>