Package org.dspace.app.iiif.model
Class ObjectMapperFactory
- java.lang.Object
-
- org.dspace.app.iiif.model.ObjectMapperFactory
-
public class ObjectMapperFactory extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.module.SimpleModulegetIiifModule()Gets the jackson SimpleModule with dbmdz configuration.static com.fasterxml.jackson.databind.ObjectMappergetIiifObjectMapper()Gets the jackson ObjectMapper with dbmdz configuration.
-
-
-
Method Detail
-
getIiifObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getIiifObjectMapper()
Gets the jackson ObjectMapper with dbmdz configuration. https://github.com/dbmdz/iiif-apis/blob/main/src/main/java/de/digitalcollections/iiif/model/jackson/IiifObjectMapper.java- Returns:
- jackson mapper
-
getIiifModule
public static com.fasterxml.jackson.databind.module.SimpleModule getIiifModule()
Gets the jackson SimpleModule with dbmdz configuration. https://github.com/dbmdz/iiif-apis/blob/main/src/main/java/de/digitalcollections/iiif/model/jackson/IiifModule.java- Returns:
- model
-
-