I've started work on a new subproject in the jakarta-commons-sandbox called
betwixt.

Its a small library to implement a simple mapping from Java beans into XML.
It uses a similar architecture to BeanInfo & Introspector from the
java.beans package. e.g. there is an XMLBeanInfo and XMLIntrospector. The
idea being that it should be possible to customize how a particular bean
appears as XML in a similar manner to the customization options with
java.beans.BeanInfo.

Betwixt was inspired by Dmitri's work on JXPath along with discussions on
the Maverick domify list
(http://lists.sourceforge.net/lists/listinfo/mav-domify). Ultimately betwixt
could be used on the Jaxen, dom4j, domify and maybe even JXPath projects. It
should be fairly easy to use betwixt to generate a DOM, SAX events or XML
text for a Java Bean.

Its still work in progress, I just thought I'd let the list know in case
anyone does a cvs update of the sandbox and wonders what betwixt is. Within
the next week or so it should be functional and useful (I hope).

If anyone fancies a surf of whats there right now by all means take a look:-

http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/betwixt/

James




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to