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. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>