public class UnitDipServiceImpl extends Object implements DipService
Constructor and Description |
---|
UnitDipServiceImpl(ArchiveUnitMapper archiveUnitMapper,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
jsonToXml(com.fasterxml.jackson.databind.JsonNode object,
String id)
Transform the representation of an object (unit or objectGroup) to an xml format (DIP)
|
public UnitDipServiceImpl(ArchiveUnitMapper archiveUnitMapper, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public javax.ws.rs.core.Response jsonToXml(com.fasterxml.jackson.databind.JsonNode object, String id)
DipService
jsonToXml
in interface DipService
object
- the given representation of the object as Json (can be unit or objectGroup)id
- The given id of the object to transform can be archiveUnit or objectGroupCopyright © 2018 Vitam. All rights reserved.