How can I create a JDOM document from a String? I know you can use an InputStream, File, or URL object to create a JDOM document. The only way I've got so far is to use the StringBufferInputStream which is deprecated. The api suggest using the StringReader object but class extends java.io.Reader not java.io.InputStream.