[jdom-interest] How to create a JDOM document from a String

jmt jmt at dxdydz.net
Tue Jul 4 06:25:02 PDT 2006


On Tuesday 04 July 2006 13:53, Søren Faltz wrote:
> I have a string that i got from a JMS queue.
>
> How do i convert this String into a JDOM document???
>
> thanx guys :)
> Søren

use a SAXBuilder :

SAXBuilder sb=new SAXBuilder();

Document doc=sb.build(string);

hth



More information about the jdom-interest mailing list