public interface XmlExporter<T extends Entity>
Modifier and Type | Method and Description |
---|---|
void |
export(T item,
OutputStream outputStream,
String langCode)
Export an item as an XML document.
|
Document |
export(T item,
String langCode)
Export an item as an XML document.
|
void export(T item, OutputStream outputStream, String langCode) throws IOException, TransformerException
item
- the itemoutputStream
- the output stream to write to.langCode
- the preferred language code when multiple
descriptions are availableIOException
TransformerException
Document export(T item, String langCode) throws IOException
item
- the itemlangCode
- the preferred language code when multiple
descriptions are availableIOException
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.