[
https://issues.apache.org/jira/browse/COCOON3-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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 handler.
Moreover, as reported on http://commons.apache.org/betwixt/guide/output.html
(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: https://issues.apache.org/jira/browse/COCOON3-4
> 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.