------------------------------------------------------------
revno: 6356
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Thu 2012-03-22 16:14:01 +0100
message:
  minor fix
modified:
  dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java'
--- dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java	2012-03-22 15:11:32 +0000
+++ dhis-2/dhis-dxf2/src/main/java/org/hisp/dhis/dxf2/utils/JacksonUtils.java	2012-03-22 15:14:01 +0000
@@ -98,6 +98,20 @@
     }
 
     //---------------------------------------------------------------------------------------------------
+    // Global pre-configured instances of ObjectMapper and XmlMapper
+    //---------------------------------------------------------------------------------------------------
+
+    public static ObjectMapper getJsonMapper()
+    {
+        return jsonMapper;
+    }
+
+    public static XmlMapper getXmlMapper()
+    {
+        return xmlMapper;
+    }
+
+    //---------------------------------------------------------------------------------------------------
     // JSON
     //---------------------------------------------------------------------------------------------------
 

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to