[ http://jira.codehaus.org/browse/JIBX-68?page=all ]
     
Dennis Sosnoski resolved JIBX-68:
---------------------------------

      Assign To: Dennis Sosnoski
     Resolution: Fixed
    Fix Version:     (was: 1.0-RC0)
                 CVS

Resolved issues and added code to build.

> JDOM implementation of IXMLWriter interface
> -------------------------------------------
>
>          Key: JIBX-68
>          URL: http://jira.codehaus.org/browse/JIBX-68
>      Project: JiBX
>         Type: New Feature
>   Components: core
>     Versions: 1.0-RC0
>  Environment: JDOM 1.0
>     Reporter: Andreas Brenk
>     Assignee: Dennis Sosnoski
>     Priority: Minor
>      Fix For: CVS
>  Attachments: JDOMWriter.java
>
>
> I’ve written some JiBX / JDOM integration code (JDOMWriter.java) so that the 
> XML marshalled from Java objects can be accessed as a JDOM Document instead 
> of as a large String. Namespace handling is not yet complete, but it should 
> be usable for most purposes.
> Usage is as follows:
>         IBindingFactory bfact = BindingDirectory.getFactory(root, 
> Example.class);
>         IMarshallingContext mctx = bfact.createMarshallingContext();
>         JDOMWriter jdomWriter = new JDOMWriter();
>       
>         mctx.setXmlWriter(jdomWriter);
>         mctx.startDocument("UTF-8", null);
>         mctx.marshalDocument(example);
>       
>         Document document = jdomWriter.getDocument();

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to