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.
|
read
public SingleXMlDocumentReader(String data) throws org.dom4j.DocumentException
org.dom4j.DocumentException
public ExportedDocument read() throws IOException
DocumentReader
read
in interface DocumentReader
read
in class AbstractDocumentReader
IOException
public void close()
DocumentReader
Copyright © 2014 Nuxeo SA. All Rights Reserved.