public class SingleXMlDocumentReader extends AbstractDocumentReader
DocumentModelReader
that reads the DocumentModel
from a String.Modifier and Type | Field and Description |
---|---|
protected org.dom4j.Document |
xmldoc |
Constructor and Description |
---|
SingleXMlDocumentReader(String data) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the reader.
|
ExportedDocument |
read()
Reads a single document.
|
read
protected org.dom4j.Document xmldoc
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 © 2015 Nuxeo SA. All rights reserved.