cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <>
Subject [jira] Updated: (COCOON3-4) Provide an XML generator based on Bean(s)/POJOs
Date Thu, 02 Oct 2008 16:33:44 GMT


Simone Tripodi updated COCOON3-4:

    Attachment: BeanGenerator.patch

The provided patch implements a BeanGenerator, using the commons-betwixt library.
I know that one of the main scopes of cocoon3 pipeline is limiting the dependencies, but the
apache's commons-betwixt already implements a SAX writer that streams xml events to a content
Moreover, as reported on (on the bottom),
"SAXBeanWriter pushes events to a SAX content handler. This allows Betwixt to efficiently
participate as a content generator in SAX-based pipelines such as cocoon"

> Provide an XML generator based on Bean(s)/POJOs
> -----------------------------------------------
>                 Key: COCOON3-4
>                 URL:
>             Project: Cocoon 3
>          Issue Type: Improvement
>          Components: cocoon-pipeline
>    Affects Versions: 3.0.0-alpha-2
>            Reporter: Simone Tripodi
>            Assignee: Cocoon Developers Team
>            Priority: Minor
>             Fix For: 3.0.0-alpha-2
>         Attachments: BeanGenerator.patch
> A Bean(s)/POJO(s) generator is a starter component for the pipeline that streams sax
events, generated reading/intrsopecting the Object input, to an xml consumer.
> It could be useful when Objects are retrieved, i.e. from a persistence engine, and they
have to be streamed in an XML format to implement a Rest API.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message