public abstract class AbstractStreamingXmlExporter<E extends Entity> extends StreamingXmlDsl implements StreamingXmlExporter<E>, XmlExporter<E>
| Constructor and Description |
|---|
AbstractStreamingXmlExporter() |
| Modifier and Type | Method and Description |
|---|---|
protected List<Object> |
coerceList(Object value) |
void |
export(E unit,
OutputStream outputStream,
String langCode)
Export an item as an XML document.
|
Document |
export(E item,
String langCode)
Export an item as an XML document.
|
protected String |
resourceAsString(String resourceName) |
attribute, attributes, attrs, cData, characters, comment, doc, namespaces, root, tag, tag, tag, tag, tag, tag, tag, tagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexportpublic Document export(E item, String langCode) throws IOException
XmlExporterexport in interface XmlExporter<E extends Entity>item - the itemlangCode - the preferred language code when multiple
descriptions are availableIOExceptionpublic void export(E unit, OutputStream outputStream, String langCode) throws IOException, TransformerException
XmlExporterexport in interface XmlExporter<E extends Entity>unit - the itemoutputStream - the output stream to write to.langCode - the preferred language code when multiple
descriptions are availableIOExceptionTransformerExceptionCopyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.