cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: POST XML to cocoon protocol (with SAXBuffer)
Date Thu, 27 Jan 2005 16:00:56 GMT
Irv Salisbury III wrote:
> Another thing to bounce off the list, hopefully something that I can 
> give back.
> 
> Looking through the code, it seems like writing a 
> RequestAttributeTransformer with the following functionality might be 
> useful (at least to me :-)
> 
> 1. Having the ability to use a org.apache.cocoon.xml.SAXBuffer to record 
> SAX events and put an object of this class in as a named request 
> attribute.

SourceWritingTransformer + XModuleSource should do.


> 2. Having the ability to pull a SAXBuffer out of the request 
> as a named attribute and replay the SAX events.

Include + XModuleSource will do.


> So, is SAXBuffer a good class to use for this, i.e. was it meant to be 
> used for this? Am I missing something obvious?

Please operate in terms of interfaces. Any XMLizable will do. As for 
implementation, SaxBuffer is Ok.

Vadim

Mime
View raw message