public class SingleXMlDocumentReader extends AbstractDocumentReader
DocumentModelReader that reads the DocumentModel from a String.| Constructor and Description |
|---|
SingleXMlDocumentReader(String data) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the reader.
|
ExportedDocument |
read()
Reads a single document.
|
readpublic SingleXMlDocumentReader(String data) throws org.dom4j.DocumentException
org.dom4j.DocumentExceptionpublic ExportedDocument read() throws IOException
DocumentReaderread in interface DocumentReaderread in class AbstractDocumentReaderIOExceptionpublic void close()
DocumentReaderCopyright © 2011 Nuxeo SA. All Rights Reserved.