users@jaxb.java.net

Re: equivalent of XMLBeans XMLObject interface

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Tue, 25 Oct 2005 15:26:29 +0200

Hi.

> newDomNode() - to get an instance of the XML as a DOM
> newInputStream() - to get it as a stream
> xmlText() - to get it as a String
> save(ContentHandler ch, LexicalHandler hl) - to run the instance through
> SAX handlers

All of these methods are quite trivial to implement with the standard
JAXB API. Just write an own utility class, it's max 50 lines.

Bye.
/lexi