Hi Richard, A DOM-based implementation of IXMLReader/IXMLWriter would definitely be nice to have. You could probably use the DOM marshaller/unmarshaller classes in the org.jibx.extras tree for some ideas on this, but you'd need to turn the code inside out.
If you do get IXMLReader/IXMLWriter implementations, you don't actually need to provide a factory and use the property unless you want it used by default for all JiBX operations - otherwise, you can just create instances directly and set them on the unmarshalling/marshalling contexts. The factory approach is more intended for allowing automatic XPP vs. StAX parser selection. - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Richard Barnett wrote: > > I'm using the Facebook Java API, which returns org.w3c.dom.Documents. > I would like to write a binding between these Documents & Java Beans > for unmarshalling. > > I think I could do this by implementing an IXMLReader and plugging it > in via an IXMLReaderFactory (using the org.jibx.runtime.impl.parser > property). However, the IXMLReaderFactory interface is still quite > InputStream/Reader oriented, and IXMLReader is fairly complex to fit > onto Document. > > Has anyone implemented such unmarshalling in JiBX, either via the > method above or some other method? > > Thanks > > -- Richard > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users