cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: serializing inside a transformer
Date Tue, 21 Jan 2003 00:07:11 GMT
On Mon, Jan 20, 2003 at 07:52:24PM +0100, Oskar Casquero wrote:
> I agree with you. I thought that using a serializer would be useful to get
> an input source for the parser. But now I see that it would be much better
> to use JARV to develop the transformer based only in SAX events (use 4_2 of
> JARV), as you suggested.
> 
> I have another question, which is the same I did before: how do I set the
> VerifierHandler of JARV in order to send to it the SAX events the
> transformer is receiving from the previous component? With
> super.setContentHandler(verifierHandler), perhaps?
> 
> public class ValidationTransformer extends AbstractSAXTransformer {
>     ...
>     super.setContentHandler(verifierHandler);
>     ...
> }

Yes I think so.  As an example of this, have a look at how
AbstractSAXTransformer handles 'recorders'.

--Jeff


> Thank you
> Oskar

---------------------------------------------------------------------
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message