Hi Dennis,

I didn't think we could do it in that way. Great if we can have it 
and I'd love to have it. Please please go ahead ...

On 8/20/05, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
> Eran Chinthaka wrote:
> 
> >...
> >
> >
> >>For other data binding frameworks it's probably best to define a special
> >>type of OMElement to hold on to the object and the corresponding
> >>serializer until the serialize() method of the OMElement is called, then
> >>serialize directly to the supplied target. If we need to instead create
> >>a full OM representation, we can use a builder that implements the
> >>XMLStreamWriter interface and supply this to the binding framework as
> >>the target for the marshalling output.
> >>
> >>
> >
> >Well, I don't think the providing of XMLStreamWriter interface would help
> >for data binding frameworks other than XMLBeans.
> >
> >
> Hi Eran,
> 
> JAXB 2.0 supports marshalling to an XMLStreamWriter instance, and I'm
> intending to add an adapter to support this in JiBX, too. When I said
> that the frameworks are using push-style output, I only meant this in
> terms of the code structure. So they can easily *write* their marshalled
> XML to an XMLStreamWriter, they just can't easily support having their
> marshalled XML pulled out of them with an XMLStreamReader (as XMLBeans can).
> 
> So the only thing needed is an OM builder that can be used as an
> XMLStreamWriter. This should be easy, so if nobody else has one
> available or wants to implement it I can add it in myself.
> 
>   - Dennis
> 
> 


-- 
--------------------------------------------------------
Eran Chinthaka

Reply via email to