users@jaxb.java.net

Re: Does JAXB supports dom4j DOM binding

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Mon, 29 Sep 2008 17:45:26 +0200

Hi.


> i want to know if binding
> <jaxb:dom/>
> can be customized to produce dom4j Document?
>
> or org W3C Document is only one way?

As far as I know, dom4j was supported in JAXB 1.x. Try the <xjc:dom
type="dom4j"/> vendor extension.

As for JAXB 2.x, I've just check the source code - it does not seem to
contain any dom4j specific extensions. The type attribute is commented
out in the xjc:dom extension element. So I'd say it's likely that
direct Dom4j bindings are not supported.
However it can be that there's some other way to integrate JAXB 2.x with Dom4j.

Bye.
/lexi