[ http://jira.codehaus.org/browse/JIBX-68?page=all ] Dennis Sosnoski closed JIBX-68: -------------------------------
> 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: 1.0-RC1 > Attachments: JDOMWriter.java > > > Ive 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 the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ jibx-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-devs
