XMLSerializationManager { public static XMLSerializer getSerializer(String format) { return s_serializers.get(format); }  static IXmlDeserializer getDeserializer(String format); static XMLSerializer getSerializer(String format); static boolean isHidden(Method getter); static boolean isXSerializable(Class<?> clazz); static IXmlDeserializer registerDeserializer(String format, IXmlDeserializer deserializer); static XMLSerializer registerSerializer(String format, XMLSerializer serializer); static boolean registerXSerializable(Class<?> clazz);  }
@Test public void test03SpringDeserialize() throws Exception { XmlSerTestPerson person1 = new XmlSerTestPerson("Ricky Ho"); XmlSerTestPerson person2 = new XmlSerTestPerson(); person2.setFullName("Mark Sikes"); XMLSerializer xs = XMLSerializationManager.getSerializer("spring"); String content = ""; content += xs.getXMLStringRepresentation(person1); content += xs.getXMLStringRepresentation(person2); Map<String, Object> result = new SpringBeanDeserializer().deserialize(content); for (Map.Entry<String, Object> entry : result.entrySet()) { System.out.println("Deserialized key = " + entry.getKey()); System.out.println(" Value = " + xs.getXMLStringRepresentation(entry.getValue())); } }