Package ninja.utils
Class XmlMapperProvider
- java.lang.Object
-
- ninja.utils.XmlMapperProvider
-
- All Implemented Interfaces:
com.google.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
,jakarta.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
,javax.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
public class XmlMapperProvider extends Object implements com.google.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
This provider makes it simple to configure the XmlMapper in one place for all places where it is used.
-
-
Constructor Summary
Constructors Constructor Description XmlMapperProvider()
-
-
-
Method Detail
-
get
public com.fasterxml.jackson.dataformat.xml.XmlMapper get()
- Specified by:
get
in interfacecom.google.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
- Specified by:
get
in interfacejakarta.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
- Specified by:
get
in interfacejavax.inject.Provider<com.fasterxml.jackson.dataformat.xml.XmlMapper>
-
-